cancel
Showing results for 
Search instead for 
Did you mean: 

NTP configuration

 
Highlighted
Advisor

NTP configuration

i had configured NTP server with following configurations.

#ntp.conf

server 124.41.84.72 # external server(stratum 1)
server 127.127.1.1

will it work properly...
10 REPLIES 10
Highlighted
Honored Contributor

Re: NTP configuration

Hi Dhinesh,

Check the ntp service
#ps -ef |grep -i xntpd

check the synchronization of ntp with server

#ntpq -p


Rgds
Johnson
Highlighted
Trusted Contributor

Re: NTP configuration

and are you able to ping the 124.41.84.72 server?

and check the system log file for regular NTP daemon messages..
Highlighted
Advisor

Re: NTP configuration

what my question is, i add external ntp server and, local clock.is it recommended to configure like this..
Highlighted
Trusted Contributor

Re: NTP configuration

Yes,
we always had an external source or windows machine as our primary ntp server.

you can also configure one of your unix box as the ntp server and all others as the clients

this is my ntp.conf (unix)
driftfile /etc/ntp.drift
broadcast 10.200.207.255 version 3
broadcastdelay 86400
server 127.127.1.1
fudge 127.127.1.1 stratum 10
Highlighted
Frequent Advisor

Re: NTP configuration

Hi Dinesh,

Configuration are correct? are you facing any issue.

Please check in server
/var/adm/syslog/syslog.log file for any error.

Also check in client

#ntpq -p

and check for offest column whether it is synching with source server.

if your facing issue post the output of ntpq from client and syslog message from server.
“Education is our passport to the future, for tomorrow belongs to those who prepare for it today.”
Highlighted
Advisor

Re: NTP configuration

Sync lost, synced .. message in syslog in every min.... in server and all clients

Highlighted
Honored Contributor

Re: NTP configuration

Highlighted
Honored Contributor

Re: NTP configuration

> sync lost...

What does the command:

ntpq -p 124.41.84.72

If it fails, you cannot contact the NTP server. You need to determine if the NTP server is working, is not blocked by network routers and will accept a sync request. Until nptq works, you won't be able to sync to that server.


Bill Hassell, sysadmin
Highlighted
Honored Contributor

Re: NTP configuration

Hi,

What is the output of
ntpq -p

For more info see the below link "Troubleshooting NTP"

http://docs.hp.com/en/B2355-91060/ch04s03.html

Suraj