[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > where can i find the app getdate? I have 3 debian fax servers which, via > cron, reboot twice a week. When they come back up they are 1 hour behind > and i have to manually reset the date. getdate may allow me to kinda fix > this problem.
I've found a problem(*) with Debian's hwclock.sh scripts. jekyll:~$ /bin/ls -1 /etc/rc*.d/*hwclock* /etc/rc0.d/K25hwclock.sh /etc/rc6.d/K25hwclock.sh /etc/rcS.d/S50hwclock.sh Mine are modified. The hwclock.sh links in rc0.d and rc6.d are called when you're shutting down or rebooting. The ones that Debian put there start with an "S" (S25hwclock.sh), which means they're called with a "start" parameter when shutting down or rebooting. This does the opposite of what you want it to do -- it reads from the hardware clock. By renaming them to start with "K" (as above), I made sure they *write to* the hardware clock when I'm shutting down. This may not fix all of your problems, but it's a good start. (*)Hey, where's my bug? I sent it in... I know I did, because I got a copy. But it doesn't appear to have been received. Hmm... I'll resend it. Jean-Yves BARBIER ([EMAIL PROTECTED]) wrote: > You could fix it by installing package xntp3 on a server, but be carefull, > if your time server is down you'll have troubles to starts the fax machines. If this is likely to be a problem, perhaps you should use the ntp package from potato instead. Either that, or comment out any calls to ntpdate in /etc/init.d/xntp3. The (x)ntpd daemon itself won't cause any problems -- it will run patiently in the background, even if the time servers are not reachable. -- Greg Wooledge | Distributed.NET http://www.distributed.net/ [EMAIL PROTECTED] | because a CPU is a terrible thing to waste. http://www.kellnet.com/wooledge/ |
pgpJ5za4dbhGT.pgp
Description: PGP signature