enoxium

Registered
Feb 13, 2006
3
0
151
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.
 

Regulator

Member
Sep 9, 2006
8
0
151
dalem said:
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
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
 

freedman

Well-Known Member
Feb 13, 2005
314
5
168
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.
 

Regulator

Member
Sep 9, 2006
8
0
151
dalem said:
tail your /var/log/messages when restarting stunnel for errors
[email protected] [/var/log]# tail -100 messages
Sep 24 23:21:12 riptorn cpanel: startstunnel startup failed
Sep 24 23:22:11 riptorn pure-ftpd: ([email protected]) [INFO] New connection from 66.245.177.179
Sep 24 23:22:12 riptorn pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [webtrends]
Sep 24 23:22:17 riptorn pure-ftpd: ([email protected]) [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: ([email protected]) [INFO] New connection from 127.0.0.1
Sep 24 23:26:29 riptorn pure-ftpd: ([email protected]) [INFO] Logout.
Sep 24 23:34:51 riptorn pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1
Sep 24 23:34:51 riptorn pure-ftpd: ([email protected]) [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: ([email protected]) [INFO] New connection from 127.0.0.1
Sep 24 23:43:14 riptorn pure-ftpd: ([email protected]) [INFO] Logout.
[email protected] [/var/log]#
 

Regulator

Member
Sep 9, 2006
8
0
151
dalem said:
you have another dameon running using port 995 int most likely in

/etc/xinetd.d


shut it down and restart xinetd

and restart cpanel
Im not too crafty when it comes to SSH. How do you I go about doing this?

Do you have MSN messenger?