- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- No association ID's returned--Getting error while ...
Operating System - HP-UX
1824724
Members
3692
Online
109674
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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-24-2009 05:00 AM
тАО10-24-2009 05:00 AM
Hi Gurus,
Iam trying to configure a Ntp server and a client .
As part of creating ntp server : I have done the following steps:
1. changed my time zone to desired one
2.Adjusted system time.
3 In /etc/rc.config.d/netdaemons :
export NTPDATE_SERVER=
export XNTPD=1
export XNTPD_ARGS=
4. In /etc/ntp.conf :
rx260-15 16.118.112.141 --added [my ntp server]
5.manualy started the ntp daemon:
/sbin/init.d/xntpd start
checked it is running:
# ps -ef | grep -i ntp
root 1520 1 0 17:41:00 ? 0:00 /usr/sbin/xntpd
[rx260-15]/
#
6. ut while checking with ntpq -p iam getting error.
# ntpq -p
No association ID's returned
[rx260-15]/
#
Could you pls support Urgrntly?
Rgds Sree
Iam trying to configure a Ntp server and a client .
As part of creating ntp server : I have done the following steps:
1. changed my time zone to desired one
2.Adjusted system time.
3 In /etc/rc.config.d/netdaemons :
export NTPDATE_SERVER=
export XNTPD=1
export XNTPD_ARGS=
4. In /etc/ntp.conf :
rx260-15 16.118.112.141 --added [my ntp server]
5.manualy started the ntp daemon:
/sbin/init.d/xntpd start
checked it is running:
# ps -ef | grep -i ntp
root 1520 1 0 17:41:00 ? 0:00 /usr/sbin/xntpd
[rx260-15]/
#
6. ut while checking with ntpq -p iam getting error.
# ntpq -p
No association ID's returned
[rx260-15]/
#
Could you pls support Urgrntly?
Rgds Sree
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2009 02:59 PM
тАО10-24-2009 02:59 PM
Solution
> 1. changed my time zone to desired one
The timezone for all users when they login is stored in the file: /etc/TIMEZONE. Change this file so the TZ value will be retained between reboots.
> 2.Adjusted system time.
This is correct since your current TZ value matches your local time.
> 3 In /etc/rc.config.d/netdaemons :
You must change two lines:
export NTPDATE_SERVER=16.118.112.14
export XNTPD=1
This is the NTP server that will be used when you reboot or start the xntpd server with /sbin/init.d/xntpd
> 4. In /etc/ntp.conf :
> rx260-15 16.118.112.141 --added [my ntp server]
The first word is "server", not the name of a server. The correct format is:
server 16.118.112.141
fudge 127.127.1.1 stratum 10
driftfile /etc/ntp.drift
The fudge entry is used to keep time with the local clock until the NTP server comes back online. The driftfile is needed to track the local server's drift.
> 5.manualy started the ntp daemon:
> /sbin/init.d/xntpd start
That is correct but you must look in syslog.log to see the results. The results of the xntpd start will be at the end of /var/adm/syslog/syslog.log but will repeat the results that you saw with ntpq.
> # ntpq -p
> No association ID's returned
This is due to the error in ntp.conf. However, it is a better idea to test your ntp server by asking it where it obtains its time information:
ntpq -p 16.118.112.141
This should return something like this:
remote refid st t when poll reach delay offset disp
==============================================================================
+phoenix.netserv rolex.netservic 2 u 239 1024 377 49.27 -1.744 0.67
(this will be lined up better on your screen)
However, if the 16.118.112.141 server is not providing NTP services or does not exist, you'll get errors.
Bill Hassell, sysadmin
The timezone for all users when they login is stored in the file: /etc/TIMEZONE. Change this file so the TZ value will be retained between reboots.
> 2.Adjusted system time.
This is correct since your current TZ value matches your local time.
> 3 In /etc/rc.config.d/netdaemons :
You must change two lines:
export NTPDATE_SERVER=16.118.112.14
export XNTPD=1
This is the NTP server that will be used when you reboot or start the xntpd server with /sbin/init.d/xntpd
> 4. In /etc/ntp.conf :
> rx260-15 16.118.112.141 --added [my ntp server]
The first word is "server", not the name of a server. The correct format is:
server 16.118.112.141
fudge 127.127.1.1 stratum 10
driftfile /etc/ntp.drift
The fudge entry is used to keep time with the local clock until the NTP server comes back online. The driftfile is needed to track the local server's drift.
> 5.manualy started the ntp daemon:
> /sbin/init.d/xntpd start
That is correct but you must look in syslog.log to see the results. The results of the xntpd start will be at the end of /var/adm/syslog/syslog.log but will repeat the results that you saw with ntpq.
> # ntpq -p
> No association ID's returned
This is due to the error in ntp.conf. However, it is a better idea to test your ntp server by asking it where it obtains its time information:
ntpq -p 16.118.112.141
This should return something like this:
remote refid st t when poll reach delay offset disp
==============================================================================
+phoenix.netserv rolex.netservic 2 u 239 1024 377 49.27 -1.744 0.67
(this will be lined up better on your screen)
However, if the 16.118.112.141 server is not providing NTP services or does not exist, you'll get errors.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2009 02:44 AM
тАО10-25-2009 02:44 AM
Re: No association ID's returned--Getting error while ntpq -p
Hello Hassel,
Thanks a lot!! It worked.I have applied the changes that you mentioned.
One personal question to Hassel..Can I get your gmail id if you have ..Since Iam in an implimentaion of few servers so that I can get the valuble help from you if you are free!!!!!
Thanks a lot!! It worked.I have applied the changes that you mentioned.
One personal question to Hassel..Can I get your gmail id if you have ..Since Iam in an implimentaion of few servers so that I can get the valuble help from you if you are free!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2009 02:46 AM
тАО10-25-2009 02:46 AM
Re: No association ID's returned--Getting error while ntpq -p
This topic can be closed
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