1752722 Members
7407 Online
108789 Solutions
New Discussion юеВ

Re: ssh error

 
SOLVED
Go to solution
yash123
Regular Advisor

ssh error

Hi All,

ssh login is not allowing on one machine.
getting following error
/usr/lib/hpux32/dld.so: Unable to find library 'libcrypto.so.0'

kindly help

Regards
Yash
35 REPLIES 35
Ganesan R
Honored Contributor

Re: ssh error

Hi,

Are you using openssh?
Best wishes,

Ganesh.
yash123
Regular Advisor

Re: ssh error

# swlist | grep -i SecureShell
SecureShell A.05.10.008 HP-UX Secure Shell

when I login to console i got the follwing mesaage

- - - - - - - - - - Prior Console Output - - - - - - - - - -

INIT: Command is respawning too rapidly.
Will try again in 5 minutes.
Check for possible errors.
id:cim1 "/opt/wbem/lbin/cimserverd"

INIT: Command is respawning too rapidly.
Will try again in 5 minutes.
Check for possible errors.
id:cim1 "/opt/wbem/lbin/cimserverd"

- - - - - - - - - - - - Live Con
yash123
Regular Advisor

Re: ssh error

when try to start ssh
# /opt/ssh/sbin/sshd
/usr/lib/hpux64/dld.so: Unable to find library 'libcrypto.so.0'.
Killed
T G Manikandan
Honored Contributor

Re: ssh error

openssh depends on openssl and this library comes along with openssl.

Please also install openssl.
T G Manikandan
Honored Contributor

Re: ssh error

Ganesan R
Honored Contributor
Solution

Re: ssh error

Hi,

I don't find this library file on our servers where HP secure shell is running.

If you unable to find the library file, better you to reinstall the HP ported Secure shell by downloading from the link provided above.
Best wishes,

Ganesh.
Ganesan R
Honored Contributor

Re: ssh error

Hi Yash,

Check this thread. Someone mention this.

>>>if you have /usr/lib/libssl.so.0.9.6 on your system just create a symbolic link to it (as root):

ln -s /usr/lib/libssl.so.0.9.6 /usr/lib/libssl.so.2

do the same for libcrypto if required:

ln -s /usr/lib/libcrypto.so.0.9.6 /usr/lib/libcrypto.so.2

worked fine for me, nessus runs. <<<<


http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1237207044703+28353475&threadId=136408


Best wishes,

Ganesh.
Matti_Kurkela
Honored Contributor

Re: ssh error

First, the "INIT: Command is respawning too rapidly" messages are related to cimserverd process, not sshd.

Cimserverd has some known bugs, are you up to date with patches?

What is your HP-UX machine model? (In other words, what does the "model" command say?)

By the version number of the SecureShell package, I can tell you are probably running HP-UX 11.31.

If you are running some other version of HP-UX, someone might have force installed a wrong version of the HP SSH package. A package intended for older versions of HP-UX might work in a newer version, but not vice versa. If you are unsure, please run "uname -a" to verify the HP-UX version.

To see where the system expects to find the libcrypto.so.0 file, run "ldd /opt/ssh/sbin/sshd". It will list all the libraries sshd is going to use, and the paths it uses to find them.

MK
MK
yash123
Regular Advisor

Re: ssh error

Hi,
# ldd /opt/ssh/sbin/sshd
libpam.so.1 => /usr/lib/hpux64/libpam.so.1
libdl.so.1 => /usr/lib/hpux64/libdl.so.1
Unable to find library 'libcrypto.so.0'.

I have tired to reinstall
SecureShell_A.05.10.008_HP-UX_B.11.31_IA_PA.depot
But still same issue
# which ssh
/usr/bin/ssh
# ssh
/usr/lib/hpux32/dld.so: Unable to find library 'libcrypto.so.0'.
Killed
#

regards
Yash