I got Error when i use ./certbot-auto renew


#1

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

I ran this command:
./certbot-auto renew
It produced this output:
[root@localhost letsencrypt]# ./certbot-auto renew
Bootstrapping dependencies for RedHat-based OSes… (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
yum is hashed (/usr/bin/yum)
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: centos-distro.cavecreek.net
  • epel: sjc.edge.kernel.org
  • extras: mirror.sjc02.svwh.net
  • updates: mirror.sjc02.svwh.net
    Package gcc-4.8.5-28.el7_5.1.x86_64 already installed and latest version
    Package augeas-libs-1.4.0-5.el7_5.1.x86_64 already installed and latest version
    Package 1:openssl-1.0.2k-12.el7.x86_64 already installed and latest version
    Package 1:openssl-devel-1.0.2k-12.el7.x86_64 already installed and latest version
    Package libffi-devel-3.0.13-18.el7.x86_64 already installed and latest version
    Package redhat-rpm-config-9.1.0-80.el7.centos.noarch already installed and latest version
    Package ca-certificates-2018.2.22-70.0.el7_5.noarch already installed and latest version
    Package python-devel-2.7.5-69.el7_5.x86_64 already installed and latest version
    Package python-virtualenv-15.1.0-2.el7.noarch already installed and latest version
    Package python-tools-2.7.5-69.el7_5.x86_64 already installed and latest version
    Package python2-pip-8.1.2-6.el7.noarch already installed and latest version
    Nothing to do
    Creating virtual environment…
    Traceback (most recent call last):
    File “/usr/lib/python2.7/site-packages/virtualenv.py”, line 2327, in
    main()
    File “/usr/lib/python2.7/site-packages/virtualenv.py”, line 712, in main
    symlink=options.symlink)
    File “/usr/lib/python2.7/site-packages/virtualenv.py”, line 944, in create_environment
    download=download,
    File “/usr/lib/python2.7/site-packages/virtualenv.py”, line 900, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
    File “/usr/lib/python2.7/site-packages/virtualenv.py”, line 796, in call_subprocess
    % (cmd_desc, proc.returncode))
    OSError: Command /opt/eff.org/certbot/venv/bin/python2.7 - setuptools pip wheel failed with error code 1

My web server is (include version):
nginx version: nginx/1.12.2
The operating system my web server runs on is (include version):
cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)


#2

Hi,

Just wondering… What would happen if you use the --no-bootstrap flag?

Thank you


#3

I tryed it before,the same error,Just ignore to check the python installer

[root@localhost letsencrypt]# ./certbot-auto renew --no-bootstrap
Creating virtual environment…
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/virtualenv.py”, line 2327, in
main()
File “/usr/lib/python2.7/site-packages/virtualenv.py”, line 712, in main
symlink=options.symlink)
File “/usr/lib/python2.7/site-packages/virtualenv.py”, line 944, in create_environment
download=download,
File “/usr/lib/python2.7/site-packages/virtualenv.py”, line 900, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File “/usr/lib/python2.7/site-packages/virtualenv.py”, line 796, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /opt/eff.org/certbot/venv/bin/python2.7 - setuptools pip wheel failed with error code 1


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.