sjat

Member
May 9, 2004
14
0
151
cPanelWHM has stopped working on my server last night 3.55 o´clock (GMT+1) (Maybe after the nightly update ?)

I have tryed to restart the cPanel a lot of times without result - I have tryed to restart the server itself, both soft and hard reboot, without result :(

Mailserver, bind, SQL,ftp and Apache is running, so the server is a kind of the way online, but all cPanel/WHM services is not running ( cPanel, WHM, webmail etc)
Can anyone help me out of this problem ? - I´m getting these 2 error messages every five minutes:
------------------------------------------------------------------------------------------------
Message 1:
cpsrvd failed @ Tue Mar 22 04:29:29 2011. A restart was attempted automagically.
Service Check Method: [tcp connect]

Failure Reason: Unable to connect to port 2086
------------------------------------------------------------------------------------------------
Message2:
Native SSL support failed to pass the startup test. stunnel was started instead.
The exact error was: [linktest=BinCheck ok ] [binary=/usr/local/cpanel/cpsrvd-ssl] [cpsrvd=Cwd object version 3.31 does not match $Cwd::VERSION 3.33.
]

You should attempt run /usr/local/cpanel/bin/nativessl-install or submit a support request at https://tickets.cpanel.net/submit/
-----------------------------------------------------------------------------------------------------
And this one every hour:
/usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check:
Data::Dumper object version 2.126 does not match $Data::Dumper::VERSION 2.128.
-----------------------------------------------------------------------------------------------------

When I try to start/restart cPanel with: /etc/init.d/cpanel start
I get these messages:
[Tue Mar 22 20:25:40 2011] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
Log is at /usr/local/cpanel/logs/tailwatchd_log
/etc/init.d/cpanel start
Starting cPanel services: [ OK ]
Starting cPanel brute force detector services: [ OK ]
Starting cPanel dav services: [ OK ]
Starting pop3 services: Waiting for cppop to shutdown ... ...Done
Waiting for cppop-ssl to shutdown ... ...Done
[ OK ]
Starting cPanel Chat services:
Starting Melange Chat services:
Starting cPanel ssl services: [ OK ]
Starting cPanel Queue services: [ OK ]
Starting tailwatchd:
Starting cPanel Log services:
Starting mailman services: [ OK ]
----------------------------------------------------------------------------------------------------------
In my eyes, it looks OK, but cPanel is still not running :(
Any ideas ?


Thanks in advance

Regards Egon
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Do you have a firewall running? If you do, it likely doesn't have the ports opened. You can input the ports into the firewall to see if that's the issue:

Code:
/sbin/iptables -I INPUT -p tcp -m tcp --dport 2082:2083 -j ACCEPT
/sbin/iptables -I INPUT -p tcp -m tcp --dport 2086:2087 -j ACCEPT
/sbin/iptables -I INPUT -p tcp -m tcp --dport 2095:2096 -j ACCEPT
If you are then able to access cPanel after adding the above, save these rules:

Code:
service iptables save
 

sjat

Member
May 9, 2004
14
0
151
Thank you for your response.........
But I have no firewall running and your suggestions dont change anything - I am still not able to access/cpanel - The server have been up and running with the very same configuration in 2 years now without problems, and then it suddenly stopped working last night - I really need help to figure this out :-(
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
It suggests native-ssl is the issue in the error message:

You should attempt run /usr/local/cpanel/bin/nativessl-install or submit a support request at https://tickets.cpanel.net/submit/
If running /usr/local/cpanel/bin/nativessl-install doesn't work, then submit a ticket to us.
 

sjat

Member
May 9, 2004
14
0
151
/usr/local/cpanel/bin/nativessl-install doesn't work, and if i try to open a ticket, the support ask for a support access number. But when I try to recover the number (/usr/local/cpanel/cpanel -S) i get this message:

--------------------------------------------------------------------------------------------------
[email protected] [~]# /usr/local/cpanel/cpanel -S
Cwd object version 3.31 does not match $Cwd::VERSION 3.33.
----------------------------------------------------------------------------------------------------

What do I do now ?

Egon
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Go to WHM > Support Center > Contact cPanel to see if you can locate a Support Access Number there. One should be listed at the bottom of that area.
 

sjat

Member
May 9, 2004
14
0
151
Well......
It is not an easy job, as I allready said:WHM is not working on the server ;-)
 

sjat

Member
May 9, 2004
14
0
151
I am in contact with your support now/submitted an ticket with the guys now so thank you VERY much for your help :)
I hope they are able to fix the problem

Egon
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
You are welcome and apologies about suggesting grabbing it from WHM. I wasn't even thinking. Originally, I didn't suggest WHM to get the ticket because it wasn't working, so definitely wouldn't have been able to access it there. Sorry about that.
 

ciborro

Registered
Apr 28, 2011
2
0
51
You are welcome and apologies about suggesting grabbing it from WHM. I wasn't even thinking. Originally, I didn't suggest WHM to get the ticket because it wasn't working, so definitely wouldn't have been able to access it there. Sorry about that.
Hello,
I have exactly the same problem.
What can I do, to resolve it?

Regards.
Przemek.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
The issue on that ticket was the the wrong openssl version was installed due to CentOS putting the wrong one into their repository. The mechanism to see this was case was running this command:

Code:
/usr/local/cpanel/cpsrvd-ssl
If you receive this output:

Code:
Cwd object version 3.31 does not match $Cwd::VERSION 3.33.
Then the wrong version of openssl is installed onto your distro. You can remove the existing rpm using this command:

Code:
rpm --justdb --nodeps -e openssl
Then re-run "/scripts/upcp --force" to have it grab a new copy of openssl instead.

If the above is not the case, then please submit a ticket about this issue.

To see the report on the bug where CentOS had the wrong rpms for openssl, you can view this bug report of theirs:

0004680: openssl 0.9.8e-12.el5_5.7 is missing the i686 package - CentOS Bug Tracker