The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Server Crashing Every 15 Minutes

Discussion in 'General Discussion' started by matty4donna, Sep 14, 2007.

  1. matty4donna

    matty4donna Member

    Joined:
    Sep 7, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    Hey guys,

    I have a VPS for personal websites and backup, and today it has been crashing every 15 minutes non-stop.

    I have to reboot via HyperVM everytime it crashes, otherwise it does not come back up.

    I have checked the crontab and there is nothing in there to be causing it to crash every 15 minutes, and also done a few other checks etc...

    There is a problem with the cPanel license on the server atm, basically the license is invalid and cannot be updated because of this, so I am awaiting the NOC to sort this out for me.

    Is there any chance that this could be linked to an invalid license file?

    Also, any idea's as to why it could be crashing so precisely.

    Cheers! :)
     
  2. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    check dmesg - look for any errors there

    Once the machine is up and running - stop all services and see what happens.

    It is probably a hardware fault.
     
  3. matty4donna

    matty4donna Member

    Joined:
    Sep 7, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    Hi, thanks for the response, much appreciated.

    If it was hardware related, would the whole server not be going down as opposed to just the VPS (ie. its only the VPS crashing, the actual node is fine because I just reboot the VPS via HyperVM).

    Interestingly, I removed the following line from the crontab before the last crash:

    I am assuming this was running every 15 minutes from the value of the schedule field. Is it likely that this could have causing the VPS to hang and become unresponsive, because it has this time been up for 23 minutes and still running fine.

    How do I check dmesg and what is it?

    I usually have an admin to sort these issues for me, but he is not online atm, so although I have some basic knowledge of Linux and cPanel etc, I am more of a Windows guy lol.

    Once again, thanks!
     
  4. matty4donna

    matty4donna Member

    Joined:
    Sep 7, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    With regards to the line I removed from the crontab, I am assuming it "may" have problems because the license file is invalid atm.
     
  5. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    have you looked in dmesg yet ? it might show some early signs of instability there.
     
  6. matty4donna

    matty4donna Member

    Joined:
    Sep 7, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    Hi,

    Thanks, how do I check that?

    :)
     
  7. matty4donna

    matty4donna Member

    Joined:
    Sep 7, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    It was up for over an hout and then started crashing every 15 minutes again, so its not related to the crontab I don't think.

    :(
     
  8. rachweb

    rachweb Well-Known Member

    Joined:
    Jun 26, 2004
    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    amsterdam
    what is in the message log?
     
  9. matty4donna

    matty4donna Member

    Joined:
    Sep 7, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    What command should I use to check this? Thanks!

    PS. Apologies for my stupidity, I dont have that much experience with Linux.
     
  10. rachweb

    rachweb Well-Known Member

    Joined:
    Jun 26, 2004
    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    amsterdam
    cat /var/log/messages | less
     
  11. matty4donna

    matty4donna Member

    Joined:
    Sep 7, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    Theres loads of errors in there. Things like time and time again (possibly every time it crashes):

    Is it likely that say the server tried to update the cPanel without a valid license file, this could have had anything to do with it?

    In the upcp report, I got some errors like the following repeatedly:

    This also shows up in the message log.

    Any ideas??

    Thanks once again! :)
     
  12. rachweb

    rachweb Well-Known Member

    Joined:
    Jun 26, 2004
    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    amsterdam
    First error: It looks like kernel problem.
    What is your linux version/distro? What gives uname -a (ssh)?

    For the second error it looks like that you haven't enabled suexec in apache. The best way is to recompile the apache with suexec option
     
  13. matty4donna

    matty4donna Member

    Joined:
    Sep 7, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    Hi,

    The operating system currently on the VPS is CentOS 4.4 iirc.

    The kernel is:

    Linux [hostname] 2.6.18-8.1.3.el5.028stab033.1 #1 SMP Mon May 28 22:23:07 MSD 2007 i686 athlon i386 GNU/Linux

    Is it advisable to use the easyapache function to re-compile apache?

    Also, given the server is a VPS, I am assuming the kernel is on the node rather then the server and anything that needs doing to it would need to be done by the NOC.

    Are either of these problems likely to cause intermittent crashes.

    Cheers! :)
     
Loading...

Share This Page