Zend Server installation potentially kills your SSH

Zend Server installation on your server can potentially kill your server, as in you cannot SSH into it anymore. SSH gets suicidal:

Aug 31 11:12:54 xxx kernel: sshd[4246]: segfault at 7fff237db000 ip 7f871b7bfc84 sp 7fff237d93d0 error 6 in sshd[7f871b77a000+61000]

SSH’ing to localhost from a local console can give more information:

ssh: /usr/local/zend/lib/libcrypto.so.0.9.8: no version information available (required by ssh)
ssh_exchange_identification: Connection closed by remote host

You don’t see the error reason above unless you have a local console available. So, when realizing what has happened might make you panic for few seconds.

However after getting into a local console you can cure Zend with fire:

cd /usr/local/
rm -rf zend

Then kill all processes related to zend

 ps -ef | grep zend | awk '{ print $2 }' | xargs kill

Restart SSH to make it load a working libcrypto from /usr/lib

/etc/init.d/ssh restart

… and never look back to Zend Server.

“Tested” on Ubuntu 8.04 Linux.

\"\" Subscribe to RSS feed Follow me on Twitter Follow me on Facebook Follow me Google+

5 thoughts on “Zend Server installation potentially kills your SSH

  1. Hi,

    I work for Zend and we do all our testing over ssh so if installing Zend Server killed ssh we’d notice it almost immediately. So we don’t think this is a generic problem but rather a problem related to something specific on your system or the installation you did. We would be glad to investigate it further if you like. We’d need to know what installation you did (was it Zend Server or Server CE. Did you use deb repos or the install script or the tarball, etc).

    Let us know if you want to look into this further.

  2. Hi Mikko,

    1. Could you specify when version of ZendServer did you install (e.g 5.5.0 beta, 5.1.0 or earlier) ?
    2. Did you install from our deb repository or used our tarball installation ?
    3. Is the system 32 or 64bit ?

    The packages in our deb repository are built to be integrated as possible with the distribution libraries, which means we don’t bring our own libcrypto but use the system’s one (from /usr/lib or /usr/lib64).

    Lior

    p.s.
    Stopping zend server can be done with “/usr/local/zend/bin/zendctl.sh stop”

  3. Hi Lior,
    I contacted Kent Mitchell regarding further information about the issue.
    I can forward the email for you if needed.

  4. The installation method in the question is tarball – I don’t know is distribution package deployment installs their own system libraries.

Leave a Reply

Your email address will not be published. Required fields are marked *