无法重新启动 apache2

无法重新启动 apache2

有什么意见吗?

root@prome-mdt-dhcp412:/lib/x86_64-linux-gnu# service apache2 restart
 * Restarting web server apache2                                                                                                                           [fail]
 * The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/ssl.load: Cannot load /usr/lib/apache2/modules/mod_ssl.so into server: /usr/lib/apache2/modules/mod_ssl.so: symbol PEM_read_bio_ECPKParameters, version OPENSSL_1.0.0 not defined in file libcrypto.so.1.0.0 with link time reference
Action 'configtest' failed.
The Apache error log may have more information.

答案1

你不应该在 中拥有这些必需的系统库/usr/local/。请删除它们并考虑从其包中重新安装它们:

sudo rm /usr/local/staf/lib/libcrypto.so.1.0.0
sudo rm /usr/local/staf/lib/libssl.so.1.0.0
sudo apt-get install --reinstall libssl1.0.0

相关内容