On Sun, Aug 05, 2001 at 02:01:10PM -0700, Karsten M. Self wrote:
> on Sun, Aug 05, 2001 at 03:37:49PM -0500, ktb ([EMAIL PROTECTED]) wrote:
> > On Sun, Aug 05, 2001 at 01:00:40PM -0700, Karsten M. Self wrote:
> > > on Sat, Aug 04, 2001 at 05:33:53AM -0700, Erik Steffl ([EMAIL PROTECTED]) 
> > > wrote:
> > > > ktb wrote:
> > > > > 
> > > > > On Fri, Aug 03, 2001 at 11:25:02PM -0700, Erik Steffl wrote:
> > > > > >   I have the ntp running and see no error messages while it's 
> > > > > > running
> > > > > > but ntptime returnes error, the time is few minutes off and ntpdc 
> > > > > > says
> > > > > > 'not synchronized'. How do I go about troubleshooting? any help
> > > > > > appreciated.
> > > > > >
> > > > > 
> > > > > Kind of a guess but I'd try running -
> > > > > /usr/sbin/ntpdate ntp.server.name
> > > > > Maybe your clock is too far off for ntp to sync.
> > > > 
> > > > jojda:/var/log# ntpdate time.ultimeth.net
> > > >  4 Aug 04:23:17 ntpdate[5379]: no server suitable for synchronization
> > > > found
> > > 
> > > I get similar messages for a mess of timeserves I'd used in the past.
> > > I'm behind a firewall (my own) that blocks a mess of stuff, allowed are
> > > ports are:
> > > 
> > >     icmp:         0, 3, 11
> > >     ports PASS:           22, 25, 80, 443 -- PASS
> > >     ports REJECT: 113
> > >     (All others DENY)
> > > 
> > > ...is there something that ntpdate needs to get through to me?
> > 
> >  From /etc/services - 
> > ntp             123/tcp
> > ntp             123/udp      # Network Time Protocol
> 
> ...that's if I'm serving time.  What if I'm trying to read it?
> 

I guess I was under the impression that ntpdate snagged it's info from
ntp servers generally running on port 123.  I just assumed it would
return on the same port.  Guess that is a wrong assumption.  

There is the "-u" option for ntpdate which might be useful -

 -u     Direct ntpdate to use an unprivileged port or  out­
              going  packets.   This is most useful when behind a
              firewall that blocks incoming traffic to privileged
              ports,  and  you  want  to  synchronise  with hosts
              beyond the firewall. Note that the -d option always
              uses unprivileged ports.

kent


-- 
 From seeing and seeing the seeing has become so exhausted
     First line of "The Panther" - R. M. Rilke


Reply via email to