1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Server reboot automaticly.

Discussion in 'Plesk for Linux - 8.x and Older' started by chaloupe, Nov 6, 2005.

  1. chaloupe

    chaloupe Guest

    0
     
    Hi!

    I got a server and it reboot every 7 days automaticly. It have been doin' it for the past 8 months.

    Do you know what could cause this (like script in the config) or what could I do to make sure it doesn't stop anymore.

    I really appreciate your help on this forum guys.
     
  2. etan

    etan Guest

    0
     
    best bet would be to check /var/log/messages
    and see what is actually causing it to reboot.
    if it is infact the reboot/shutdown command. And see if the times are the same as the last time

    If its the same time as the previous reboot, its quite likely, u have a script which is rebooting it, check your crontab's under Server.
     
  3. chaloupe

    chaloupe Guest

    0
     
    var messages

    syslogd 1.4.1: restart.

    This is the first line on the message log when rebooting

    just don't know what or where is syslogd 1.4.1

    I also find a cron job call cron.weekly with one that is call up2date.cron

    here's the script for it:

    /usr/sbin/up2date -uf
    /bin/sync
    /usr/bin/reboot

    I'm not sure if it is the script that rebbot my server what happen if I delete the cron job
     
  4. ShadowMan@

    ShadowMan@ Guest

    0
     
    That looks and sounds like the culprit, since it is in the weekly cron, and the reboot is happening every 7 days ( 1 week).

    If you delete the cron job, then all that will affect is that your server will not automatically check and update itself, which in my opinion is not always a good thing. I would rather manually check for updates so I can see what is going to be updated, so I can determine if it may break Plesk or not.
     
  5. chaloupe

    chaloupe Guest

    0
     
    Server reboot automaticly

    I will at least delete this line:

    "/usr/bin/reboot"
     
Loading...