1843809 Members
2983 Online
110224 Solutions
New Discussion

ntp problem

 
SOLVED
Go to solution
thebeatlesguru
Regular Advisor

ntp problem

after Mar 6 i change ntp server from 127.127.1.1 to another box,this is some messages in /var/adm/syslog/syslog.log:
Mar 6 05:48:01 dm-px xntpd[27375]: synchronized to 192.168.20.B, stratum=3
Mar 6 05:48:33 dm-px xntpd[27375]: synchronized to 192.168.29.A, stratum=2
Mar 6 05:50:10 dm-px xntpd[27375]: synchronized to 192.168.24.C, stratum=3
Mar 6 05:50:26 dm-px xntpd[27375]: synchronized to 192.168.29.A, stratum=2

A is server ,B,C is peer. these messages show everyday since Mar 6 ,is there something wrong ?
hihi
4 REPLIES 4
John Payne_2
Honored Contributor
Solution

Re: ntp problem

I do not think there is a problem, just your machine running ntp normally.

Have you configured the driftfile? This will have ntp put an entry in the file to say what the last update was. (Tells how far it stepped.) Then you could tell if your clock is having a problem. The format is 'driftfile /etc/ntp.drift' (or whatever file) in the /etc/ntp.conf file. Then you make the driftfile and start it with an entry of '1'

I just look occasionally to see what's up after that. We caught a machine that was running wild at the end of last year...

John
Spoon!!!!
thebeatlesguru
Regular Advisor

Re: ntp problem

but when the box use 127.127.1.1 as ntp server before,there is no such message,when my boss ask me why,and i cant tell.
hihi
Dave Harper_1
New Member

Re: ntp problem

Sorry for responding so late, I am catching up to my e-mail.

I think you were not getting the messages before because 127.127.1.1 is using your own internal clock. No relationships were needed with other IP address (machines).

Now that you have pointed it to a different machine (besides itself) it shows all of the relationships.

If you type 'ntpq -p' it should show and asterik next to the server A and then may show plus signs next to Server A's peers. The HPUX System and Network Admin II class shows how to setup NTP among other networking items.
Ruediger Noack
Valued Contributor

Re: ntp problem

Do you want to create your own logfile for ntp messages suppress them in syslog.log?
Look at this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9f3249c5ae73d4118fef0090279cd0f9,00.html

Ruediger