1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Server Keeps Crashing

Discussion in 'Plesk for Linux - 8.x and Older' started by myplanet, Jun 2, 2006.

  1. myplanet

    myplanet Guest

    0
     
    Hello,

    I'm having a problem with a server running Plesk 8. Every 6 - 12 hours it seems to be crashing.... all services stop although I can ping the IP address. Reboot and everything comes back up.

    Looked in Plesk yesterday, only half the memory was being used and the swap usage was VERY high. But my hosting provider checked the memory and said it was fine.

    My hosting provider will be performing a hardware diagnostic tomorrow morning, but I'd like to do some troubleshooting on my end to check for software issues.

    Where do I begin. I'm a bit of a newbie. I'd guess I'm supposed to check the server logs... but where?

    ps - I'm comfortable logging in with SSH, using nano, etc. if that helps.

    Cheers. Jason
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    The first place you might look is /var/logs/messages
     
  3. myplanet

    myplanet Guest

    0
     
    I see quite a few attempts from IP address to login as root (failed attempts). They are clustered around the time the server is crashing. So maybe that's the problem.

    Hosting provider is adding a script designed to limit attempts to x3. We'll see if that helps.

    Thanks!
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    I'm not sure what OS you have, but try this. Go to /etc/ssh/sshd_conf and look for the line

    #PermitRootLogin yes

    And change it to (don't gorget to uncomment):

    PermitRootLogin no

    This will prevent ANY root logins from SSH
     
Loading...