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.

Server SSL

Discussion in 'General Discussion' started by enoxium, Sep 12, 2006.

  1. enoxium

    enoxium Registered

    Joined:
    Feb 13, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    How can the default server SSL be forced to change? we have 1 server that will not change the default server SSL and have tried everything.
     
  2. kship

    kship Member

    Joined:
    Oct 29, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    HUNTSVILLE, TEXAS
    having same problem here
     
  3. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    the answer below is asuming that you have allready changed the cert in WHM

    ps aux |grep stunnel

    kill <stunnel pid> the pid you found in command above


    service cpanel restart
     
  4. Regulator

    Regulator Member

    Joined:
    Sep 9, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    and what if your command line looks like this?:
    root 29771 0.0 0.1 4360 644 pts/2 R+ 19:24 0:00 grep stunnel
     
  5. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    then stunnel is not running just restart cpanel
     
  6. freedman

    freedman Well-Known Member

    Joined:
    Feb 13, 2005
    Messages:
    312
    Likes Received:
    1
    Trophy Points:
    18
    after upgrading from FC4 to FC5, stunnel was linking to the old version of libssl.
    upcp --force didn't seem to fix the problem so I did this:

    cd /usr/local/cpanel/src/3rdparty/gpl/
    tar xzf stunnel-4.15.tar.gz
    cd stunnel-4.15
    ./configure
    make
    cp -p src/stunnel /usr/bin/stunnel-4.15local


    DO NOT DO A "make install"

    if the cp command gives you an error, kill the stunnel-4.15local process if it's running.
     
  7. Regulator

    Regulator Member

    Joined:
    Sep 9, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I have restarted cpanel, but still getting the same except for the time.... Any other clues?
     
  8. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    then you have a problem with your stunnel install

    run

    /usr/local/cpanel/startstunnel
     
  9. Regulator

    Regulator Member

    Joined:
    Sep 9, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    root@riptorn [~]# /usr/local/cpanel/startstunnel
    root@riptorn [~]#

    Ok, what now?
     
  10. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    that should have started stunnel manually

    ps aux |grep stunnel

    to see if its running

    tail your /var/log/messages when restarting stunnel for errors
     
  11. Regulator

    Regulator Member

    Joined:
    Sep 9, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    root@riptorn [~]# ps aux |grep stunnel
    root 15826 0.0 0.1 4328 644 pts/1 R+ 23:44 0:00 grep stunnel
    root@riptorn [~]#

    Even restarted cpanel again, still messing with me.....
     
  12. Regulator

    Regulator Member

    Joined:
    Sep 9, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    root@riptorn [/var/log]# tail -100 messages
    Sep 24 23:21:12 riptorn cpanel: startstunnel startup failed
    Sep 24 23:22:11 riptorn pure-ftpd: (?@66.245.177.179) [INFO] New connection from 66.245.177.179
    Sep 24 23:22:12 riptorn pure-ftpd: (?@66.245.177.179) [WARNING] Authentication failed for user [webtrends]
    Sep 24 23:22:17 riptorn pure-ftpd: (?@66.245.177.179) [INFO] Logout.
    Sep 24 23:23:21 riptorn stopcpsrvd: Waiting for cpsrvd to shutdown......Done
    Sep 24 23:23:21 riptorn stopcpsrvd: Waiting for cpsrvd-ssl to shutdown...
    Sep 24 23:23:21 riptorn stopcpsrvd: .
    Sep 24 23:23:21 riptorn stopcpsrvd: ..Done
    Sep 24 23:23:21 riptorn cpanel: Stopping cPanel services: succeeded
    Sep 24 23:23:22 riptorn stopcppop: Waiting for cppop to shutdown...
    Sep 24 23:23:22 riptorn stopcppop: .
    Sep 24 23:23:22 riptorn stopcppop: ..Done
    Sep 24 23:23:22 riptorn stopcppop: Waiting for cppop-ssl to shutdown...
    Sep 24 23:23:22 riptorn stopcppop: .
    Sep 24 23:23:22 riptorn stopcppop: ..Done
    Sep 24 23:23:22 riptorn cpanel: Stopping pop3 services: succeeded
    Sep 24 23:23:22 riptorn cpanel: cpanellogd shutdown succeeded
    Sep 24 23:23:22 riptorn cpanel: entropychat shutdown succeeded
    Sep 24 23:23:22 riptorn cpanel: melange shutdown succeeded
    Sep 24 23:23:22 riptorn cpanel: interchange shutdown failed
    Sep 24 23:23:22 riptorn cpanel: Stopping cPanel ssl services: succeeded
    Sep 24 23:23:23 riptorn starteximstats: MySQL config file /root/.my.cnf missing
    Sep 24 23:23:23 riptorn cpanel: starteximstats startup succeeded
    Sep 24 23:23:23 riptorn startcpsrvd: Waiting for cpsrvd to shutdown...
    Sep 24 23:23:23 riptorn cpanel: startcpsrvd startup succeeded
    Sep 24 23:23:23 riptorn cpanellogd: ==> cPanel Log Daemon version 22.2
    Sep 24 23:23:23 riptorn cpanellogd: ==> Shared RRDTOOL support enabled
    Sep 24 23:23:23 riptorn cpanel: cpanellogd startup succeeded
    Sep 24 23:23:23 riptorn startcppop: Waiting for cppop to shutdown....
    Sep 24 23:23:23 riptorn startcppop: ..Done
    Sep 24 23:23:24 riptorn startcppop: Waiting for cppop-ssl to shutdown...
    Sep 24 23:23:24 riptorn startcppop: .
    Sep 24 23:23:24 riptorn startcppop: ..Done
    Sep 24 23:23:24 riptorn cpanel: startcppop startup succeeded
    Sep 24 23:23:24 riptorn entropychat: Listening on port 2084...
    Sep 24 23:23:24 riptorn cpanel: entropychat startup succeeded
    Sep 24 23:23:24 riptorn cpanel: startmelange startup succeeded
    Sep 24 23:23:25 riptorn stunnel: LOG5[13951:3086096064]: stunnel 4.15 on i686-pc-linux-gnu with OpenSSL 0.9.7a Feb 19 2003
    Sep 24 23:23:25 riptorn stunnel: LOG5[13951:3086096064]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv4 Auth:LIBWRAP
    Sep 24 23:23:25 riptorn stunnel: LOG5[13951:3086096064]: 500 clients allowed
    Sep 24 23:23:25 riptorn stunnel: LOG3[13951:3086096064]: Error binding pop3s to 0.0.0.0:995
    Sep 24 23:23:25 riptorn stunnel: LOG3[13951:3086096064]: bind: Address already in use (98)
    Sep 24 23:23:25 riptorn cpanel: startstunnel startup failed
    Sep 24 23:26:29 riptorn pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
    Sep 24 23:26:29 riptorn pure-ftpd: (?@127.0.0.1) [INFO] Logout.
    Sep 24 23:34:51 riptorn pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
    Sep 24 23:34:51 riptorn pure-ftpd: (?@127.0.0.1) [INFO] Logout.
    Sep 24 23:37:45 riptorn stunnel: LOG5[15200:3086919360]: stunnel 4.15 on i686-pc-linux-gnu with OpenSSL 0.9.7a Feb 19 2003
    Sep 24 23:37:45 riptorn stunnel: LOG5[15200:3086919360]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv4 Auth:LIBWRAP
    Sep 24 23:37:45 riptorn stunnel: LOG5[15200:3086919360]: 500 clients allowed
    Sep 24 23:37:45 riptorn stunnel: LOG3[15200:3086919360]: Error binding pop3s to 0.0.0.0:995
    Sep 24 23:37:45 riptorn stunnel: LOG3[15200:3086919360]: bind: Address already in use (98)
    Sep 24 23:40:19 riptorn stopcpsrvd: Waiting for cpsrvd to shutdown...
    Sep 24 23:40:19 riptorn stopcpsrvd: .
    Sep 24 23:40:19 riptorn stopcpsrvd: ..Done
    Sep 24 23:40:19 riptorn stopcpsrvd: Waiting for cpsrvd-ssl to shutdown...
    Sep 24 23:40:19 riptorn stopcpsrvd: .
    Sep 24 23:40:19 riptorn stopcpsrvd: ..Done
    Sep 24 23:40:19 riptorn cpanel: Stopping cPanel services: succeeded
    Sep 24 23:40:20 riptorn stopcppop: Waiting for cppop to shutdown...
    Sep 24 23:40:20 riptorn stopcppop: .
    Sep 24 23:40:20 riptorn stopcppop: ..Done
    Sep 24 23:40:20 riptorn stopcppop: Waiting for cppop-ssl to shutdown...
    Sep 24 23:40:20 riptorn stopcppop: .
    Sep 24 23:40:20 riptorn stopcppop: ..Done
    Sep 24 23:40:20 riptorn cpanel: Stopping pop3 services: succeeded
    Sep 24 23:40:20 riptorn cpanel: cpanellogd shutdown succeeded
    Sep 24 23:40:20 riptorn cpanel: entropychat shutdown succeeded
    Sep 24 23:40:20 riptorn cpanel: melange shutdown succeeded
    Sep 24 23:40:20 riptorn cpanel: interchange shutdown failed
    Sep 24 23:40:20 riptorn cpanel: Stopping cPanel ssl services: succeeded
    Sep 24 23:40:21 riptorn starteximstats: MySQL config file /root/.my.cnf missing
    Sep 24 23:40:21 riptorn cpanel: starteximstats startup succeeded
    Sep 24 23:40:21 riptorn startcpsrvd: Waiting for cpsrvd to shutdown...
    Sep 24 23:40:21 riptorn cpanel: startcpsrvd startup succeeded
    Sep 24 23:40:21 riptorn cpanellogd: ==> cPanel Log Daemon version 22.2
    Sep 24 23:40:21 riptorn cpanellogd: ==> Shared RRDTOOL support enabled
    Sep 24 23:40:21 riptorn cpanel: cpanellogd startup succeeded
    Sep 24 23:40:21 riptorn startcppop: Waiting for cppop to shutdown...
    Sep 24 23:40:21 riptorn startcppop: .
    Sep 24 23:40:21 riptorn startcppop: ..Done
    Sep 24 23:40:22 riptorn startcppop: Waiting for cppop-ssl to shutdown....
    Sep 24 23:40:22 riptorn startcppop: ..Done
    Sep 24 23:40:22 riptorn cpanel: startcppop startup succeeded
    Sep 24 23:40:22 riptorn entropychat: Listening on port 2084...
    Sep 24 23:40:22 riptorn cpanel: entropychat startup succeeded
    Sep 24 23:40:22 riptorn cpanel: startmelange startup succeeded
    Sep 24 23:40:23 riptorn stunnel: LOG5[15716:3086165696]: stunnel 4.15 on i686-pc-linux-gnu with OpenSSL 0.9.7a Feb 19 2003
    Sep 24 23:40:23 riptorn stunnel: LOG5[15716:3086165696]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv4 Auth:LIBWRAP
    Sep 24 23:40:23 riptorn stunnel: LOG5[15716:3086165696]: 500 clients allowed
    Sep 24 23:40:23 riptorn stunnel: LOG3[15716:3086165696]: Error binding pop3s to 0.0.0.0:995
    Sep 24 23:40:23 riptorn stunnel: LOG3[15716:3086165696]: bind: Address already in use (98)
    Sep 24 23:40:23 riptorn cpanel: startstunnel startup failed
    Sep 24 23:41:04 riptorn stunnel: LOG5[15759:3086321344]: stunnel 4.15 on i686-pc-linux-gnu with OpenSSL 0.9.7a Feb 19 2003
    Sep 24 23:41:04 riptorn stunnel: LOG5[15759:3086321344]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv4 Auth:LIBWRAP
    Sep 24 23:41:04 riptorn stunnel: LOG5[15759:3086321344]: 500 clients allowed
    Sep 24 23:41:04 riptorn stunnel: LOG3[15759:3086321344]: Error binding pop3s to 0.0.0.0:995
    Sep 24 23:41:04 riptorn stunnel: LOG3[15759:3086321344]: bind: Address already in use (98)
    Sep 24 23:43:14 riptorn pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
    Sep 24 23:43:14 riptorn pure-ftpd: (?@127.0.0.1) [INFO] Logout.
    root@riptorn [/var/log]#
     
  13. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    you have another dameon running using port 995 int most likely in

    /etc/xinetd.d


    shut it down and restart xinetd

    and restart cpanel
     
  14. Regulator

    Regulator Member

    Joined:
    Sep 9, 2006
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Im not too crafty when it comes to SSH. How do you I go about doing this?

    Do you have MSN messenger?
     
Loading...

Share This Page