- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: xntp problem
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
Forums
Discussions
Discussions
Discussions
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
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
10-16-2003 11:28 PM
10-16-2003 11:28 PM
xntp problem
I've got a problem with xntpd on a L2000. I got the following message:
xntpd[16843]: xntpd version 3.5f: Fri Dec 10 10:27:26 GMT 1999 PHNE_19711
xntpd[16843]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
xntpd[16843]: precision = 7 usec
xntpd[16843]: bind() fd 12, family 2, port 123, addr c053e5ff, in_classd=0 flags=0 fails: Address already in use
I don't have an idea, what does this mean.
Thanks for help
Carsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 11:42 PM
10-16-2003 11:42 PM
Re: xntp problem
Looks like some other application is already using it.
Just use lsof to find out the process using the port
#lsof -i udp:123
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 11:48 PM
10-16-2003 11:48 PM
Re: xntp problem
'netstat -anf inet | grep 123'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 11:56 PM
10-16-2003 11:56 PM
Re: xntp problem
Nether lsof nor netstat gave any output about Port 123. So it seems that the port isn't in use.
Carsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 12:00 AM
10-17-2003 12:00 AM
Re: xntp problem
Just do a
#swlist -l fileset|grep PHNE_19711
can you post your /etc/ntp.conf file
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 12:03 AM
10-17-2003 12:03 AM
Re: xntp problem
Could you give is an extract of the ntp.conf file, like the server/peer/broadcast lines ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 12:04 AM
10-17-2003 12:04 AM
Re: xntp problem
I think your port is already in use. Have you started before any xntpd process before? Only one is allowed to run at time.
Perhaps you have a died ntpdate process anywhere? Check that and kill them if exist.
Have you lsof on your system. Do an
# lsof -i UDP:123
and wich process is running on that port.
HTH
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 12:18 AM
10-17-2003 12:18 AM
Re: xntp problem
Also lsof -i UDP:123 gave no answer.
Here the extract from ntp.conf:
peer rasrv2.cms.fra.dlh.de version 3 prefer
broadcastclient yes
driftfile /etc/ntp.drift
requestkey 65535
controlkey 65535
Thanks for help
Carsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 12:21 AM
10-17-2003 12:21 AM
Re: xntp problem
broadcastclient no
in your /etc/ntp.conf file.
Make sure that you update the latest NTP patch
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_27223&context=hpux:800:11:00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 01:17 AM
10-17-2003 01:17 AM
Re: xntp problem
have you a ntpq on your system?
If yes do a "ntpq -p".
What is the output.
HTH
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 01:52 AM
10-17-2003 01:52 AM
Re: xntp problem
i have take a deeper look on your output and i think i now why this happens.
Could it be that you have configured a value
for NTPDATE_SERVER in /etc/rc.config.d/netdaemons.
Set this value to null if you have configured xntpd.
If you have set it you get following message if you start xntpd
# /sbin/init.d/xntpd start
17 Oct 15:46:52 ntpdate[18858]: the NTP socket is in use, exiting
and in syslog you get this message.
bind() fd 4, family 2, port 123, addr 00000000, in
_classd=0 flags=1 fails: Address already in use
You see same message!!!
So stop your xntpd daemon and set this in /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=""
export XNTPD=1
export XNTPD_ARGS="-l /var/adm/syslog/ntp.log"
Restart your xntpd
/sbin/init.d/xntpd start
I have set a own log for the xntpd, because he sends a lot of messages and I did'nt want it in syslog.
HTH
Schoenes Wochenende !!!
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 02:04 AM
10-17-2003 02:04 AM
Re: xntp problem
Please read this:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Do it, please!!!
=|:-]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 09:31 PM
10-19-2003 09:31 PM
Re: xntp problem
ntpq -p gave the following output:
ntpq: read: Can't assign requested adddress
And the settings in /etc/rc.config.d/netdaemons didn't really help.
And if I do a telnet to port 123 it is possible to connect. So it seems the port isn't really in use.
Have anybody some other ideas.
regards
Carsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 09:40 PM
10-19-2003 09:40 PM
Re: xntp problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 09:48 PM
10-19-2003 09:48 PM
Re: xntp problem
have you checked that your /etc/services file is correct.
ntp 123/udp # Network Time Protocol
Only a idea !
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 10:00 PM
10-19-2003 10:00 PM
Re: xntp problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 10:51 PM
10-19-2003 10:51 PM
Re: xntp problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 01:43 AM
10-20-2003 01:43 AM
Re: xntp problem
I have attached how I have configured my DCF-77 Clock.
Sorry the document is in german, but I think that is Ok for you
HTH
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 09:39 AM
10-20-2003 09:39 AM
Re: xntp problem
netstat -an |grep 123
should show it listening.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 08:37 PM
10-20-2003 08:37 PM
Re: xntp problem
Everything is right with my configuration. And no port was occupied. The xntpd is running now. I think it was the executable /usr/sbin/xntpd. Maybe corrupt.
I've copied a xntpd from the second cluster node to tmp and execute without any error.
Now the question is how to repair xntp on this system without injuring the package management.
Thanks for your help
Best regards
Carsten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 09:07 PM
10-20-2003 09:07 PM
Re: xntp problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2003 09:23 PM
10-31-2003 09:23 PM
Re: xntp problem
FYI, we had the same problem of xntpd on 11i system. We also got "Address already in use" in syslogWe have overcome it by removing the latest ARPA patch PHNE_28089 and by installing the previous one PHNE_25664. PHNE_28089 has some tcp/udp open port problem.
best regards,
Richard