Has anybody else run into this problem?

lamp

Well-Known Member
Dec 22, 2003
111
0
166
Hello,

I was trying to connect to cpanel using https:// but got a connection refused message. This is when I realized that Stunnel might not be running, so I execute the script: /usr/local/cpanel/etc/init/startstunnel ... To my surprise, I got the following error message:

/usr/local/cpanel/3rdparty/bin/stunnel: error while loading shared libraries: libssl.so.0: cannot open shared object file: No such file or directory

I am running a Core 2 system with a fresh cPanel install.

Anyone know how to rectify this problem? Do I have to download and install something from cPanel or is my Core 2 installation messed-up (and if it is how would I go about rectifying it)?

Thanks in advance,
Lamp
 

haze

Well-Known Member
Dec 21, 2001
1,550
3
318
Can you paste the results of running the following from shell:
rpm -qa | grep -i openssh

Also:
locate libssl.so.0
 

lamp

Well-Known Member
Dec 22, 2003
111
0
166
Here you go:

openssh-clients-3.6.1p2-34
openssh-server-3.6.1p2-34
openssh-3.6.1p2-34


Lamp
 

lamp

Well-Known Member
Dec 22, 2003
111
0
166
Sorry... forgot to add:

/lib/libssl.so.0.9.7a
/lib/libssl.so.0.9.6b

Lamp
 

haze

Well-Known Member
Dec 21, 2001
1,550
3
318
Though im not sure whats exactly causing the problem.. im assuming a mix up in the rpm db maybe ignored dependencies, this "should" at least get rid of the problem for the time being by making a simbolic link to the right file:

ln -s /lib/libssl.so.0.9.7a /lib/libssl.so.0

Also.. i asked for openssh above, i meant to ask for openssl, so.. out of curiosity, can you paste the print out of:
rpm -qa | grep -i openssl

Have you used up2date / yum / apt-get to check the rpms on the system and see if any dependencies are not being met ?

As this is a fresh box, you might want to also run:
/scripts/upcp --force

Just to make sure it picks up anything that might have been somehow left off during the initial install.
 

lamp

Well-Known Member
Dec 22, 2003
111
0
166
openssl-0.9.7a-35
openssl096b-0.9.6b-14.1
openssl-devel-0.9.7a-35
pyOpenSSL-0.5.1-21.1


Thanks.

Lamp
 

lamp

Well-Known Member
Dec 22, 2003
111
0
166
haze said:
Though im not sure whats exactly causing the problem.. im assuming a mix up in the rpm db maybe ignored dependencies, this "should" at least get rid of the problem for the time being by making a simbolic link to the right file:

ln -s /lib/libssl.so.0.9.7a /lib/libssl.so.0

Also.. i asked for openssh above, i meant to ask for openssl, so.. out of curiosity, can you paste the print out of:
rpm -qa | grep -i openssl

Have you used up2date / yum / apt-get to check the rpms on the system and see if any dependencies are not being met ?

As this is a fresh box, you might want to also run:
/scripts/upcp --force

Just to make sure it picks up anything that might have been somehow left off during the initial install.

That did not fix the problem. I am still getting the error when trying to start stunnel.

The last three lines of /var/log/stunnel-4.04-build.log -- > maybe someone will recognize the problem?

make[1]: *** [env.lo] Error 127
make[1]: Leaving directory `/usr/local/cpanel/src/3rdparty/gpl/stunnel-4.04/src'
make: *** [all-recursive] Error 1

I also did what you suggested with yum... did yum check-update but nothing came up... did you have a specific yum command in mind?

Your help is REALLY appreciated.

Lamp
 

fusioncroc

Well-Known Member
Sep 28, 2004
261
0
166
U.K.
[email protected] [~]# rpm -qa | grep -i openssh


openssh-server-3.6.1p2-33.30.1
openssh-clients-3.6.1p2-33.30.1
openssh-3.6.1p2-33.30.1


[email protected] [~]# rpm -qa | grep -i openssl

pyOpenSSL-0.5.1-8
openssl096b-0.9.6b-16
openssl-devel-0.9.7a-33.12
openssl-0.9.7a-33.12


how would i install libcrypt
 

lamp

Well-Known Member
Dec 22, 2003
111
0
166
fusioncroc said:
[email protected] [~]# rpm -qa | grep -i openssh


openssh-server-3.6.1p2-33.30.1
openssh-clients-3.6.1p2-33.30.1
openssh-3.6.1p2-33.30.1


[email protected] [~]# rpm -qa | grep -i openssl

pyOpenSSL-0.5.1-8
openssl096b-0.9.6b-16
openssl-devel-0.9.7a-33.12
openssl-0.9.7a-33.12


how would i install libcrypt
Here's what worked for me... you might want to do this:

ln -s /lib/libcrypto.so.0.9.7a /lib/libcrypto.so.0
ln -s /lib/libssl.so.0.9.7a /lib/libssl.so.0

Lamp