Re: Another NTP Problem

2003-02-02 Thread Mike McMullen
Hi Todd,

I had added the prefer keywords as a shotgun approach
to getting it working. I removed it and all still appears to
be working.

I had my restrict default set to nomodify.

Thanks for the response!

Mike

> On Sun, 2 Feb 2003, Mike McMullen wrote:
>
> > server  time.nist.gov prefer
> > server  ns.arc.nasa.gov prefer
> > server  tick.usno.navy.mil prefer
>
> You can only prefer one server in each stratum. And unless you *really*
> know what you are doing, you should never use prefer to point to any
> server other than your LAN's local master clock anyway, and NEVER EVER
> prefer your local system clock--unless it happens to have a built-in
> Cesium atomic clock. =)
>
> Remove the prefer keywords, and restart your ntp service. Also, make sure
> that you don't have "restrict default ignore" in your configuration. The
> bright minds at Red Hat apparently think that ignoring all NTP packets is
> a useful thing for the service to do.
>
> If you still have trouble, post your ntp.conf and the output of "ntpq -p"
> so that we can help you troubleshoot further.
>
> --
> "Of course I'm in shape! Round's a shape, isn't it?"
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Another NTP Problem

2003-02-02 Thread Mike McMullen
Thanks, Bret. I went back to double check everything and
magically it had synced with a server. Not sure why but it
is working now.

Thanks,

Mike

> On Sun, 2003-02-02 at 17:39, Mike McMullen wrote:
> > I'm having my own NTP problem at the moment 
> > on a RH 7.3 system. I have added server lines
> > in the /etc/ntp.conf and restarted the server. 
> > 
> > It always uses the local clock. My server lines look like
> > this:
> > 
> > server  time.nist.gov prefer
> > server  ns.arc.nasa.gov prefer
> > server  tick.usno.navy.mil prefer
> > 
> > Any insight appreciated.
> > 
> 
> What do you see ntpd related in the logs (/var/log/messages)?  IF the
> system is too far out, it will not sync and you will need to run ntpdate
> to sync to one of the time servers.  Make sure the firewall (if there is
> one) allows the ntp traffic through. Port 123 IIRC.
> 
> If you put servers in /etc/ntp/step-tickers the ntpd startup script will
> try to sync to them before starting ntpd eliminating any too far out of
> sync problems
> 
> ntpq -p will give some information on the status of servers ntpd knows
> about.
> 
> Bret
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Another NTP Problem

2003-02-02 Thread Todd A. Jacobs
On Sun, 2 Feb 2003, Mike McMullen wrote:

> server  time.nist.gov prefer
> server  ns.arc.nasa.gov prefer
> server  tick.usno.navy.mil prefer

You can only prefer one server in each stratum. And unless you *really* 
know what you are doing, you should never use prefer to point to any 
server other than your LAN's local master clock anyway, and NEVER EVER
prefer your local system clock--unless it happens to have a built-in 
Cesium atomic clock. =) 

Remove the prefer keywords, and restart your ntp service. Also, make sure 
that you don't have "restrict default ignore" in your configuration. The 
bright minds at Red Hat apparently think that ignoring all NTP packets is 
a useful thing for the service to do.

If you still have trouble, post your ntp.conf and the output of "ntpq -p" 
so that we can help you troubleshoot further.

-- 
"Of course I'm in shape! Round's a shape, isn't it?"



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Another NTP Problem

2003-02-02 Thread Bret Hughes
On Sun, 2003-02-02 at 17:39, Mike McMullen wrote:
> I'm having my own NTP problem at the moment 
> on a RH 7.3 system. I have added server lines
> in the /etc/ntp.conf and restarted the server. 
> 
> It always uses the local clock. My server lines look like
> this:
> 
> server  time.nist.gov prefer
> server  ns.arc.nasa.gov prefer
> server  tick.usno.navy.mil prefer
> 
> Any insight appreciated.
> 

What do you see ntpd related in the logs (/var/log/messages)?  IF the
system is too far out, it will not sync and you will need to run ntpdate
to sync to one of the time servers.  Make sure the firewall (if there is
one) allows the ntp traffic through. Port 123 IIRC.

If you put servers in /etc/ntp/step-tickers the ntpd startup script will
try to sync to them before starting ntpd eliminating any too far out of
sync problems

ntpq -p will give some information on the status of servers ntpd knows
about.

Bret



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list