- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problems with NTP
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО03-01-2006 01:09 AM
тАО03-01-2006 01:09 AM
I can start the ntpserver and then it runs for a while (2 -3 minutes)
# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
c4506a.hln.ict4 gw1.ict4.net 3 u 45 64 17 1.01 -353409 1878.62
c4506b.hln.ict4 gw1.ict4.net 3 u 45 64 17 0.87 -353409 1880.19
And then.... it dies quietly and I get this message:
# ntpq -p
ntpq: read: Can't assign requested address
Can anyone tell me what causes this?
Thx
Karin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 04:01 AM
тАО03-01-2006 04:01 AM
Re: problems with NTP
# ntpq
ntpq>associations
ntpq>pstatus [assID from command above]
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 07:50 PM - last edited on тАО03-03-2021 09:12 PM by Parvez_Admin
тАО03-01-2006 07:50 PM - last edited on тАО03-03-2021 09:12 PM by Parvez_Admin
Re: problems with NTP
Hi,
try this thread:http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=995591
[Admin:The above link is not longer valid]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 08:52 PM
тАО03-01-2006 08:52 PM
Re: problems with NTP
I think that your firewall is blocking UDP port 123 or 125 . As it is a NTP client you must be specifying the server or hostname in your /etc/ntp.conf file also.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 11:03 PM
тАО03-01-2006 11:03 PM
Re: problems with NTP
after I started NTP I get this:
# ntpq
ntpq> associations
ind assID status conf reach auth condition last_event cnt
===========================================================
1 36804 8000 yes no
2 36805 8000 yes no
ntpq> pstatus 36804
status=9014 reach, conf, 1 event, event_reach
srcadr=c4506a.hln.ict4.net, srcport=123, dstadr=172.30.33.1,
dstport=123, keyid=0, stratum=3, precision=-18, rootdelay=62.68,
rootdispersion=21.48, refid=gw1.ict4.net,
reftime=c7b15933.8ae4b8d9 Thu, Mar 2 2006 11:44:51.542,
delay= 1.04, offset= -3636606.47, dispersion=15875.02, reach=001,
valid=0, hmode=3, pmode=4, hpoll=6, ppoll=6, leap=00, flash=0x0
org=c7b15946.27757ed0 Thu, Mar 2 2006 11:45:10.154,
rec=c7b1677a.c2d93000 Thu, Mar 2 2006 12:45:46.761,
xmt=c7b1677a.c294e000 Thu, Mar 2 2006 12:45:46.760,
filtdelay= 1.04 0.00 0.00 0.00 0.00 0.00 0.00 0.00,
filtoffset=-3636606.48 0.00 0.00 0.00 0.00 0.00 0.00 0.00,
filterror= 0.02 16000.00 16000.00 16000.00 16000.00 16000.00 16000.00 16000.0
ntpq> pstatus 36805
status=9014 reach, conf, 1 event, event_reach
srcadr=c4506b.hln.ict4.net, srcport=123, dstadr=172.30.33.1,
dstport=123, keyid=0, stratum=3, precision=-18, rootdelay=59.72,
rootdispersion=31.14, refid=gw1.ict4.net,
reftime=c7b15761.49de4a7d Thu, Mar 2 2006 11:37:05.288,
delay= 0.90, offset= -3636605.63, dispersion=15875.02, reach=001,
valid=0, hmode=3, pmode=4, hpoll=6, ppoll=6, leap=00, flash=0x0
org=c7b15946.27ad1e85 Thu, Mar 2 2006 11:45:10.154,
rec=c7b1677a.c2d57000 Thu, Mar 2 2006 12:45:46.761,
xmt=c7b1677a.c29a6000 Thu, Mar 2 2006 12:45:46.760,
filtdelay= 0.90 0.00 0.00 0.00 0.00 0.00 0.00 0.00,
filtoffset=-3636605.64 0.00 0.00 0.00 0.00 0.00 0.00 0.00,
filterror= 0.02 16000.00 16000.00 16000.00 16000.00 16000.00 16000.00 16000.0
ntpq>
After a few minutes I tried again (without exiting ntpq!):
ntpq> associations
ntpq: read: Can't assign requested address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 12:02 AM
тАО03-02-2006 12:02 AM
Solutionc4506a.hln.ict4 gw1.ict4.net 3 u 45 64 17 1.01 -353409 1878.62
c4506b.hln.ict4 gw1.ict4.net 3 u 45 64 17 0.87 -353409 1880.19
However, the offset is extremely high (353409). The suggestion is to jump-sync the clock on your local system at a time when applications are not running (or reboot). However, the error message (can't assign requested address) indicates that another process is using the NTP port. The most common error is running ntpdate in cron (an archaic method to maintain the timeclock). The correct way is to use xntpd to adjust the clock (slowly) all the time (every 64 to 1024 seconds). Remove any ntpdate entries in cron or other scripts and enable NTP in /etc/rc.config.d/netdaemons. Then search for any processes that are using port 123. lsof (you'll need to download this) can find them for you. kill these prcesses, then stop and restart xntpd with:
/sbin/init.d/xntpd stop
/sbin/init.d/xntpd start
Then check syslog regularly:
grep ntp /var/adm/syslog/syslog.log
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 06:29 PM
тАО03-02-2006 06:29 PM
Re: problems with NTP
Yesterday I've solved it. I first used ntpdate and started ntp. Now it is still running. So thanks a lot everybody.
Bye
Karin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2006 11:20 PM
тАО03-04-2006 11:20 PM
Re: problems with NTP
where are our points then?
Pablo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2006 05:53 PM
тАО03-05-2006 05:53 PM
Re: problems with NTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2021 12:37 PM
тАО03-03-2021 12:37 PM
Re: problems with NTP
I am still struggling with this issue and cant get it to budge.
any insight will be appreciated.
Tom