How To Avoid NTP Time Reset Message In /var/adm/messages
Last updated on JULY 29, 2016
Applies to:Solaris Operating System - Version 10 1/13 U11 and later
Information in this document applies to any platform.
Customer uses ntp for syncing time with time servers. He also runs Centrify SNTP server which changes time on this server too.
Because of this, when NTP checks its time with NTP servers , it sees difference and gives below errors:
In this case, customer knows the reason why errors are coming. That is not the issue. His issue is how to modify config file such as /etc/syslog.conf
to avoid creating those messages to /var/adm/messages.
May 16 13:58:12 host1.domain.com xntpd: [ID 774427 daemon.notice] time reset (step) 0.151129 s
May 16 15:38:28 his is delivered by daemon notice in /etc/syslog.conf file because of daemon.notice in below line:
You can remove daemon.notice from that line and change it to:
Then restart system-log service as below:
svcadm restart svc:/system/system-log:default
That will reread the file and messages will stop. But there is one thing you should be aware of .
Because of that, all other daemon notices will also, stop giving messages in messages file
May 16 17:18:44 machine1.domain1.com xntpd: [ID 774427 daemon.notice] time reset (step) 0.150928 s
May 16 18:57:56 machine1.domain1.com xntpd: [ID 774427 daemon.notice] time reset (step) 0.151952 s
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms