Installed SSL for server Manage Service SSL Certificates now cPanel/WHM Services Fail

WebzPro

Active Member
Jul 21, 2004
34
1
158
Installed through Manage Service SSL Certificates, but new 11.40 is a bit different and it say you can install CPANEL,FTP ,WHM ,IMAP are all down and will not restart at once asked me to restart I approved the restart now cPanel will not restart but all the web sites are up.

All following ports can not get connection. Any help would be appreciated.

can't establish a connection to the server at :2086 or 2287

CPANEL (2082),FTP (21),WHM (2086),IMAP (143).

Service: cpdavd
Notification Type: failed
Notification: cpdavd failed @ Wed Jan 15 14:44:22 2014. A restart was attempted automagically.
Service Check Method: [check command]
Number of Restart Attempts: 1
Service Check Raw Output:
cpdavd is not running


Service: cpsrvd
Notification Type: failed
Notification: cpsrvd failed @ Wed Jan 15 14:44:22 2014. A restart was attempted automagically.
Service Check Method: [socket connect]
Reason:
Unable to connect to port 2086 on 127.0.0.1: Connection refused: Died at /usr/local/cpanel/Cpanel/TailWatch/ChkServd.pm line 782.
Number of Restart Attempts: 2
Startup Log:
Waiting for cpsrvd,cpsrvd-ssl,whostmgrd,cpaneld,webmaild to shutdown ... not running.
Starting cpsrvd.
Waiting for (?^:^(?:stunnel$|stunnel-[0-9\.]+local)) to shutdown ... not running.
Using Native SSL support (stunnel not needed)

Service: ftpd
Notification Type: failed
Notification: ftpd failed @ Wed Jan 15 14:31:10 2014. A restart was attempted automagically.
Service Check Method: [check command]
Number of Restart Attempts: 1
Service Check Raw Output:
pure-ftpd is not running
Startup Log:
Starting pure-config.pl: Running: /usr/sbin/pure-ftpd -O clf:/var/log/xferlog --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lextauth:/var/run/ftpd.sock -L10000:8 -m4 -p50000:50200 -s -S21 -U133:022 -u100 -i -Oxferlog:/usr/local/apache/domlogs/ftpxferlog -k99 -Z -Y1 -JHIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
[ OK ]
Starting pure-authd:

Service: pop
Notification Type: failed
Notification: pop failed @ Wed Jan 15 14:42:09 2014. A restart was attempted automagically.
Service Check Method: [socket connect]
Reason:
Service check failed to completepop: [ != .OK]
Number of Restart Attempts: 1
Memory Information:
Used: 8982MB
Available: 39154MB
Installed: 48136MB
Load Information: 0.49 0.55 0.60
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello :)

Have you tried restarting cPanel again via the command line? EX:

Code:
service cpanel restart
Also, you can backup and remove the existing certificate data for cPanel/WHM from the following directory:

Code:
/var/cpanel/ssl/cpanel/
Then, regenerate a self-signed certificate via:

Code:
/usr/local/cpanel/bin/checkallsslcerts
This should allow you to determine if the SSL certificate you installed is invalid.

Thank you.
 

WebzPro

Active Member
Jul 21, 2004
34
1
158
Thank you for the reply problem has been sorted.

There was an error with the private key in all pems, we recreated them again, and it worked.

It seems that both WHM and we the first time, somehow created pems with some error in private key part.

Not sure why both WHM and I can't create private keys properly.

I had to recreate a private key file, by outputting the content of ftp pem file to the key files, and then deleting everything after the -----END RSA PRIVATE KEY----- line.

With that being said the new SSL was set up properly through WHM, Manage Service SSL Certificates for all four services at the same time. After installing hundreds of SSL plus installing SSL's on servers for the server services I have never had this happen.