My Oracle Support Banner

How To Avoid NTP Time Reset Message In /var/adm/messages (Doc ID 2141271.1)

Last updated on OCTOBER 09, 2019

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 another vendor's 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 xntpd[643]: [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:
*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages

You can remove daemon.notice from that line and change it to:
*.err;kern.debug;mail.crit /var/adm/messages

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 xntpd[643]: [ID 774427 daemon.notice] time reset (step) 0.150928 s
May 16 18:57:56 xntpd[643]: [ID 774427 daemon.notice] time reset (step) 0.151952 s



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.