correct way to set timezone & clock/date?

Bob Elzer bob.elzer at gmail.com
Tue Aug 25 12:24:01 MST 2009


Are you running ntpdate as root ?
 

  _____  

From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of Steven
A. DuChene
Sent: Tuesday, August 25, 2009 12:17 PM
To: Main PLUG discussion list
Subject: Re: correct way to set timezone & clock/date?


I ran the following:

ntpdate -v -d dewey.lib.ci.phoenix.az.us ntp.drydog.com

and it looked for and found both hosts but then just sits there with
no other output.
--
Steve




-----Original Message----- 
From: Eric Cope 
Sent: Aug 25, 2009 3:10 PM 
To: Main PLUG discussion list 
Subject: Re: correct way to set timezone & clock/date? 

You can force an update, instead of waiting on the incremental changes. But,
as noted below, it may affect services.
Eric


On Tue, Aug 25, 2009 at 11:42 AM, Jon M. Hanson <jon at the-hansons-az.net>
wrote:


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





-- 
Eric Cope
http://cope-et-al.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20090825/693961d7/attachment.htm 


More information about the PLUG-discuss mailing list