[Bio-Linux] Correcting time issues under Bio-Linux

Dr Dan Swan dswan at ceh.ac.uk
Mon Aug 11 06:51:33 EDT 2003


Hello Bio-Linux users.

We have been aware for some time that the time on Bio-Linux machines is
highly prone to drifting (actually this is an annoying RedHat/Linux
issue as it also occurs on my laptop).  If you are suffering from this
then please apply the fix below:

As manager create a file called time.sh with the following information:

#!/bin/sh

echo "Resetting ntpd"
/etc/init.d/ntpd stop
ntpdate ntp2.ja.net
/etc/init.d/ntpd start

save it and then:

sudo cp time.sh /etc/cron.daily
sudo chown root:root /etc/cron.daily/time.sh
sudo chmod 755 /etc/cron.daily/time.sh

This makes things a little more useable - each day at around 4am
the time daemon will sync to the ntp server ntp2.ja.net which keeps the
correct UK time - the clock may drift a couple of minutes during the day
but should be ok as it is reset daily.

If you're outside the UK then you should approach your IT Staff for an NTP server
appropriate to your timezone.

regards,

Dan

-- 
Dr Dan Swan - Bio-Linux Developer
EGTDC, CEH, Mansfield Road, Oxford, OX1 3SR
Tel: 01865 281 975 Fax: 01865 281 696
http://envgen.nox.ac.uk/ | dswan at ceh.ac.uk





More information about the Bio-linux-list mailing list