Operating System - HP-UX
1833130 Members
3370 Online
110051 Solutions
New Discussion

XNTP : process dies and sync by stepping but need by slewing

 
Olivier DECORSE_1
Occasional Contributor

XNTP : process dies and sync by stepping but need by slewing

I've got a 10.20 client, and a 10.20 XNTP server. When i run xntpd on the client :
1) first, after sync with server, he dies : is it normaly and how to maintain it living ?
2) second, the sync is made with a jump (settimeofday), rather by slewing (adjust). How can the client sync slowly ?
i read Allan's question and related documents,
(http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x89126049dbb6d611abdb0090277a778c,00.html)
but did not find any help.
Thank's in advance.
Olivier.
5 REPLIES 5
Clemens van Everdingen
Honored Contributor

Re: XNTP : process dies and sync by stepping but need by slewing

Hi,

what ntp patch do you have on your system.

The latest patch is PHNE_24510.
From patch text:

Description: xntpd -x does step instead of slew.


C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
melvyn burnard
Honored Contributor

Re: XNTP : process dies and sync by stepping but need by slewing

It is also known that if the two nodes are more than 30 seconds apart in time difference when you start xntp on the client, it tries ot run for a while and then dies.
You need to ensure you havet he latest xntp patch installed, and ensure the time difference between the nodes is less than 30 seconds.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Bill Thorsteinson
Honored Contributor

Re: XNTP : process dies and sync by stepping but need by slewing

You may have to get and build the distribution, but the latest releases of ntp have the option to always slew the time. Another new option allows you to increase the time difference that ntp will allow.

Try the newest ntp patch first. Check the documentation at http://www.ntp.org.
Olivier DECORSE_1
Occasional Contributor

Re: XNTP : process dies and sync by stepping but need by slewing

Thank you for your responses !
I trie the following :
1) I install the latest patch (PHNE_24510)
2) i setup the client date with less than 20 secondes.

And i retry and view that xntpd do nothing, no update with step nor slew, and dies few minutes later.
There is no error in syslog.log and syslog.conf contains *.info /var/adm/syslog/syslog.log
The /etc/ntp.conf file just contains 1 line :
server x.y.z.t
I also try to ntpdate the client, so the difference of time between client and server is 0, but the xntpd client also dies after a few minutes.
Here is the ntpq results :
remote refid st t when poll reach delay offset disp
==============================================================================
x.y.z.t LOCAL(1) 4 u 17 64 17 0.87 45.806 1880.13

I verify that boxes have the same timezone, ie the same time in UTC.

What can i do now ?
Thank's in advance.
Olivier.
Olivier DECORSE_1
Occasional Contributor

Re: XNTP : process dies and sync by stepping but need by slewing

I found the problem, while reading other articles :
First, client HP9000 needs to be shutdown for realy use the new ntp.conf (!!??).
Second, xntpd needs option '-x' to work in 'slew' mode, rather than in 'step' mode.

Thank's for your help !!

Olivier.