1836416 Members
2426 Online
110100 Solutions
New Discussion

Re: xntpd

 

xntpd

Hello. I am trying to get xntpd working on an L2000 (hp-ux 11.0)

here is my /etc/ntp.conf :

server tock.usnogps.navy.mil
version 2 prefer
broadcast 201.201.2.255 version 2
broadcastclient no
broadcast 201.201.2. version 3

When I execute /sbin/init.d/xntpd start I get an error /sbin/init.d/xntpd[36]: ROUTE_COUNT:: not found.
1 May 12:11:52 ntpdate[20962]: step time server 204.34.198.41 offset -0.000150 sec .

xntpd daemon doesn't appear in ps -eaf.

/etc/rc.config.d/netconf shows this :
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=201.201.2.2
ROUTE_COUNT[0]=1

I can't start this server from sam either. Basically, what I need to do is have the hp boxen sync with the mil. time server and broadcast to the internal network (201.201.2.0/24). Thank you for any insight to my problems.

Matthew Bettinger
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500
31 REPLIES 31
Steven E. Protter
Exalted Contributor

Re: xntpd

If it helps, here is mine.

48 INTERFACE_NAME[0]="lan1"
49 IP_ADDRESS[0]="10.1.11.50"
50 SUBNET_MASK[0]="255.255.0.0"
51 BROADCAST_ADDRESS[0]=""
52 INTERFACE_STATE[0]=""
53 DHCP_ENABLE[0]=0

91 ROUTE_DESTINATION[0]="default"
92 ROUTE_MASK[0]=""
93 ROUTE_GATEWAY[0]="10.1.10.1"
94 ROUTE_COUNT[0]="1"
95 ROUTE_ARGS[0]=""

I don't think the double quotes are needed but there they are.

HP-UX 11.11
64 bit
rp 5450(L2000)

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: xntpd

Sir,
Thank for the reply. I wrapped quotes around the values but still getting the same error.

Matthew Bettinger
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500
Sachin Patel
Honored Contributor

Re: xntpd

Can you ping server ?204.34.198.41 i.e tock.usnogps.navy.mil

"" was used on older hpux and they are there for backward compatibility.

If you can't ping server then you have to fix your route first.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Can you ping server ?204.34.198.41 i.e tock.usnogps.navy.mil

"" was used on older hpux and they are there for backward compatibility.

If you can't ping server then you have to fix your route first.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Can you ping server ?204.34.198.41 i.e tock.usnogps.navy.mil

"" was used on older hpux and they are there for backward compatibility.

If you can't ping server then you have to fix your route first.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Can you ping server ?204.34.198.41 i.e tock.usnogps.navy.mil

"" was used on older hpux and they are there for backward compatibility.

If you can't ping server then you have to fix your route first.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Can you ping server ?204.34.198.41 i.e tock.usnogps.navy.mil

"" was used on older hpux and they are there for backward compatibility.

If you can't ping server then you have to fix your route first.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Can you ping server ?204.34.198.41 i.e tock.usnogps.navy.mil

"" was used on older hpux and they are there for backward compatibility.

If you can't ping server then you have to fix your route first.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Can you ping server ?204.34.198.41 i.e tock.usnogps.navy.mil

"" was used on older hpux and they are there for backward compatibility.

If you can't ping server then you have to fix your route first.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Can you ping server ?204.34.198.41 i.e tock.usnogps.navy.mil

"" was used on older hpux and they are there for backward compatibility.

If you can't ping server then you have to fix your route first.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Can you ping server ?204.34.198.41 i.e tock.usnogps.navy.mil

"" was used on older hpux and they are there for backward compatibility.

If you can't ping server then you have to fix your route first.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Can you ping server ?204.34.198.41 i.e tock.usnogps.navy.mil

"" was used on older hpux and they are there for backward compatibility.

If you can't ping server then you have to fix your route first.

Sachin
Is photography a hobby or another way to spend $

Re: xntpd

Some more information:
bash-2.04# touch ntp.log
bash-2.04# xntpd -c /etc/ntp.conf -l ntp.log
bash-2.04# more ntp.log
1 May 14:04:14 xntpd[2808]: logging to file ntp.log
1 May 14:04:14 xntpd[2808]: xntpd version 3.5f: Sat Apr 14 15:04:53 IST 2001 P
HNE_23697
1 May 14:04:14 xntpd[2808]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
1 May 14:04:14 xntpd[2808]: precision = 7 usec
1 May 14:04:14 xntpd[2808]: bind() fd 11, family 2, port 123, addr c9c902ff, in
_classd=0 flags=0 fails: Address already in use



BTW we have two network cards in this box. They have different IP address and one default route.

Regards,

Matthew Bettinger
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500

Re: xntpd

Some more information:
bash-2.04# touch ntp.log
bash-2.04# xntpd -c /etc/ntp.conf -l ntp.log
bash-2.04# more ntp.log
1 May 14:04:14 xntpd[2808]: logging to file ntp.log
1 May 14:04:14 xntpd[2808]: xntpd version 3.5f: Sat Apr 14 15:04:53 IST 2001 P
HNE_23697
1 May 14:04:14 xntpd[2808]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
1 May 14:04:14 xntpd[2808]: precision = 7 usec
1 May 14:04:14 xntpd[2808]: bind() fd 11, family 2, port 123, addr c9c902ff, in
_classd=0 flags=0 fails: Address already in use



BTW we have two network cards in this box. They have different IP address and one default route.

Regards,

Matthew Bettinger
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500

Re: xntpd

Some more information:
bash-2.04# touch ntp.log
bash-2.04# xntpd -c /etc/ntp.conf -l ntp.log
bash-2.04# more ntp.log
1 May 14:04:14 xntpd[2808]: logging to file ntp.log
1 May 14:04:14 xntpd[2808]: xntpd version 3.5f: Sat Apr 14 15:04:53 IST 2001 P
HNE_23697
1 May 14:04:14 xntpd[2808]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
1 May 14:04:14 xntpd[2808]: precision = 7 usec
1 May 14:04:14 xntpd[2808]: bind() fd 11, family 2, port 123, addr c9c902ff, in
_classd=0 flags=0 fails: Address already in use



BTW we have two network cards in this box. They have different IP address and one default route.

Regards,

Matthew Bettinger
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500

Re: xntpd

Some more information:
bash-2.04# touch ntp.log
bash-2.04# xntpd -c /etc/ntp.conf -l ntp.log
bash-2.04# more ntp.log
1 May 14:04:14 xntpd[2808]: logging to file ntp.log
1 May 14:04:14 xntpd[2808]: xntpd version 3.5f: Sat Apr 14 15:04:53 IST 2001 P
HNE_23697
1 May 14:04:14 xntpd[2808]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
1 May 14:04:14 xntpd[2808]: precision = 7 usec
1 May 14:04:14 xntpd[2808]: bind() fd 11, family 2, port 123, addr c9c902ff, in
_classd=0 flags=0 fails: Address already in use



BTW we have two network cards in this box. They have different IP address and one default route.

Regards,

Matthew Bettinger
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500

Re: xntpd

Some more information:
bash-2.04# touch ntp.log
bash-2.04# xntpd -c /etc/ntp.conf -l ntp.log
bash-2.04# more ntp.log
1 May 14:04:14 xntpd[2808]: logging to file ntp.log
1 May 14:04:14 xntpd[2808]: xntpd version 3.5f: Sat Apr 14 15:04:53 IST 2001 P
HNE_23697
1 May 14:04:14 xntpd[2808]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
1 May 14:04:14 xntpd[2808]: precision = 7 usec
1 May 14:04:14 xntpd[2808]: bind() fd 11, family 2, port 123, addr c9c902ff, in
_classd=0 flags=0 fails: Address already in use



BTW we have two network cards in this box. They have different IP address and one default route.

Regards,

Matthew Bettinger
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500

Re: xntpd

Some more information:
bash-2.04# touch ntp.log
bash-2.04# xntpd -c /etc/ntp.conf -l ntp.log
bash-2.04# more ntp.log
1 May 14:04:14 xntpd[2808]: logging to file ntp.log
1 May 14:04:14 xntpd[2808]: xntpd version 3.5f: Sat Apr 14 15:04:53 IST 2001 P
HNE_23697
1 May 14:04:14 xntpd[2808]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
1 May 14:04:14 xntpd[2808]: precision = 7 usec
1 May 14:04:14 xntpd[2808]: bind() fd 11, family 2, port 123, addr c9c902ff, in
_classd=0 flags=0 fails: Address already in use



BTW we have two network cards in this box. They have different IP address and one default route.

Regards,

Matthew Bettinger
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500

Re: xntpd

Sorry about multiple posts. hp site is lagging... *click* *click*
Sachin Patel
Honored Contributor

Re: xntpd

Matthew,
Sorry about mutliple as well.
It gots interesting.
I am in houston as well.

Can you ping that server?

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Matthew,
Sorry about mutliple as well.
It gots interesting.
I am in houston as well.

Can you ping that server?

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Hi Mathew,

Sorry about multiple.

Canyou ping server?

I am in houston too.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Hi Mathew,

Sorry about multiple.

Canyou ping server?

I am in houston too.

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: xntpd

Hi Mathew,

Sorry about multiple.

Canyou ping server?

I am in houston too.

Sachin
Is photography a hobby or another way to spend $