correct way to set timezone & clock/date?

Bob Elzer bob.elzer at gmail.com
Tue Aug 25 12:19:37 MST 2009


To set you initial time you should run rdate
 

-----Original Message-----
From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of Jon M.
Hanson
Sent: Tuesday, August 25, 2009 11:43 AM
To: Main PLUG discussion list
Subject: Re: correct way to set timezone & clock/date?

ntp also adjusts your clock gradually so it won't immediately jump to the
correct time. This is to prevent problems with services (like cron and
logging) that depend on a clock that doesn't suddenly change.

Sent from my iPhone

On Aug 25, 2009, at 11:33 AM, Alex Dean <alex at crackpot.org> wrote:

> Try tailing /var/log/messages (you said this was fedora, right?) when 
> you start up the ntp daemon.  It can take a while (>1 minute
> sometimes) for the time servers to synchronize, but you should see 
> some log activity during that time to show you that it's working.
>
> alex
>
> On Aug 25, 2009, at 1:27 PM, Steven A. DuChene wrote:
>
>> Hmm, so I did the following:
>>
>> # iptables -A input_ext -p tcp -m tcp --dport 123 -j ACCEPT
>>
>> and then tried starting ntp services again but it still seems to hang 
>> when trying to get the initial date and time. So adding a rule to the 
>> firewall for tcp access on port 123 seems to have made no difference 
>> to my problem.
>>
>> nuts...
>> --
>> Steve
>>
>> -----Original Message-----
>>> From: "kitepilot at kitepilot.com" <kitepilot at kitepilot.com>
>>> Sent: Aug 25, 2009 2:13 PM
>>> To: "Steven A. DuChene" <linux-clusters at mindspring.com>, Main PLUG 
>>> discussion list <plug-discuss at lists.plug.phoenix.az.us>
>>> Subject: Re: correct way to set timezone & clock/date?
>>>
>>> From /etc/services
>>>
>>> ntp             123/tcp
>>> ntp             123/udp                         # Network Time  
>>> Protocol
>>>
>>> I would use "ntp" instead of "udp", and if it doesn't work, take a 
>>> dump...
>>> :)
>>> ET
>>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list