0

any input?

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.
3
  • root@prome-mdt-dhcp412:/lib/x86_64-linux-gnu# ldd /usr/bin/openssl libssl.so.1.0.0 => /usr/local/staf/lib/libssl.so.1.0.0 (0x00007f8df5add000) libcrypto.so.1.0.0 => /usr/local/staf/lib/libcrypto.so.1.0.0 (0x00007f8df5721000)
    – davide
    Jan 25, 2019 at 19:19
  • How did you install apache?
    – vidarlo
    Jan 25, 2019 at 19:34
  • Why are you using root account? Which version of Ubuntu are you using?
    – Kulfy
    Jan 25, 2019 at 20:17

1 Answer 1

1

You should not have such essential system libraries in /usr/local/. Remove them and consider to reinstall them from their package:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .