Re: Time zone isn't displaying right one with 'tzsetup'
jdow wrote: From: Robert Gabaree [EMAIL PROTECTED] I tried to update my new server to the new time zone by running 'tzsetup' and selecting Eastern. However, instead of showing 11:45, it shows 6:45 - 5 hours later. I even tried to do a 'cp /usr/share/ zoneinfo/EST5EDT /etc/localtime but it didn't help. What can I do to fix it? What time does your BIOS say? And did you tell Linux which time zone the BIOS thinks it is in? There is a UTC=true or UTC=false line in /etc/sysconfig/clock you might investigate. Yeah, but this is *freebsd*-questions, so telling the OP how to fix a Linux box is not very coherent. You could well be exactly right on the diagnosis of the problem though: the CMOS clock on the motherboard can either be set to run UTC or it can be set to the local wall-clock time. The first (UTC) is preferred by Unix machines, the second by Windows. FreeBSD will cope with a CMOS clock set to run using the local wall clock time in order to play nice on multi-boot systems, but you have to tell the system it's operating in that mode. To change the setting, run /usr/sbin/tzsetup and when asked about the CMOS clock on the first screen, choose 'Yes' if your machine runs FreeBSD always or 'No' if you occasionally boot into Windows. Then choose your local timezone from the menus. If, after doing that, there is a zero length file /etc/wall_cmos_clock then you have set your system to use a CMOS clock set to wall clock time. See adjkerntz(1) for the full story. After running tzsetup, either restart ntpd to force your machine to step the clock a long way to sync with the server, or set the date/time manually as Greg described upthread. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Time zone isn't displaying right one with 'tzsetup'
Greg 'groggy' Lehey wrote: On Tuesday, 22 August 2006 at 23:45:19 -0400, Robert Gabaree wrote: Hi, I tried to update my new server to the new time zone by running 'tzsetup' and selecting Eastern. However, instead of showing 11:45, it shows 6:45 - 5 hours later. I even tried to do a 'cp /usr/share/ zoneinfo/EST5EDT /etc/localtime but it didn't help. What can I do to fix it? That depends on whether you're running ntpd or not. If you are, your best bet is to stop ntpd and run ntpdate, specifying the same server, then restart ntpd. If you're not running ntpd, just set the date: date 08232355 See the man page for the format. Greg Also, instead of copying EST5EDT to /etc/localtime you can use a symlink. That way when EST5EDT gets updated you will automatically use the new version. So, su cd /etc ln -s /usr/share/zoneinfo/EST5EDT localtime exit Obviously, substitute the appropriate zoneinfo file if you are not on US Eastern time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Time zone isn't displaying right one with 'tzsetup'
On Tuesday, 22 August 2006 at 23:45:19 -0400, Robert Gabaree wrote: Hi, I tried to update my new server to the new time zone by running 'tzsetup' and selecting Eastern. However, instead of showing 11:45, it shows 6:45 - 5 hours later. I even tried to do a 'cp /usr/share/ zoneinfo/EST5EDT /etc/localtime but it didn't help. What can I do to fix it? That depends on whether you're running ntpd or not. If you are, your best bet is to stop ntpd and run ntpdate, specifying the same server, then restart ntpd. If you're not running ntpd, just set the date: date 08232355 See the man page for the format. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpe5PUzHQALB.pgp Description: PGP signature
Re: Time zone isn't displaying right one with 'tzsetup'
From: Robert Gabaree [EMAIL PROTECTED] Hi, I tried to update my new server to the new time zone by running 'tzsetup' and selecting Eastern. However, instead of showing 11:45, it shows 6:45 - 5 hours later. I even tried to do a 'cp /usr/share/ zoneinfo/EST5EDT /etc/localtime but it didn't help. What can I do to fix it? What time does your BIOS say? And did you tell Linux which time zone the BIOS thinks it is in? There is a UTC=true or UTC=false line in /etc/sysconfig/clock you might investigate. {^_^} ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Time Zone
What is the prefered time zone for a web server Is it better to keep it GMT or local timezone ? I am in eastern time zone so I need to deal with standard and daily saving time... We keep ours on local time. I think that is the way most do it. jerry Thanks ___ 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: Time Zone
Ian Lord wrote: What is the prefered time zone for a web server Is it better to keep it GMT or local timezone ? I am in eastern time zone so I need to deal with standard and daily saving time... We are UK based but our server (and most of our customers) are US based, so we keep the US time (EST) as it makes more sense when emails are sent out and orders made etc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Time Zone
On Tue, Jan 17, 2006 at 01:32:01AM -0400, Carlos A. Carnero Delgado wrote: On 1/16/06, Ian Lord [EMAIL PROTECTED] wrote: What is the prefered time zone for a web server Is it better to keep it GMT or local timezone ? Both ;) Set the machine's clock to GMT (actually, UTC.) Then set the correct timezone for your location. Actually, the SYSTEM CLOCK is UTC, right? Unless you're supporting a Weeendows dual-boot environment. Timezone is then a locale setting. I like to leave the timezone alone, and let uers or applications set the time zone to whatever they please. What time zone should you use? Whatever time zone you like. If you set the zone to EST5EDT then then the system locale will adapt DST for you automatically. -danny -- http://dannyman.toldme.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Time Zone
Hello, On 1/16/06, Ian Lord [EMAIL PROTECTED] wrote: What is the prefered time zone for a web server Is it better to keep it GMT or local timezone ? Both ;) Set the machine's clock to GMT (actually, UTC.) Then set the correct timezone for your location. Best regards, Carlos. -- nick grah windows just crashed again, unstable crap. yukito Windows isn't unstable, it's just spontaneous. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]