The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Has anybody else run into this problem?

Discussion in 'General Discussion' started by lamp, Nov 27, 2004.

  1. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Can you paste the results of running the following from shell:
    rpm -qa | grep -i openssh

    Also:
    locate libssl.so.0
     
  3. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Here you go:

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


    Lamp
     
  4. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Sorry... forgot to add:

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

    Lamp
     
  5. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    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.
     
  6. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  7. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16

    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
     
  8. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    You need to install the libcrypto.so.0.9.7 as well.
     
  9. fusioncroc

    fusioncroc Well-Known Member

    Joined:
    Sep 28, 2004
    Messages:
    261
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    U.K.
    i have the same problem
     
  10. fusioncroc

    fusioncroc Well-Known Member

    Joined:
    Sep 28, 2004
    Messages:
    261
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    U.K.
    root@server1 [~]# 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


    root@server1 [~]# 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
     
  11. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    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
     
Loading...

Share This Page