How to check NTP work or not?

Andrei Pascal andrei at romsym.ro
Wed Jan 10 15:28:14 UTC 2007


On Wed, 2007-01-10 at 23:19 +0800, mcclnx mcc wrote:
> We have several DELL servers with Redhat AS 3.X and
> 4.X installed on it.  Every time I reboot servers I
> saw :
>  
>    NTPD    ---  fail
> 
> I can ping NTP server from DELL servers without
> problem.  Does anyone can help me on follwing:
> 
> 1. How to check my server actually use NTP time or
> local machine time

service ntpd status
ntpq -c peer

> 2. where is NTP log file?

ntpd does not have a log file on its own; rather it uses syslog to write
messages to a local facility, therefore sending them (by default)
to /var/log/messages. Check this file first for abnormal ntpd
behavior/events.

> Thanks.


Regards,
Andrei




More information about the redhat-list mailing list