> > > Hi, > I have Red Hat Linux 7.1 with Kernel 2.4.2-2. Over this, our > application runs. > On one of the test beds, the time does not stay. If i set the date and > hwclock, after 2 or 3 hours, the time jumps > behind 7 hours. > We have an E1 card on the machine, but the vendor says that is not the > reason for this problem. > The time zone is PDT and 7 hours behind is UTC i guess. > Is there a process which changes this or a configuration file due to > which some process realises that i need set > time to a different value ?. > Please help me in resolving this problem.
Copy or link the correct time zone information to /etc/localtime: /etc/localtime -> /usr/share/usr/share/zoneinfo/America/Los_Angeles Next make sure the file /etc/sysconfig/clock indicates the hardware clock is set to UTC (GMT): ZONE="America/Los_Angeles" UTC=true <--- this line! ARC=false Set the time manually or from a time server using rdate -s. Run setclock to set the hardware clock to match the system time. This setup will still drift so if you need accurate time, consider ntp. OTOH, if you have a timeserver on your network it may be easier to run rdate. I suggest running setclock once a day because hardware clocks seem to drift a _lot_. -- --Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt Government is like burning witches: After years of burning young women failed to solve any of society's problems, the solution was to burn more young women. _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list
