ISPConfig 3.1.6 custom PHP's are not working (libcrypto.so.1.0.2)

Discussion in 'ISPConfig 3 Priority Support' started by faberchr, Jul 21, 2017.

  1. faberchr

    faberchr New Member HowtoForge Supporter

    Hello,
    today i updated ISPConfig via ispconfig_update.sh. Everything went ok as usual but all of my domains stopped working. The very first step I did to analyze this was calling PHP directly.

    All domains were set to use PHP as FAST-CGI.

    Code:
    root@XXXXX:/usr# /opt/php-7.1/bin/php-cgi
    /opt/php-7.1/bin/php-cgi: error while loading shared libraries: libcrypto.so.1.0.2: cannot open shared object file: No such file or directory
    
    Now, i fix this error by switching to default PHP which is 5.6.31-1~ubuntu16.04.1+deb.sury.org+1 but I'd like to use again custom PHP's.

    root@XXXXX:/usr# apachectl -V
    AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:72
    Server version: Apache/2.4.18 (Ubuntu)
    Server built: 2017-06-26T11:58:04
    Server's Module Magic Number: 20120211:52
    Server loaded: APR 1.5.2, APR-UTIL 1.5.4
    Compiled using: APR 1.5.2, APR-UTIL 1.5.4
    Architecture: 64-bit
    Server MPM: prefork
    threaded: no
    forked: yes (variable process count)
    Server compiled with....
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D DYNAMIC_MODULE_LIMIT=256
    -D HTTPD_ROOT="/etc/apache2"
    -D SUEXEC_BIN="/usr/lib/apache2/suexec"
    -D DEFAULT_PIDLOG="/var/run/apache2.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="mime.types"
    -D SERVER_CONFIG_FILE="apache2.conf"

    root@XXXXX:/usr# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 16.04.2 LTS
    Release: 16.04
    Codename: xenial
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This can not be caused by the ISPConfig update. I guess you did some OS updates as well, maybe some time ago and apache was not restarted since then. So you just notice the issue now after ISPConfig restarted apache.

    I guess the Linux system update removd the library mentioned in the error. You might have to compile a new custom PHP version with the current system libraries.
     
  3. faberchr

    faberchr New Member HowtoForge Supporter

    Thanks for your reply. I'll recompile PHP!
     
  4. faberchr

    faberchr New Member HowtoForge Supporter

    It's working again! Thank you again.

    Anyway, a warning was raised when making PHP 7.1.7.
    Code:
    /usr/bin/ld: warning: libssl.so.1.0.0, needed by /usr/lib/x86_64-linux-gnu/libpq.so, may conflict with libssl.so.1.1
    /usr/bin/ld: warning: libcrypto.so.1.0.0, needed by /usr/lib/x86_64-linux-gnu/libpq.so, may conflict with libcrypto.so.1.1
    
    But seems that everything goes as usual.
     

Share This Page