Re: [newbie] Automatic Reboot Scheduling
On Tue, 3 Aug 2004 23:01:10 +1000 Mark Rogers [EMAIL PROTECTED] wrote: Hi Team Thanks to all those who have given invaluable help over the last few weeks. One last item (for the moment) that I need to do is setup my system (which is always on) to reboot once a day. Im doing this to ensure there are no problems while absent from the machine for a couple of weeks. (And will be 10,000km from the machine). The machine will not be logged on as 'root' and my security limit is set pretty high (i.e. the reboot command needs to be looged in as 'root' before it executes). Anyone have any idea of how I should go about doing this? Thanks in advance Yours Sincerely Mark A Rogers Orion Solutions PO BOX 1492 Wodonga Vic 3689 www.orionsolutions.com.au Phone +61 2 6056 5455 I have to ask. Why do you want to reboot? Lee Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] Automatic Reboot Scheduling
I would imagine it is easy enough to do, set-up a cron job and get it to do a reboot -r. Never tried so you will be a guinea pig. As everybody else has said I can see no benefit in doing this on a daily basis. Tony. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Rogers Sent: Tuesday, August 03, 2004 2:01 PM To: [EMAIL PROTECTED] Subject: [newbie] Automatic Reboot Scheduling Hi Team Thanks to all those who have given invaluable help over the last few weeks. One last item (for the moment) that I need to do is setup my system (which is always on) to reboot once a day. Im doing this to ensure there are no problems while absent from the machine for a couple of weeks. (And will be 10,000km from the machine). The machine will not be logged on as 'root' and my security limit is set pretty high (i.e. the reboot command needs to be looged in as 'root' before it executes). Anyone have any idea of how I should go about doing this? Thanks in advance Yours Sincerely Mark A Rogers Orion Solutions PO BOX 1492 Wodonga Vic 3689 www.orionsolutions.com.au Phone +61 2 6056 5455 -+-+-+-+-+-+-+-+-+ Business Computer Projects - Disclaimer -+-+-+-+-+-+-+-+-+- This message, and any associated attachment is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify either the sender or [EMAIL PROTECTED] immediately. The contents of this message may contain personal views which are not necessarily the views of Business Computer Projects Ltd., unless specifically stated. Whilst every effort has been made to ensure that emails and their attachments are virus free, it is the responsibility of the recipient(s) to verify the integrity of such emails. Business Computer Projects Ltd BCP House 151 Charles Street Stockport Cheshire SK1 3JY Tel: +44 (0)161 355-3000 Fax: +44 (0)161 355-3001 Web: http://www.bcpsoftware.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Automatic Reboot Scheduling
On Tuesday 03 August 2004 18:21, Mikkel L. Ellertson wrote: Frans Ketelaars wrote: On Tuesday 03 August 2004 15:01, Mark Rogers wrote: Hi Team Thanks to all those who have given invaluable help over the last few weeks. One last item (for the moment) that I need to do is setup my system (which is always on) to reboot once a day. Im doing this to ensure there are no problems while absent from the machine for a couple of weeks. (And will be 10,000km from the machine). The machine will not be logged on as 'root' and my security limit is set pretty high (i.e. the reboot command needs to be looged in as 'root' before it executes). Anyone have any idea of how I should go about doing this? Slightly OT: you can easyly set up an old computer with an old modem to dial in to (or which has a permanent net connection) and let it powercycle the main machine when it has crashed. See http://www.telenovela-world.com/~spade/linux/howto/Coffee.html for details :-) -Frans Another way is to pick up a watchdog timer card, and let it reboot the machine if it locks up. There are several that are supported out of the box by the kernel, and it shouldn't be too hard to make others work. There is also a software version, but it isn't as dependable. It can not recover from a lockup inside a driver that has interrupts turned off. The hardware versions do not suffer from this limitation. These watchdog timer cards are expensive though I think. They may be able to reboot the machine more subtly than a power cycle would, but I guess this depends on the kind of lock up and the capabilities of the card. You could also use an old (= 386) computer to monitor the main machine by checking if it continually flips a bit on an unused parallel or serial port (with the main machine configured to do so) and after a timeout period power cycling the main machine. At least it would be cheap (hardware wise) ;-) On the other hand, with the normal uptime for a Linux server measured in months or years, it usually isn't needed... It has been years since I locked up, or crashed a Linux system that wasn't caused by hardware failing, loss of power, or by my exparmenting with something as root that I knew was risky. (Playing with video modes for DOSumu, new device driver, etc...) Mikkel -Frans Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Automatic Reboot Scheduling
** Reply to message from Lee Wiggers [EMAIL PROTECTED] on Tue, 3 Aug 2004 03:38:20 + Hi Lee Team On Tue, 3 Aug 2004 23:01:10 +1000 Mark Rogers [EMAIL PROTECTED] wrote: Hi Team Thanks to all those who have given invaluable help over the last few weeks. One last item (for the moment) that I need to do is setup my system (which is always on) to reboot once a day. Im doing this to ensure there are no problems while absent from the machine for a couple of weeks. (And will be 10,000km from the machine). The machine will not be logged on as 'root' and my security limit is set pretty high (i.e. the reboot command needs to be looged in as 'root' before it executes). Anyone have any idea of how I should go about doing this? Thanks in advance Yours Sincerely Mark A Rogers Orion Solutions PO BOX 1492 Wodonga Vic 3689 www.orionsolutions.com.au Phone +61 2 6056 5455 I have to ask. Why do you want to reboot? I will be a long way away from the machine in question, and its a new setup. I have seen it freeze once in the last two weeks and I cant have it doing the same when Im away from it. (Possibly hardware but at this stage Im uncertain). Hence the need to ensure it keeps working by giving it a reboot every 24 hours. I just cant afford to have it go down, even though it probably wont but know murphys law it probably will. Lee Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com Yours Sincerely Mark A Rogers Orion Solutions PO BOX 1492 Wodonga Vic 3689 www.orionsolutions.com.au Phone +61 2 6056 5455 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Automatic Reboot Scheduling
On Wednesday 04 August 2004 03:08 am, Mark Rogers wrote: I will be a long way away from the machine in question, and its a new setup. I have seen it freeze once in the last two weeks and I cant have it doing the same when Im away from it. (Possibly hardware but at this stage Im uncertain). Hence the need to ensure it keeps working by giving it a reboot every 24 hours. I just cant afford to have it go down, even though it probably wont but know murphys law it probably will. http://www.berkprod.com/LP_pci_pc_watchdog.htm -- Bryan Phinney Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com