@inFureal

Из-за чего ошибка при запуске Certbot?

При запуске
# sudo certbot --apache -d <тут мой домен>
Выводится такое сообщение
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for <тут мой домен>
Error while running a2enmod rewrite.

env: error while loading shared libraries: LIBC_2.4: cannot open shared object file: No such file or directory
Could not read /etc/apache2/envvars

Cleaning up challenges
Error while running a2dismod -f rewrite.

env: error while loading shared libraries: LIBC_2.4: cannot open shared object file: No such file or directory
Could not read /etc/apache2/envvars

Unable to run undo command: a2dismod -f rewrite
Error while running a2enmod rewrite.

env: error while loading shared libraries: LIBC_2.4: cannot open shared object file: No such file or directory
Could not read /etc/apache2/envvars

В чем может быть ошибка? Учетка суперадмин, файл /etc/apache2/envvars есть
  • Вопрос задан
  • 167 просмотров
Пригласить эксперта
Ответы на вопрос 2
Zoominger
@Zoominger
System Integrator
Вам же пишут:
env: error while loading shared libraries: LIBC_2.4: cannot open shared object file: No such file or directory
Could not read /etc/apache2/envvars

Убедитесь, что файл есть (возможно, что-то не доустановили).
Ответ написан
certbot certonly --webroot -w /var/www/example -d www.example.com -d example.com

Куда он по вашему должен положить файл для проверки ?
https://certbot.eff.org/docs/using.html
-w - обязательный параметр
Так же чтоб не тратить попытки добавьте ключ
--dry-run
После того как все отладите удалите его.
еще есть
--debug но не проверял всегда хватало иныф и без него ,но он есть.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы