我通过apt to 1.1.0f在ubuntu服务器(14.04 LTS)上进行了OpenSSL升级。 升级完成后,我尝试(重新)启动apache2。 然后这出现:
* Starting Apache httpd web server apache2 * * The apache2 configtest failed. Output of config test was: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 3 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 X509_getm_notAfter, version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with link time reference Action 'configtest' failed. The Apache error log may have more information.
但是,从OpenSSL升级之后,error.log是空的。
什么是导致错误,我该如何解决?
在不更新Apache的情况下更新OpenSSL存在一个老问题 。 您应该在OpenSSL更新后更新您的Apache2。