Назад | Перейти на главную страницу

apachectl configtest «Функция не реализована» и сбой автоматического обновления Let's Encrypt

Один из моих серверов CentOS 7 не может работать certbot-auto renew из-за ошибки при запуске apachectl configtest. Вот его результат:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/domain.example.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Non-interactive renewal: random delay of 21 seconds
Error while running apachectl configtest.

[Fri Feb 01 18:50:51.124734 2019] [:crit] [pid 15667] (38)Function not implemented: AH00141: Could not initialize random number generator

Could not choose appropriate plugin: The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError('Error while running apachectl configtest.\n\n[Fri Feb 01 18:50:51.124734 2019] [:crit] [pid 15667] (38)Function not implemented: AH00141: Could not initialize random number generator\n',)
Attempting to renew cert (domain.example.com) from /etc/letsencrypt/renewal/domain.example.com.conf produced an unexpected error: The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError('Error while running apachectl configtest.\n\n[Fri Feb 01 18:50:51.124734 2019] [:crit] [pid 15667] (38)Function not implemented: AH00141: Could not initialize random number generator\n',). Skipping.

Как говорится, конфигурация apachectl дает следующую ошибку.

[Sat Feb 02 04:12:38.169629 2019] [:crit] [pid 21166] (38)Function not implemented: AH00141: Could not initialize random number generator

Я использую httpd (Apache) 2.4.37, установленный из yum. Он работает нормально, но я боюсь, что после остановки он может не запуститься снова из-за этого.

Я подтвердил / dev / случайный и / dev / urandom существует. Я искал решения в Google, но эта проблема кажется необычной. Любые идеи?