Re: How to check NTP work or not?

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

 



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/
> 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux