[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to check NTP work or not?



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]