Find the answer to your Linux question:
Results 1 to 3 of 3
i have a mdk 10.1 make a iptables server , it sometime dead about 2 week to mouth. everytime it need touch reset key to reboot. have anyware can set ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    2

    a linux server can auto reboot if it dead?


    i have a mdk 10.1 make a iptables server ,
    it sometime dead about 2 week to mouth.
    everytime it need touch reset key to reboot.
    have anyware can set it auto-reboot?

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    You mean if it's frozen or something like that? I don't think so.. what you can do is set up a cronjob (look at Google for more info) and use the "shutdown -r now" command to reboot the server every 4 days for example.
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  3. #3
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,875
    It might be better to try and fix the problem that is causing it to hang. This could be anything from a hardware failure or a bios setting to a system service misconfigured.

    As a sysadmin, it is good practice to try and find out what is failing when something goes wrong rather than just try to paper over the cracks. Start by looking through the system logs and seeing if there is anything in there that reports just before it fails.

    If you cant find the problem in the logs, then I'd start being very suspicious about the hardware. My server started just stopping and needed resetting every few days recently, I changed the power supply (I bought an ultra-quiet one for 15 - thats about US$20) and it's been fine ever since. Also, you may find that your bios settings have some kinds of system reset capability, but I'd be surprised if it can detect a system hang.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •