- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NTP Error in hpux 11.23
Operating System - HP-UX
1821051
Members
2600
Online
109631
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 03:50 AM
тАО10-27-2010 03:50 AM
NTP Error in hpux 11.23
Hello All,
I have configured ntp in hpux 11.23 servers.
with correct entries in /etc/ntp.conf
server ntpserver
broadcastclient yes
driftfile /etc/ntp.drift
& /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=ntpserver
export XNTPD=1
export XNTPD_ARGS=
I have also started xntpd daemon also.
ps -ef |grep -i xntp
root 2136 1 0 13:36:11 ? 0:00 /usr/sbin/xntpd
root 8606 28982 0 13:46:39 pts/4 0:00 grep -i xntp
I got below error in ntpq -pn :-
# ntpq -pn
No association ID's returned
Also below are errors reported in syslog file :-
Oct 27 13:36:11 cspdcp11 xntpd[2136]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
Oct 27 13:36:11 cspdcp11 xntpd[2136]: precision = 7 usec
Oct 27 13:36:11 cspdcp11 xntpd[2136]: drift value invalid
Can anyone suggest about this problem?
Regards,
I have configured ntp in hpux 11.23 servers.
with correct entries in /etc/ntp.conf
server ntpserver
broadcastclient yes
driftfile /etc/ntp.drift
& /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=ntpserver
export XNTPD=1
export XNTPD_ARGS=
I have also started xntpd daemon also.
ps -ef |grep -i xntp
root 2136 1 0 13:36:11 ? 0:00 /usr/sbin/xntpd
root 8606 28982 0 13:46:39 pts/4 0:00 grep -i xntp
I got below error in ntpq -pn :-
# ntpq -pn
No association ID's returned
Also below are errors reported in syslog file :-
Oct 27 13:36:11 cspdcp11 xntpd[2136]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
Oct 27 13:36:11 cspdcp11 xntpd[2136]: precision = 7 usec
Oct 27 13:36:11 cspdcp11 xntpd[2136]: drift value invalid
Can anyone suggest about this problem?
Regards,
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 03:54 AM
тАО10-27-2010 03:54 AM
Re: NTP Error in hpux 11.23
Hi :
It appears that your server's time differs from the source time by enough to not yet have established a relationship with your time source(s).
It takes a few minutes for associations to be formed. The "No association ID's returned" indicates that there are no suitable time sources (at least yet).
You might try removing '/etc/ntp.drift' and restarting the 'xntp' daemon since it is reported that the "drift value is invalid".
Regards!
...JRF...
It appears that your server's time differs from the source time by enough to not yet have established a relationship with your time source(s).
It takes a few minutes for associations to be formed. The "No association ID's returned" indicates that there are no suitable time sources (at least yet).
You might try removing '/etc/ntp.drift' and restarting the 'xntp' daemon since it is reported that the "drift value is invalid".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 04:17 AM
тАО10-27-2010 04:17 AM
Re: NTP Error in hpux 11.23
Thanks James,
I have removed /etc/ntp.drift & restarted xntpd. Now error " drift value invalid" disappeared from syslog.log file.
One more question I have about NTP configuration :- before configuring NTP in server , /etc/ntp.conf had below entries :-
#tracefile /etc/ntp.trace
#restrict default ignore
#restrict 127.0.0.1
I have commented these now.
Just need to know , is it mandantory to keep these entries in /etc/ntp.conf .
Regards,
KG
I have removed /etc/ntp.drift & restarted xntpd. Now error " drift value invalid" disappeared from syslog.log file.
One more question I have about NTP configuration :- before configuring NTP in server , /etc/ntp.conf had below entries :-
#tracefile /etc/ntp.trace
#restrict default ignore
#restrict 127.0.0.1
I have commented these now.
Just need to know , is it mandantory to keep these entries in /etc/ntp.conf .
Regards,
KG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2010 07:11 AM
тАО10-27-2010 07:11 AM
Re: NTP Error in hpux 11.23
The "tracefile" configuration entry is not standard in HP-UX 11.23 ntp.conf. Perhaps someone has copied an AIX ntp.conf to your system?
(You can find a standard HP-UX factory default ntp.conf on your system at /usr/newconfig/etc/ntp.conf, if you want it.)
The "restrict" configuration entries are used to restrict access to your xntpd. The combination of "restrict default ignore" and "restrict 127.0.0.1" would deny all NTP traffic unless it comes from 127.0.0.1; in other words, they would make your xntpd useless unless further exceptions are defined.
From the NTP documentation:
http://www.eecis.udel.edu/~mills/ntp/html/accopt.html#restrict
restrict default ignore = by default, deny packets of all kinds, including ntpq and ntpdc queries.
restrict 127.0.0.1 = make 127.0.0.1 an exception that has no restrictions at all.
MK
(You can find a standard HP-UX factory default ntp.conf on your system at /usr/newconfig/etc/ntp.conf, if you want it.)
The "restrict" configuration entries are used to restrict access to your xntpd. The combination of "restrict default ignore" and "restrict 127.0.0.1" would deny all NTP traffic unless it comes from 127.0.0.1; in other words, they would make your xntpd useless unless further exceptions are defined.
From the NTP documentation:
http://www.eecis.udel.edu/~mills/ntp/html/accopt.html#restrict
restrict default ignore = by default, deny packets of all kinds, including ntpq and ntpdc queries.
restrict 127.0.0.1 = make 127.0.0.1 an exception that has no restrictions at all.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP