How to check NTP work or not?

Harry Hoffman hhoffman at ip-solutions.net
Wed Jan 10 15:22:58 UTC 2007


Try this (as root or with sudo),

service ntpd stop
ntpdate clock.redhat.com
ntpdate clock.udell.edu
service ntpd start
ntpq -p

If the "reach" column in the output of ntpq -p is greater then 0 then
ntp is working.

Have you changed the default ntp.conf?


HTH,
Harry

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?
> 
> 2. where is NTP log file?
> 
> Thanks.
> 
> ___________________________________________________ 
>  您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! 
>  http://messenger.yahoo.com.tw/
> 




More information about the redhat-list mailing list