WHM/cpanel, nameserver, mysql, SSH, ifd etc all services failing and restarting on it's own

karthi2014

Member
Aug 21, 2014
6
0
1
Bangalore
cPanel Access Level
Root Administrator
Hi,

Thanks for your reply.

Yes our RAM is full thanks to MySQL process.

I tried to kill that process but unfortunately SSH and WHM services are down now.

Not sure what to do. Is it wise to power cycle server to get the service back and stop MYSQL.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello :)

Are you sure the memory usage is what's causing services to fail? Please see this thread:

Memory Usage Higher Than Expected

Also, what error messages do you see in /usr/local/apache/logs/error_log when Apache fails?

Thank you.
 

karthi2014

Member
Aug 21, 2014
6
0
1
Bangalore
cPanel Access Level
Root Administrator
Hi traintech,

Am not sure hot to download the config file or copy the text from SSH.

I would appreciate if you direct me how to do. Thanks for your help and time

- - - Updated - - -

Hi Michael,

Am not sure the memory causing the services to fail. But everything happened after upgrading Cpanel.

Insight of what happened - Monday i logged in to whm and checked for upgrades and did cpanel upgrade after that everything collapsed i tried contacting our webhost they advised to contact here to fix the issue.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
For instance, with Apache, your websites are actually down and it's not just the warning email you are receiving that you are concerned about right? What error messages do you see in /usr/local/apache/logs/error_log when Apache fails?

Thank you.
 

karthi2014

Member
Aug 21, 2014
6
0
1
Bangalore
cPanel Access Level
Root Administrator
Hi Michael,

I have reviewed the link you have provided and i found around 30MB free out of 1024MB. Also in WHM it shows MYSQL uses 50%+ memory but only 3 process running. Is it something to worry about? I have pasted the result of # free -m

total used free shared buffers cached
Mem: 1024 993 30 0 0 0
-/+ buffers/cache: 993 30
Swap: 0 0 0

Thanks for your help

- - - Updated - - -

Hi Michael,

This is what i found in the error log

[email protected] [/usr/local/apache/logs]# tail -f error_log
[Thu Aug 21 15:10:41 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Aug 21 15:10:41 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Thu Aug 21 15:10:41 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Aug 21 15:10:41 2014] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 21 15:10:41 2014] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 21 15:10:41 2014] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 21 15:10:41 2014] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 21 15:10:41 2014] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Thu Aug 21 15:10:41 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.0-fips mod_bwlimited/1.4 configured -- resuming normal operations
[Thu Aug 21 15:10:41 2014] [alert] Child 3241 returned a Fatal error... Apache is exiting!

For Note : I didn't get this error yesterday but it appearing today
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Please check to see if rebuilding the Apache configuration file helps:

Code:
/scripts/rebuildhttpdconf
I suggest opening a support ticket using the link in my signature if the issue persists so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

karthi2014

Member
Aug 21, 2014
6
0
1
Bangalore
cPanel Access Level
Root Administrator
hi thanks for the email... Created new ticket from our cpanel email which is dar****[email protected]****.com.

Support ticket number is 5367489

Thanks.

- - - Updated - - -

I have authorized the SSH key too. We Would appreciate if you take closer look

- - - Updated - - -

I have authorized the SSH key too. We Would appreciate if you take closer look
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
To update, it looks like a lack of memory is responsible for the services failing. You may want to try the suggestion in the previous post, or consider adding more RAM to your server.

Thank you.