1827080 Members
1419 Online
109713 Solutions
New Discussion

NTP

 
Arun K P
Occasional Contributor

NTP


Dear all,


my ntp server is not working after restarting my server(RHEL 5)


Thanks in Advance
Regards

Arun
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: NTP

Ensure that the service is enabled with:

chkconfig ntpd on

Ensure that if you have firewall enabled, you allow traffic to the ntp port.

Also, after a restart, will take some time before the NTP service is provided. Use the ntpq -pn command to identify when the NTP service is provided. You should see an "*" in front of an NTP server when NTP is ready.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: NTP

Shalom,

ps -ef | grep ntp

Is there a process running.

If not:

Start it:

/etc/init.d/ntpd start

chkconfig ntpd on
# To set up auto start.

If you recently upgraded your configuration file may have been archived with the ending rpmsave or rpmnew. Check that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven McCoy
Valued Contributor

Re: NTP

Don't forget to tail your messages file for helpful info:

'tail -f /var/log/messages'

While doing the tail, restart ntp from a different terminal:

service ntpd restart

or

/etc/init.d/ntpd restart