Help - Search - Members - Calendar
Full Version: can`t start cPanel ssl service
The Planet Forums > Control Panels > cPanel/WHM > Cpanel/WHM HOWTOs
jwhysleep
QUOTE (taotoon)
Then we have to do:

1. stop cpanel  
2. restart xinetd
3. start cpanel


CODE
[FONT=Courier New]



root@server [/etc/init.d]# [B]./cpanel stop[/B]



Stopping cPanel services:  [  OK  ]

Stopping pop3 services:  [  OK  ]

Stopping cPanel log services: [  OK  ]

Stopping cPanel Chat services: [FAILED]

Stopping Melange Chat services: [FAILED]

Stopping InterChange services: [FAILED]

Stopping cPanel ssl services:  [  OK  ]



Stopping mailman services: Shutting down Mailman's master qrunner

PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid

[Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid'

Is qrunner even running?



root@server [/etc/init.d]# [B]./xinetd restart[/B]



Stopping xinetd: [  OK  ]

Starting xinetd: [  OK  ]



root@server [/etc/init.d]# [B]./cpanel start[/B]



Starting eximstats: [  OK  ]

Starting cPanel services: [  OK  ]

Starting cPanel Log services: [  OK  ]

Starting pop3 services: [  OK  ]

Starting cPanel Chat services:

Starting Melange Chat services:

Starting cPanel ssl services: [  OK  ]

[/font]


Ok did this
/var/log/messages
========================================================
Dec 5 06:18:10 server1 stopcpsrvd: Waiting for cpsrvd to shutdown...
Dec 5 06:18:10 server1 stopcpsrvd: ...Done
Dec 5 06:18:10 server1 stopcpsrvd: Waiting for cpsrvd-ssl to shutdown...
Dec 5 06:18:10 server1 stopcpsrvd: ...Done
Dec 5 06:18:10 server1 cpanel: Stopping cPanel services: succeeded
Dec 5 06:18:10 server1 stopcppop: Waiting for cppop to shutdown...
Dec 5 06:18:10 server1 stopcppop: ...Done
Dec 5 06:18:10 server1 stopcppop: Waiting for cppop-ssl to shutdown...
Dec 5 06:18:10 server1 stopcppop: ...Done
Dec 5 06:18:10 server1 cpanel: Stopping pop3 services: succeeded
Dec 5 06:18:10 server1 cpanel: cpanellogd shutdown succeeded
Dec 5 06:18:11 server1 cpanel: entropychat shutdown succeeded
Dec 5 06:18:11 server1 cpanel: melange shutdown failed
Dec 5 06:18:11 server1 cpanel: interchange shutdown failed
Dec 5 06:18:11 server1 cpanel: Stopping cPanel ssl services: succeeded
Dec 5 06:18:25 server1 xinetd[6716]: Exiting...
Dec 5 06:18:25 server1 xinetd: xinetd shutdown succeeded
Dec 5 06:18:25 server1 xinetd: xinetd startup succeeded
Dec 5 06:18:25 server1 xinetd[9335]: Unknown user: ident [file=/etc/xinetd.d/auth] [line=14]
Dec 5 06:18:25 server1 xinetd[9335]: Error parsing attribute user - DISABLING SERVICE [file=/etc/xinetd.d/auth] [line=14]
Dec 5 06:18:25 server1 xinetd[9335]: pmap_set failed. service=sgi_fam program=391002 version=2
Dec 5 06:18:26 server1 xinetd[9335]: xinetd Version 2.3.12 started with libwrap loadavg options compiled in.
Dec 5 06:18:26 server1 xinetd[9335]: Started working: 1 available service
Dec 5 06:18:34 server1 cpanel: starteximstats startup succeeded
Dec 5 06:18:34 server1 startcpsrvd: Waiting for cpsrvd to shutdown...
Dec 5 06:18:34 server1 cpanel: startcpsrvd startup succeeded
Dec 5 06:18:34 server1 cpanellogd: ==> cPanel Log Daemon version 22.0
Dec 5 06:18:34 server1 cpanellogd: ==> Shared RRDTOOL support enabled
Dec 5 06:18:34 server1 cpanel: cpanellogd startup succeeded
Dec 5 06:18:35 server1 startcppop: Waiting for cppop to shutdown...
Dec 5 06:18:35 server1 startcppop: ...Done
Dec 5 06:18:35 server1 startcppop: Waiting for cppop-ssl to shutdown...
Dec 5 06:18:35 server1 startcppop: ...Done
Dec 5 06:18:35 server1 cpanel: startcppop startup succeeded
Dec 5 06:18:35 server1 entropychat: Listening on port 2084...
Dec 5 06:18:35 server1 cpanel: entropychat startup succeeded
Dec 5 06:18:35 server1 stunnel[9402]: stunnel 4.04 on i686-pc-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.7a Feb 19 2003
Dec 5 06:18:35 server1 stunnel[9402]: SSL_CTX_use_RSAPrivateKey_file: B080074: error:0B080074:x509 certificate routines:X509_check$
Dec 5 06:18:35 server1 cpanel: startstunnel startup failed

===================================================

root@server1 [/etc/init.d]# ./xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
root@server1 [/etc/init.d]# ./cpanel start
Starting eximstats: [ OK ]
Starting cPanel services: [ OK ]
Starting cPanel Log services: [ OK ]
Starting pop3 services: [ OK ]
Starting cPanel Chat services: [ OK ]
Starting Melange Chat services:
Starting cPanel ssl services: [FAILED]
Starting mailman services: Starting Mailman's master qrunner.
======================================================
/usr/local/cpanel/etc/stunnel/default/stunnel.conf

# Sample stunnel configuration file
# Copyright by Michal Trojnara 2002

# Comment it out on Win32
cert = /usr/local/cpanel/etc/cpanel.pem
chroot = /usr/local/cpanel/var/run/stunnel/
# PID is created inside chroot jail
pid = /stunnel.pid
setuid = cpanel
setgid = cpanel

# Authentication stuff
#verify = 2
# don't forget about c_rehash CApath
# it is located inside chroot jail:
#CApath = /certs
# or simply use CAfile instead:
#CAfile = /usr/local/etc/stunnel/certs.pem

# Some debugging stuff
#debug = 7
#output = stunnel.log

# Use it for client mode
#client = yes

# Service-level configuration

[pop3s]
accept = 995
connect = 110

[imaps]
accept = 993

[imaps]
accept = 993
connect = 143

#[ssmtp]
#accept = 465
#exec = /usr/sbin/sendmail
#execargs = -bs

[cpanelhttps]
accept = 2083
connect = 2082
TIMEOUTclose = 0

[whmhttps]
accept = 2087
connect = 2086
TIMEOUTclose = 0

[webmailhttps]
accept = 2096
connect = 2095
TIMEOUTclose = 0
-------------------------------------------------------------------------------------------
I checked /usr/local/cpanel/var/run/stunnel/
and its empty
---------------------------------------------------------------
restarted portsentry and got the following errors

Dec 5 07:09:48 server1 cpanel: startstunnel startup failed
Dec 5 07:09:57 server1 portsentry[12350]: adminalert: Psionic PortSentry 1.1 is starting.
Dec 5 07:09:57 server1 portsentry[12351]: adminalert: Going into listen mode on TCP port: 1
Dec 5 07:09:57 server1 portsentry[12351]: adminalert: Going into listen mode on TCP port: 111
Dec 5 07:09:57 server1 portsentry[12351]: adminalert: PortSentry is now active and listening.
Dec 5 07:09:57 server1 portsentry: Starting portsentry -tcp: succeeded
Dec 5 07:09:57 server1 portsentry[12354]: adminalert: Psionic PortSentry 1.1 is starting.
Dec 5 07:09:57 server1 portsentry[12355]: adminalert: ERROR: No UDP ports supplied in config file. Aborting
Dec 5 07:09:57 server1 portsentry[12355]: adminalert: ERROR: could not go into PortSentry mode. Shutting down.
Dec 5 07:09:57 server1 portsentry[12355]: securityalert: Psionic PortSentry is shutting down
Dec 5 07:09:57 server1 portsentry[12355]: adminalert: Psionic PortSentry is shutting down
Dec 5 07:09:57 server1 portsentry: Starting portsentry -udp: succeeded
--------------------------------------------------------------------------------
Should I just comment out the stunnel conf

cert = /usr/local/cpanel/etc/cpanel.pem
chroot = /usr/local/cpanel/var/run/stunnel/
----------------------------------------------------------------------------
root@server1 [~]# /etc/rc.d/init.d/cpanel restart
Stopping cPanel services: [ OK ]
Stopping pop3 services: [ OK ]
Stopping cPanel log services: [ OK ]
Stopping cPanel Chat services: [ OK ]
Stopping Melange Chat services: [FAILED]
Stopping InterChange services: [FAILED]
Stopping cPanel ssl services: [ OK ]

Stopping mailman services: Shutting down Mailman's master qrunner

Starting eximstats: [ OK ]
Starting cPanel services: [ OK ]
Starting cPanel Log services: [ OK ]
Starting pop3 services: [ OK ]
Starting cPanel Chat services: [ OK ]
Starting Melange Chat services:
Starting cPanel ssl services: [FAILED]
Starting mailman services: Starting Mailman's master qrunner.
------------------------------------------------------------------------------
Ok How do I fix this
???
James Jhurani
this is posted in the wrong area...
eth00
Recreate the WHM certificate, it is bad
aussie
QUOTE (faze)
this is posted in the wrong area...


Obviously these threads are not being moderated properly.

My suggestion is to dissallow all posts to the HOWTO forums unless you have shown some type of history in posting HOWTO's in the past. That would stop all the non HowTo questions from being posted.

If your a moderator around here you should probably be doing the job of being one.

It gets tiring to come in here to find questions being asked by people who are blindly posting without reading the thread rules. I'd like to see the HOWTO forums cleaned up. Also, for those who know better, you should probably not be replying to people posts if you notice that the post is a QUESTION, instead of a HOWTO. :confused:
aussie
** Bump **
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.