Re: Server time doesn't want to stay set (help!)
On Mon, 3 Apr 2006 13:01:09 -0400 "Steve Douville" <[EMAIL PROTECTED]> wrote: > Geeze, this is very frustrating. :-) > > I rebooted and went into the BIOS. It was set to the correct time. During > the boot process, a message comes up and says that the time has been > adjusted. When it's finished, the system time is 4 hours behind. I > immediately did tzsetup, told it that UTC was not set in the BIOS, then > proceeded to select the appropriate timezone. I still get: > > #web date > Mon Apr 3 08:46:13 EDT 2006 (Note, it's 12:46 pm when I ran this.) > > web# ntpdate 0.north-america.pool.ntp.org > Looking for host 0.north-america.pool.ntp.org and service ntp > host found : rrcs-24-123-214-97.central.biz.rr.com > 3 Apr 08:54:32 ntpdate[1881]: step time server 24.123.214.97 offset > 14443.665454 sec > > The offset even shows the 4 hours my machine is behind, but it doesn't set > the time because the difference is too great. (I think) That would be unusual behaviour for ntpdate, and probably constitute a bug. ntpdate should always set the time (unless you use -d) Do you have a somewhat high securelevel? From man securelevel: 2 Highly secure mode - same as secure mode, plus disks may not be opened for writing (except by mount(2)) whether mounted or not. This level precludes tampering with file systems by unmounting them, but also inhibits running newfs(8) while the system is multi- user. In addition, kernel time changes are restricted to less than or equal to one second. Attempts to change the time by more than this will log the message ``Time adjustment clamped to +1 second''. Are you seeing messages in /var/log/messages? -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server time doesn't want to stay set (help!)
At 10:37 AM 4/3/2006, Steve Douville wrote: My server time is off by exactly 4 hours. (EDT) I've reset it at the BIOS level, only to have it changed somehow during the boot process. I've tried setting and resetting it through sysinstall, but nothing helps. This sounds like an issue of the bios clock being set to UTC/GMT rather than local time. If you're bios is set to the actual local time, then you need the file /etc/wall_cmos_clock present. If it's set to universal time, make sure there is no such file. -Wayne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server time doesn't want to stay set (help!)
Geeze, this is very frustrating. :-) I rebooted and went into the BIOS. It was set to the correct time. During the boot process, a message comes up and says that the time has been adjusted. When it's finished, the system time is 4 hours behind. I immediately did tzsetup, told it that UTC was not set in the BIOS, then proceeded to select the appropriate timezone. I still get: #web date Mon Apr 3 08:46:13 EDT 2006 (Note, it's 12:46 pm when I ran this.) web# ntpdate 0.north-america.pool.ntp.org Looking for host 0.north-america.pool.ntp.org and service ntp host found : rrcs-24-123-214-97.central.biz.rr.com 3 Apr 08:54:32 ntpdate[1881]: step time server 24.123.214.97 offset 14443.665454 sec The offset even shows the 4 hours my machine is behind, but it doesn't set the time because the difference is too great. (I think) More thoughts?? :-) Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server time doesn't want to stay set (help!)
I've done tzsetup a couple of times to no avail. I cp'd the correct file from zoneinfo to localtime, again nothing changed. I've googled like crazy on this, but most all of the suggestions are the same. web# md5 /etc/localtime MD5 (/etc/localtime) = 2735b3768614a853154db25d18cc5d4b web# ls -l /etc/localtime -rw--- 1 root wheel 1252 Apr 3 07:13 /etc/localtime md5 /etc/localtimeweb# web# md5 /etc/localtime MD5 (/etc/localtime) = 2735b3768614a853154db25d18cc5d4b What options in rc.conf should I look for? Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server time doesn't want to stay set (help!)
On Mon, 3 Apr 2006 10:37:07 -0400 "Steve Douville" <[EMAIL PROTECTED]> wrote: > I've reset it at the BIOS > level, only to have it changed somehow during the boot process. I've > tried setting and resetting it through sysinstall, but nothing helps. but if you do that, then you need to make sure you tell tzsetup your BIOS clock is NOT set to UTC. re-run tzsetup and make sure your options are correctly set. > Running ntpdate doesn't change anything either. if you have the wrong TZ set , or wrong setting, ntpdate won't change anything. NTP rports UTC time, which in conjunction with the TZ settings on your machine, set your local time. > I've looked in my > rc.conf file for anything that might change the time and can't seem > to find anything there. check /etc/defaults/rc.conf if you want rc.conf options. if none of this works, what do ls -l /etc/localtime md5 /etc/localtime show ? beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server time doesn't want to stay set (help!)
Steve Douville wrote: My server time is off by exactly 4 hours. (EDT) I've reset it at the BIOS level, only to have it changed somehow during the boot process. I've tried setting and resetting it through sysinstall, but nothing helps. Running ntpdate doesn't change anything either. I've looked in my rc.conf file for anything that might change the time and can't seem to find anything there. Any other places I should look or troubleshoot? Look into: - tzsetup (the sysinstall UI) - /usr/share/zoneinfo - /etc/localtime - google "Freebsd time zone" HTH Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Server time doesn't want to stay set (help!)
web# date Mon Apr 3 06:45:56 EDT 2006 - Original Message - From: "Jean-Paul Natola" <[EMAIL PROTECTED]> To: "Steve Douville" <[EMAIL PROTECTED]>; Sent: Monday, April 03, 2006 10:43 AM Subject: RE: Server time doesn't want to stay set (help!) Time zone? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Douville Sent: Monday, April 03, 2006 10:37 AM To: freebsd-questions@freebsd.org Subject: Server time doesn't want to stay set (help!) My server time is off by exactly 4 hours. (EDT) I've reset it at the BIOS level, only to have it changed somehow during the boot process. I've tried setting and resetting it through sysinstall, but nothing helps. Running ntpdate doesn't change anything either. I've looked in my rc.conf file for anything that might change the time and can't seem to find anything there. Any other places I should look or troubleshoot? Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Server time doesn't want to stay set (help!)
Time zone? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Douville Sent: Monday, April 03, 2006 10:37 AM To: freebsd-questions@freebsd.org Subject: Server time doesn't want to stay set (help!) My server time is off by exactly 4 hours. (EDT) I've reset it at the BIOS level, only to have it changed somehow during the boot process. I've tried setting and resetting it through sysinstall, but nothing helps. Running ntpdate doesn't change anything either. I've looked in my rc.conf file for anything that might change the time and can't seem to find anything there. Any other places I should look or troubleshoot? Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Server time doesn't want to stay set (help!)
My server time is off by exactly 4 hours. (EDT) I've reset it at the BIOS level, only to have it changed somehow during the boot process. I've tried setting and resetting it through sysinstall, but nothing helps. Running ntpdate doesn't change anything either. I've looked in my rc.conf file for anything that might change the time and can't seem to find anything there. Any other places I should look or troubleshoot? Thanks, Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"