ntpd not functioning

Rick Stevens rstevens at internap.com
Wed Jan 16 23:31:41 UTC 2008


On Wed, 2008-01-16 at 13:51 -0800, Waldher, Travis R wrote:
> The error is:
> 
>  
> 
> Ntpdate: no servers can be used, exiting
> 
>  
> 
> My ntp.conf file has a “server 192.168.158.52” line in it.
> 
>  
> 
> If I run “ntpdate -d 192.168.158.52” I get a valid response from the
> ntp server so I know they are capable of talking to eachother.  Ntpq
> even works.  But with or without the ntpd daemon running I am getting
> the afore mentioned ntpdate error.
> 
>  
> 
> I would like to just forget using ntpd since it’s usless in vmware,
> but I can’t seem to get the ntpdate error messages to go away.

I can think of several ideas.  Perhaps port 123 is blocked by an
iptables before ntpd is started and that restriction is later removed?

If you don't want ntpd at all, why not just "service --level 2345 ntpd
off" in the vmwared host?  ntpdate is run by the ntpd startup script.

Did you also check /etc/ntp/step-tickers and /etc/ntp/servers and make
sure they're empty or commented out?

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens at internap.com -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-           Denial.  It ain't just a river in Egypt anymore!         -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list