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.

error while loading shared libraries: libssl.so.0.9.7

Discussion in 'General Discussion' started by fdnet1, Aug 20, 2005.

  1. fdnet1

    fdnet1 Registered

    Joined:
    Aug 20, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi can anyone help me with getting the ssl working!! This is the error message I get when loading cpanel

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


    Thanks
     
  2. fdnet1

    fdnet1 Registered

    Joined:
    Aug 20, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    i got that sorted!

    now i just need to find out how to open the ports now on the firewall :-(
     
  3. shashank

    shashank Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    159
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    just try a search for "firewall" . You will get a lot of info on your ports issue
     
  4. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India

    Hello,

    May be you are missing the soft link. Try the following
    ----------------------------------------------------
    cd /usr/lib
    ln -s libssl.so.0 libssl.so.4
    ln -s libcrypto.so.0 libcrypto.so.4
    ln -s libcrypto.so.0.9.7a* /lib/libcrypto.so.4
    ln -s libssl.so.0.9.7a* /lib/libssl.so.4
    ----------------------------------------------------

    It will help you to solve this issue ;)
     
    #4 bijo, Aug 20, 2005
    Last edited: Aug 20, 2005
  5. dinfiesta

    dinfiesta Well-Known Member

    Joined:
    May 2, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    [root@fedora01 cpins]# cd /usr/lib
    [root@fedora01 lib]# ln -s libssl.so.0 libssl.so.4
    ln: `libssl.so.4': File exists
    [root@fedora01 lib]# ln -s libcrypto.so.0 libcrypto.so.4
    ln: `libcrypto.so.4': File exists
    [root@fedora01 lib]# ln -s libcrypto.so.0.9.7a* /lib/libcrypto.so.4
    ln: `/lib/libcrypto.so.4': File exists
    [root@fedora01 lib]# ln -s libssl.so.0.9.7a* /lib/libssl.so.4
    ln: `/lib/libssl.so.4': File exists
    [root@fedora01 lib]#

    I got...so it´s the firewall problem?
     
  6. MiNDRiVE

    MiNDRiVE Registered

    Joined:
    May 15, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indianapolis Indiana
    stunnel problems

    /usr/local/cpanel/3rdparty/bin/stunnel: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: Error 40

    same problem here libs are there and so are the links im at a loss
     
  7. avijit

    avijit Well-Known Member

    Joined:
    Jul 26, 2004
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    If you have installed APF , you can open the ports in the /etc/apf/conf.apf

    Try:
    /etc/init.d/cpanel restart
    /usr/local/cpanel/startstunnel

    If you still get the errors:

    cd /usr/local/cpanel/src/3rdparty/perl/Net_SSLeay.pm-1.25
    perl Makefile.PL
    make
    make install
    /etc/init.d/cpanel restart

    This may help if you're on release or stable build.
     
  8. MiNDRiVE

    MiNDRiVE Registered

    Joined:
    May 15, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indianapolis Indiana
    fixed it but it didnt have anything to do with my firewall =) thanks anyways :)
     
  9. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    849
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    This worked for me:

    apf -f
    iptables --flush

    Forced reinstall of stunnel via WHM @ Port 2086

    /scripts/upcp --force

    /etc/rc.d/init.d/cpanel restart
     
  10. Solokron

    Solokron Well-Known Member

    Joined:
    Aug 8, 2003
    Messages:
    849
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle
    cPanel Access Level:
    DataCenter Provider
    cd /lib
    ln -s libssl.so.0.9.7a libssl.so.0.9.7
    ln -s libcrypto.so.0.9.7a libcrypto.so.0.9.7
    /usr/local/cpanel/startstunnel
     
Loading...

Share This Page