hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : VPS - spamd & nameserver fails
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

VPS - spamd & nameserver fails

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-13-2010, 08:25 AM
Dennis H Dennis H is offline
WHT Addict
 
Join Date: Dec 2009
Posts: 162

VPS - spamd & nameserver fails


Hello, recently i have been receiving emails from cpanel saying that spamd and nameserver fails in separate emails of course.

This has happend once when running, and everytime when rebooting my VPS. I have no idea what to do, I'm new with Linux and VPS.

Reply With Quote


Sponsored Links
  #2  
Old 02-13-2010, 08:59 AM
Hostwaresupport Hostwaresupport is offline
Disabled
 
Join Date: May 2009
Location: /home
Posts: 222
Hello,

Could you paste cPanel logs here ?

Reply With Quote
  #3  
Old 02-13-2010, 09:27 AM
madaboutlinux madaboutlinux is offline
Web Hosting Master
 
Join Date: Jul 2009
Posts: 1,493
What are the exact contents of those emails? And what action do you take once you receive the email?

__________________
Linux WebHosting Solutions
http://linuxhostingsupport.net/blog/
MSN: madaboutlinux@hotmail.com

Reply With Quote
Sponsored Links
  #4  
Old 02-13-2010, 09:28 AM
Dennis H Dennis H is offline
WHT Addict
 
Join Date: Dec 2009
Posts: 162
Quote:
Originally Posted by Hostwaresupport View Post
Hello,

Could you paste cPanel logs here ?
What specific cPanel log?

Also now my CPU is reaching 2.67!!!


Quote:
Originally Posted by madaboutlinux View Post
What are the exact contents of those emails? And what action do you take once you receive the email?
Now mysql and sshd failed as well and my CPU is going crazy.


sshd failed @ Sat Feb 13 14:58:33 2010. A restart was attempted automagically.
Service Check Method: [check command]

Cmd Service Check Raw Output: sshd is not running

-----------------------------------------------------

mysql failed @ Sat Feb 13 16:11:22 2010. A restart was attempted automagically.
Service Check Method: [check command]

Cmd Service Check Raw Output: mysql has failed

And so on...

Now my CPU load is reaching 3.81?!!!


Last edited by Dennis H; 02-13-2010 at 09:34 AM.
Reply With Quote
  #5  
Old 02-13-2010, 09:47 AM
keserhosting keserhosting is offline
Web Hosting Master
 
Join Date: Oct 2009
Posts: 1,058
Did you have check the logs through the /var/log/messages ?
This will help you trace the reason for service failure.

__________________
Shared Hosting | Reseller Hosting | VPS Hosting | Dedicated Servers
KeserHosting.Com

Reply With Quote
  #6  
Old 02-13-2010, 09:49 AM
Dennis H Dennis H is offline
WHT Addict
 
Join Date: Dec 2009
Posts: 162
The CPU problem is fine now, my host notified me that it was a problem wit another client. But still, i shutdown my VPS and when booting it i instantly recieved 4 emails saying ''nameserver on xxxx.com failed''

First email
Quote:
nameserver failed @ Sat Feb 13 14:59:15 2010. A restart was attempted automagically.
Service Check Method: [check command]

Cmd Service Check Raw Output: named is not running
The rest, this email was sent to me 3 times
Quote:
nameserver failed @ Sat Feb 13 14:58:33 2010. A restart was attempted automagically.

Reply With Quote
  #7  
Old 02-13-2010, 09:52 AM
Dennis H Dennis H is offline
WHT Addict
 
Join Date: Dec 2009
Posts: 162
Quote:
Originally Posted by keserhosting View Post
Did you have check the logs through the /var/log/messages ?
This will help you trace the reason for service failure.
As i mentioned, I'm new with Linux. Please explain how i do this.

Reply With Quote
  #8  
Old 02-13-2010, 09:53 AM
madaboutlinux madaboutlinux is offline
Web Hosting Master
 
Join Date: Jul 2009
Posts: 1,493
Quote:
Originally Posted by Dennis H View Post
What specific cPanel log?

Also now my CPU is reaching 2.67!!!




Now mysql and sshd failed as well and my CPU is going crazy.


sshd failed @ Sat Feb 13 14:58:33 2010. A restart was attempted automagically.
Service Check Method: [check command]

Cmd Service Check Raw Output: sshd is not running

-----------------------------------------------------

mysql failed @ Sat Feb 13 16:11:22 2010. A restart was attempted automagically.
Service Check Method: [check command]

Cmd Service Check Raw Output: mysql has failed

And so on...

Now my CPU load is reaching 3.81?!!!
Those emails are sent by cPanel monitoring system called chkservd. If it sees a service unavailable, it restart the service and send an email to the administrator email ID.

You have to check the logs of respective services and figure out whats wrong with the service, for example,

Quote:
mysql = /var/lib/mysql/server.hostname.err
ssh = /var/log/messages
BTW, if you are receiving them in bulk and see if the service is working fine, you can avoid these false alarms by turning off monitoring from WHM >> Service Manager section.

In respect to CPU usage, you have to provide more details, like output of

Quote:
top c
ps -auxf

__________________
Linux WebHosting Solutions
http://linuxhostingsupport.net/blog/
MSN: madaboutlinux@hotmail.com

Reply With Quote
  #9  
Old 02-13-2010, 09:55 AM
madaboutlinux madaboutlinux is offline
Web Hosting Master
 
Join Date: Jul 2009
Posts: 1,493
Quote:
Originally Posted by Dennis H View Post
As i mentioned, I'm new with Linux. Please explain how i do this.
You have to SSH to your server as root to check the logs. To check the logs you can use

Quote:
cat /var/lib/mysql/server.hostname.err | more
where, | more, will display logs page wise.

__________________
Linux WebHosting Solutions
http://linuxhostingsupport.net/blog/
MSN: madaboutlinux@hotmail.com

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
spamd fails Calibaba Hosting Security and Technology 2 02-25-2008 01:01 PM
Spamd is killing my VPS Formas VPS Hosting 10 11-26-2007 09:33 PM
imap & spamd gotzaway Hosting Security and Technology 2 10-28-2006 09:05 AM
high numfile usage & fails on VPS chamelion Hosting Security and Technology 0 06-02-2006 02:57 PM
SPAMD fails every 10 minutes TheComputerGuy Hosting Security and Technology 5 05-07-2006 12:41 PM

Related posts from TheWhir.com
Title Type Date Posted
German Court Rules Internet Essential, Cut Off Customers Can Seek ISP Compensation Web Hosting News 2013-01-25 16:06:32
Dell Quietly Taps Nirvanix for New Cloud Storage Service Web Hosting News 2012-09-12 17:37:30
Web Host SingleHop Makes SLAs Friendlier with New Customer Bill of Rights Web Hosting News 2012-02-27 11:53:03
Google Plans to Disable Online Revocation Checks in Future Chrome Versions Web Hosting News 2012-02-09 13:26:57
No Deadline Extension for Washington State Data Center Tax Breaks Web Hosting News 2011-06-02 16:47:12


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?