Operating System - HP-UX
1832609 Members
2522 Online
110043 Solutions
New Discussion

NTP - version B.11.0 - HELP PLEASE :0)

 
Manuales
Super Advisor

NTP - version B.11.0 - HELP PLEASE :0)

hi ..
I'm configuring the NTP in several servers

This server named server1 it was configured as client redirect to other server as "server", now that server as "server" is out of line, it is not working ....

Now this server lefts of being a client, it will be a SERVER to other clients .... The server in this case will be a server with version 11.0

i configure:
ntp.conf:

server 127.127.1.1
fudge 127.127.1.1 stratum 10

/etc/rc.config.d/netdaemons
NTPDATE_SERVER=
XNTPD=1
export XNTPD_ARGS=

i started xntpd:
/sbin/init.d/xntpd start


root@server1 # ps -fea | grep xntpd
root 24310 1 0 21:26:35 ? 0:00 /usr/sbin/xntpd


the syslog shows:
Aug 15 21:39:00 server1 xntpd[26716]: bind() fd 4, family 2, port 123, addr 00000000, in_classd=0 flags=1 fails: Address already in use

how can i change the address?
3 REPLIES 3
Joelmel Roche
Valued Contributor

Re: NTP - version B.11.0 - HELP PLEASE :0)

Hi,

Try this workaround:

o stop xntpd
/sbin/init.d/xntpd stop

o Verify xntpd is down
ps -ef | grep xntpd

o start xntpd
/sbin/init.d/xntpd start

or check patch in swlist

available in 11.00 GR patch PHNE_31821
Manuales
Super Advisor

Re: NTP - version B.11.0 - HELP PLEASE :0)

but ..
why is sent the message about address?

how can i change the address? i continue seeing the last server that was working as "SERVER" ....
Joelmel Roche
Valued Contributor

Re: NTP - version B.11.0 - HELP PLEASE :0)

hi,
Check this link..
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_31821&sel={hpux:11.00,}&BC=main|search|

» view selected patch list
The recommended patch is : PHNE_31821
The most recent patch is : PHNE_31821


Patch Name: PHNE_31821

Patch Description: s700_800 11.00 NTP timeservices upgrade plus utilities

Creation Date: 04/09/27

Post Date: 04/12/15

Hardware Platforms - OS Releases:
s700: 11.00
s800: 11.00

Products: N/A

Filesets:
InternetSrvcs.INETSVCS-BOOT,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP
InternetSrvcs.INET-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP

Automatic Reboot?: No

Status: General Release

Critical: No

Category Tags:
defect_repair enhancement general_release

Path Name: /hp-ux_patches/s700_800/11.X/PHNE_31821

Symptoms:
PHNE_31821:
1. JAGae84006 / SR 8606321538:
When the PHNE_27223 patch is installed as part of a
patch bundle, with the reboot flag set, xntpd fails
to start during bootup and logs the following message
in the /var/adm/syslog/syslog.log file:
"Address already in use"

2. JAGaf27871 / SR 8606367307:
The ntpdate(1M) command sets the incorrect time when the
difference between the local time and the NTP server is
34 years or more.


Defect Description:
PHNE_31821:
1. JAGae84006 / SR 8606321538
When the xntpd patch PHNE_27223 or any of the previous
xntpd patches is installed as part of a patch bundle,
with reboot flag set, the xntpd patch configure script
attempts to start xntpd before the interfaces are
configured. Therefore, the /sbin/init.d/xntpd startup
script fails with the following message:
"Address already in use" when it tries to run
the /sbin/init.d/xntpd daemon after reboot.
Resolution:
xntpd patch scripts are now modified not to start the
xntpd daemon if a patch bundle, which includes the
xntpd patch PHNE_27223 or any of the previous xntpd
patches, reboots the system. Therefore, the
/sbin/init.d/xntpd startup script starts the xntpd
daemon.