Re: ntpdate troubles

2002-06-24 Thread Karsten M. Self
on Wed, Jun 19, 2002, Jerome BENOIT ([EMAIL PROTECTED]) wrote:
 Thanks for your answers
 
 Bill Benedetto wrote:

 If you ran ntpdate directly, what machine did you tell
 ntpdate to use?  Something inside your building or something
 outside your building?
 
 
 outside my building

Is your firewall blocking udp packets?  ntp used udp, and won't work if
udp traffic isn't passed.

Typically, pings (icmp) are allowed, which may make diagnosing this
difficult.  tcpdump is your friend.

Peace.

-- 
Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
   KQED FM:  The bright spot on the dial:  http://www.kqed.org/fm/


pgpSyZm0Ertyf.pgp
Description: PGP signature


Re: ntpdate troubles

2002-06-21 Thread Jerome BENOIT

Thank you for your message.

My kernel is a standard one: 2.2.19 (potato).
But I biuld my own kernle with `make-kpkg'
(the debian tool to build quickly a personnalised):
may be I removed an option that I should not.

Since I have the same troubles with another
computer running with the kernel installed by Debian,
I guess that I have misconfigured my connect with the
local network.

Thanks,
Jerome

Bob Hauck wrote:

On Thu, 20 Jun 2002, Jerome BENOIT wrote:



Another stupid question: You *ARE* doing this as root, right?  It
has to be run as root.


Yes



The manpage for ntpdate says that -d won't actually set the
clock.  Does ntpdate -v -B ntp.apple.com work (that is, without
the -d)?


without the -d it does not work.

That the point:
I CANNOT set the clock !



Have you done any messing with capabilities?  In src/kernel/time.c:

/* In order to modify anything, you gotta be super-user! */
if (txc-modes  !capable(CAP_SYS_TIME))
return -EPERM;

Also, are you using a standard kernel or a custom one?  I'm thinking that
maybe the adjtimex() system call got broken somehow, as that's what
ntpdate uses to set the time.





--
Jerome BENOIT, Ph.D.
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ntpdate troubles

2002-06-20 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Jun 19, 2002 at 04:45:12PM -0400, Bill Benedetto wrote:

 Okay.  ntpdate with no REMOTE_MACHINE_NAME_GOES_HERE gives me
   no servers can be used, exiting

It wasn't a literal, he ment chose a time server to pick on and put it's
name there.  8:o)

- -- 
Baloo


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9EXErNtWkM9Ny9xURAqXqAJ9WnUq0O9r+K1geZr3BbagH/xMukwCdFt7t
vT3N8U5aspSdRkGs9kdBtew=
=odKD
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ntpdate troubles

2002-06-20 Thread Jerome BENOIT



Bill Benedetto wrote:

Jerome BENOIT writes:




  Jerome I have just tried
  Jerome
  Jerome ntpdate 17.254.0.26
  Jerome
  Jerome and I got exactly the same error message
  Jerome (17.254.0.26 is the ip btained via ping for ntp.apple.com)
  Jerome
  Jerome Very strange !

Really!

Let me see if I have this straight...

  ntpdate ntp.apple.com  FAILS... ?

  ntpdate 17.254.0.26FAILS... ?

  ntpdate -d -v -B ntp.apple.com  WORKS... ?

Do I have that correct?



Yes !

You can try with -q option as well.

I am suspecting a privilege error somewhere




- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto [EMAIL PROTECTED]The Goodyear Tire  Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.





--
Jerome BENOIT, Ph.D.
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ntpdate troubles

2002-06-20 Thread Jerome BENOIT



Bill Benedetto wrote:

  Bill Really!
  Bill 
  Bill Let me see if I have this straight...
  Bill 
  Bill ntpdate ntp.apple.com  FAILS... ?
  Bill 
  Bill ntpdate 17.254.0.26FAILS... ?
  Bill 
  Bill ntpdate -d -v -B ntp.apple.com  WORKS... ?
  Bill 
  Bill Do I have that correct?


  Jerome Yes !
  Jerome
  Jerome You can try with -q option as well.
  Jerome
  Jerome I am suspecting a privilege error somewhere

Another stupid question: You *ARE* doing this as root, right?  It
has to be run as root.


Yes



The manpage for ntpdate says that -d won't actually set the
clock.  Does ntpdate -v -B ntp.apple.com work (that is, without
the -d)?


without the -d it does not work.

That the point:
I CANNOT set the clock !

-d and -q seem to neutralize the setting operation:
in a few words, ntpdate only fails to set the clocks.



If not, then you are probably correct that it's a privilege
problem somewhere  Of course, at boot time it *WOULD* be run
as root.  Unless you are using a name at boot time and that name
is not being resolved into an IP.  Did you try rebooting, making
sure that ntpdate would use an IP at boot time?


There is the same error message in the syslog file.




So many questions.  So little time.  (No pun intended! :-)

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto [EMAIL PROTECTED]The Goodyear Tire  Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.




--
Jerome BENOIT, Ph.D.
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ntpdate troubles

2002-06-20 Thread Bill Benedetto

  Bill Another stupid question: You *ARE* doing this as root, right?  It
  Bill has to be run as root.

  Jerome Yes

  Bill The manpage for ntpdate says that -d won't actually set the
  Bill clock.  Does ntpdate -v -B ntp.apple.com work (that is, without
  Bill the -d)?

  Jerome without the -d it does not work.
  Jerome
  Jerome That the point:
  Jerome I CANNOT set the clock !
  Jerome
  Jerome -d and -q seem to neutralize the setting operation:
  Jerome in a few words, ntpdate only fails to set the clocks.

  Bill If not, then you are probably correct that it's a privilege
  Bill problem somewhere  Of course, at boot time it *WOULD* be run
  Bill as root.  Unless you are using a name at boot time and that name
  Bill is not being resolved into an IP.  Did you try rebooting, making
  Bill sure that ntpdate would use an IP at boot time?

  Jerome There is the same error message in the syslog file.

That is so cool! :-)

But the error says:

  no server suitable for synchronization found

which would not lead you to believe that you aren't allowed to
update the clock.  That message would lead you to believe that
you couldn't find or contact the host you want to ntpdate
against.

I have to admit that this is beyond me.  If you are really
  a) getting the same error message every time (no server
 suitable for synchronization found) and
  b) you are running as root and
  c) you are using the IP address (rather than a hostname) and 
  d) ntpdate works if you don't actually set the clock
 (that is, ntpdate works in debug mode) --
-- well, it sounds impossible.
Clearly it isn't since you have the problem.

I've looked through the manpages for ntpdate and ntpd to see if
they might yield a clue but didn't see anything.

Sorry Jerome, but I am out of ideas at the moment.

Anyone else have any ideas/suggestions?

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto [EMAIL PROTECTED]The Goodyear Tire  Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ntpdate troubles

2002-06-20 Thread Bob Hauck
On Thu, 20 Jun 2002, Jerome BENOIT wrote:

  Another stupid question: You *ARE* doing this as root, right?  It
  has to be run as root.

 Yes

 
  The manpage for ntpdate says that -d won't actually set the
  clock.  Does ntpdate -v -B ntp.apple.com work (that is, without
  the -d)?

 without the -d it does not work.

 That the point:
 I CANNOT set the clock !

Have you done any messing with capabilities?  In src/kernel/time.c:

/* In order to modify anything, you gotta be super-user! */
if (txc-modes  !capable(CAP_SYS_TIME))
return -EPERM;

Also, are you using a standard kernel or a custom one?  I'm thinking that
maybe the adjtimex() system call got broken somehow, as that's what
ntpdate uses to set the time.


-- 
 -| Bob Hauck
 -| To Whom You Are Speaking
 -| http://www.haucks.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



ntpdate troubles

2002-06-19 Thread Jerome BENOIT

Bonjour,

since a while I have troubles with `ntpdate':
I get the message

no server suitable for synchronization found

when lauching with no option.

But when I add the option -q or -d everythings look right:

I quess I have missed something,
but I do not know what.

Any idea ?

Thanks in advance,
Jerome BENOIT
--
Jerome BENOIT, Ph.D.
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ntpdate troubles

2002-06-19 Thread Alvin Oga

hi ya

is ntpd also running while you manually invoke ntpdate ??
( you have to kill ntpd first )

what does ntpdate -v ntp.foo.com give you ??
- should give lots of info  if it connected

( i pick on ntp.apple.com since they're up the street )

sample ntp testing commands options
http://www.Linux-Consulting.com/NTP/NTP.Commands.txt

c ya
alvin

eg...

ntpdate -v ntp.apple.com
19 Jun 09:49:57 ntpdate[30810]: ntpdate 3-5.93 Sun May 10 16:52:03 EDT
1998 (1)
19 Jun 09:49:59 ntpdate[30810]: step time server 17.254.0.31 offset
0.834560 sec
- its a little off eh ??...


On Wed, 19 Jun 2002, Jerome BENOIT wrote:

 Bonjour,
 
 since a while I have troubles with `ntpdate':
 I get the message
 
 no server suitable for synchronization found
 
 when lauching with no option.
 
 But when I add the option -q or -d everythings look right:
 
 I quess I have missed something,
 but I do not know what.
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[Fwd: Re: ntpdate troubles]

2002-06-19 Thread Jerome BENOIT



 Original Message 
Subject: Re: ntpdate troubles
Date: Wed, 19 Jun 2002 20:03:29 +0300
From: Jerome BENOIT [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Alvin Oga [EMAIL PROTECTED]
References: 
[EMAIL PROTECTED]




Alvin Oga wrote:
 hi ya

 is ntpd also running while you manually invoke ntpdate ??
( you have to kill ntpd first )
no



 what does ntpdate -v ntp.foo.com give you ??
- should give lots of info  if it connected

( i pick on ntp.apple.com since they're up the street )


I get  exactly the same thing:

if I try

ntpdate -d -v ntp.apple.com

I get

 
19 Jun 20:01:51 ntpdate[1490]: ntpdate 4.0.99g Thu Apr  5 22:38:32 EDT
2001 (1)
transmit(17.254.0.31)
receive(17.254.0.31)
transmit(17.254.0.31)
receive(17.254.0.31)
transmit(17.254.0.31)
receive(17.254.0.31)
transmit(17.254.0.31)
receive(17.254.0.31)
transmit(17.254.0.31)
server 17.254.0.31, port 123
stratum 2, precision -14, leap 00, trust 000
refid [17.254.0.49], delay 0.28799, dispersion 0.00087
transmitted 4, in filter 4
reference time:c0bb3757.bb0c88a4  Wed, Jun 19 2002 20:01:11.730
originate timestamp: c0bb37cd.2c18e757  Wed, Jun 19 2002 20:03:09.172
transmit timestamp:  c0bb3780.b944bb1a  Wed, Jun 19 2002 20:01:52.723
filter delay:  0.28799  0.29434  0.30397  0.28821
  0.0  0.0  0.0  0.0
filter offset: 76.31691 76.31817 76.32063 76.31715
  0.00 0.00 0.00 0.00
delay 0.28799, dispersion 0.00087
offset 76.316911

19 Jun 20:01:52 ntpdate[1490]: step time server 17.254.0.31 offset
76.316911 sec



 sample ntp testing commands options
http://www.Linux-Consulting.com/NTP/NTP.Commands.txt

 c ya
 alvin

 eg...

 ntpdate -v ntp.apple.com
 19 Jun 09:49:57 ntpdate[30810]: ntpdate 3-5.93 Sun May 10 16:52:03 EDT
 1998 (1)
 19 Jun 09:49:59 ntpdate[30810]: step time server 17.254.0.31 offset
 0.834560 sec
- its a little off eh ??...


 On Wed, 19 Jun 2002, Jerome BENOIT wrote:


Bonjour,

since a while I have troubles with `ntpdate':
I get the message

no server suitable for synchronization found

when lauching with no option.

But when I add the option -q or -d everythings look right:

I quess I have missed something,
but I do not know what.






--
Jerome BENOIT, Ph.D.
[EMAIL PROTECTED]



--
Jerome BENOIT, Ph.D.
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ntpdate troubles (fwd)

2002-06-19 Thread Alvin Oga


-- Forwarded message --
Date: Wed, 19 Jun 2002 11:10:29 -0700 (PDT)
From: Alvin Oga [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Alvin Oga [EMAIL PROTECTED]
Subject: Re: ntpdate troubles


hi ya

i think you are outside the range of ntpdate to fix


it will only allow a few second difference... and will give
up sync'ing if you're outside the range...

i usually manually reset the time to within a few seconds
and than try to get ntpdate to sync then use ntpd

 
 ntpdate -d -v ntp.apple.com

 19 Jun 20:01:52 ntpdate[1490]: step time server 17.254.0.31 offset 
 76.316911 sec


76 is too much differences ??


have fun
alvin 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ntpdate troubles

2002-06-19 Thread Bill Benedetto
 Jerome BENOIT writes:

  Jerome since a while I have troubles with `ntpdate':
  Jerome I get the message
  Jerome
  Jerome no server suitable for synchronization found
  Jerome
  Jerome when lauching with no option.
  Jerome
  Jerome But when I add the option -q or -d everythings look right:
  Jerome
  Jerome I quess I have missed something,
  Jerome but I do not know what.
  Jerome
  Jerome Any idea ?

(1) You know that ntpdate just sets the date, one time, against
another machine via NTP, right?

(2) Did you use
 /etc/init.d/ntpdate start
or did you run ntpdate directly?

If you ran ntpdate directly, what machine did you tell
ntpdate to use?  Something inside your building or something
outside your building?

So many questions.  So little time.

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto [EMAIL PROTECTED]The Goodyear Tire  Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ntpdate troubles

2002-06-19 Thread Jerome BENOIT

Thanks for your answers

Bill Benedetto wrote:

Jerome BENOIT writes:




  Jerome since a while I have troubles with `ntpdate':
  Jerome I get the message
  Jerome
  Jerome no server suitable for synchronization found
  Jerome
  Jerome when lauching with no option.
  Jerome
  Jerome But when I add the option -q or -d everythings look right:
  Jerome
  Jerome I quess I have missed something,
  Jerome but I do not know what.
  Jerome
  Jerome Any idea ?

(1) You know that ntpdate just sets the date, one time, against
another machine via NTP, right?


Yup !



(2) Did you use
 /etc/init.d/ntpdate start


at boot time



or did you run ntpdate directly?



only to debug


If you ran ntpdate directly, what machine did you tell
ntpdate to use?  Something inside your building or something
outside your building?



outside my building




So many questions.  So little time.

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto [EMAIL PROTECTED]The Goodyear Tire  Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.




--
Jerome BENOIT, Ph.D.
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ntpdate troubles

2002-06-19 Thread Bill Benedetto

  Bill (2) Did you use
  Bill /etc/init.d/ntpdate start

  Jerome at boot time

  Bill or did you run ntpdate directly?

  Jerome only to debug

  Bill If you ran ntpdate directly, what machine did you tell
  Bill ntpdate to use?  Something inside your building or something
  Bill outside your building?

  Jerome outside my building

Okay.  It works okay at boot time?

When you ran it by hand to debug it, the command looked something
like this, right?

  ntpdate -b REMOTE_MACHINE_NAME_GOES_HERE

That is, you did tell ntpdate the name of the machine that you
are ntpdate'ing against, right?

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto [EMAIL PROTECTED]The Goodyear Tire  Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ntpdate troubles

2002-06-19 Thread Jerome BENOIT



Bill Benedetto wrote:

  Bill (2) Did you use
  Bill /etc/init.d/ntpdate start

  Jerome at boot time

  Bill or did you run ntpdate directly?

  Jerome only to debug

  Bill If you ran ntpdate directly, what machine did you tell
  Bill ntpdate to use?  Something inside your building or something
  Bill outside your building?

  Jerome outside my building

Okay.  It works okay at boot time?


No !
It is why I debg it: I get exactly the samr message error in 
`/var/log/syslog'.





When you ran it by hand to debug it, the command looked something
like this, right?

  ntpdate -b REMOTE_MACHINE_NAME_GOES_HERE


without the -b , but with -d -v -B



That is, you did tell ntpdate the name of the machine that you
are ntpdate'ing against, right?

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto [EMAIL PROTECTED]The Goodyear Tire  Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.





--
Jerome BENOIT, Ph.D.
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ntpdate troubles

2002-06-19 Thread Joris
 Okay.  It works okay at boot time?
 No !
 It is why I debg it: I get exactly the samr message error in
 `/var/log/syslog'.

on my machine, I haven't got ntpdate to work out the hostnames of any ntp
server. I just pinged them, copied the ip's and dpkg-reconfigure'd ntp to
look for the ip's. It has worked ever since.
Success,

Joris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ntpdate troubles

2002-06-19 Thread Bill Benedetto

  Bill Okay.  It works okay at boot time?

  Jerome No !
  Jerome It is why I debg it: I get exactly the samr message error in 
  Jerome `/var/log/syslog'.

  Bill 
  Bill When you ran it by hand to debug it, the command looked something
  Bill like this, right?
  Bill 
  Bill ntpdate -b REMOTE_MACHINE_NAME_GOES_HERE

  Jerome without the -b , but with -d -v -B

Okay.  ntpdate with no REMOTE_MACHINE_NAME_GOES_HERE gives me
  no servers can be used, exiting

I chose a machine in my building and get
  adjust time server 192.168.0.5 offset 0.000451 sec

I chose a building outside my building (which I probably can't
get to because of all our stoopid firewalls and got
  no server suitable for synchronization found

So I would guess this means that you cannot get to the machine
you are ntpdate'ing against.  You showed that it worked when you
did it against ntp.apple.com.  I assume that it also works when
you debug it by hand?  If so, I would guess that Joris'
suggestion is a good one:

  Joris on my machine, I haven't got ntpdate to work out the
  Joris hostnames of any ntp server. I just pinged them, copied
  Joris the ip's and dpkg-reconfigure'd ntp to look for the
  Joris ip's. It has worked ever since.

Meaning that ntpdate is using a hostname but resolve the hostname
into an IP...  I think... :-)

HTH,

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto [EMAIL PROTECTED]The Goodyear Tire  Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ntpdate troubles

2002-06-19 Thread Jerome BENOIT


So I would guess this means that you cannot get to the machine
you are ntpdate'ing against.  You showed that it worked when you
did it against ntp.apple.com.  I assume that it also works when
you debug it by hand?  If so, I would guess that Joris'
suggestion is a good one:

  Joris on my machine, I haven't got ntpdate to work out the
  Joris hostnames of any ntp server. I just pinged them, copied
  Joris the ip's and dpkg-reconfigure'd ntp to look for the
  Joris ip's. It has worked ever since.




I have just tried

ntpdate 17.254.0.26

and I got exactly the same error message
(17.254.0.26 is the ip btained via ping for ntp.apple.com)

Very strange !


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ntpdate troubles

2002-06-19 Thread Bill Benedetto
Brother.  I must be pretty tired.

See my corrections below

--- Forwarded Message

Date:Wed, 19 Jun 2002 16:29:13 -0400
From:[EMAIL PROTECTED]
Subject: Re: ntpdate troubles 


  Bill Okay.  It works okay at boot time?

  Jerome No !
  Jerome It is why I debg it: I get exactly the samr message error in 
  Jerome `/var/log/syslog'.

  Bill 
  Bill When you ran it by hand to debug it, the command looked something
  Bill like this, right?
  Bill 
  Bill ntpdate -b REMOTE_MACHINE_NAME_GOES_HERE

  Jerome without the -b , but with -d -v -B

Okay.  ntpdate with no REMOTE_MACHINE_NAME_GOES_HERE gives me
  no servers can be used, exiting

I chose a machine in my building and get
  adjust time server 192.168.0.5 offset 0.000451 sec

I chose a *MACHINE* outside my building (which I probably can't
get to because of all our stoopid firewalls*)* and got
  no server suitable for synchronization found

So I would guess this means that you cannot get to the machine
you are ntpdate'ing against.  You showed that it worked when you
did it against ntp.apple.com.  I assume that it also works when
you debug it by hand?  If so, I would guess that Joris'
suggestion is a good one:

  Joris on my machine, I haven't got ntpdate to work out the
  Joris hostnames of any ntp server. I just pinged them, copied
  Joris the ip's and dpkg-reconfigure'd ntp to look for the
  Joris ip's. It has worked ever since.

Meaning that ntpdate is using a hostname but *CANNOT* resolve the hostname
into an IP...  I think... :-)

HTH,

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto [EMAIL PROTECTED]The Goodyear Tire  Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




--- End of Forwarded Message


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ntpdate troubles

2002-06-19 Thread Bill Benedetto
 Jerome BENOIT writes:

  Jerome I have just tried
  Jerome
  Jerome ntpdate 17.254.0.26
  Jerome
  Jerome and I got exactly the same error message
  Jerome (17.254.0.26 is the ip btained via ping for ntp.apple.com)
  Jerome
  Jerome Very strange !

Really!

Let me see if I have this straight...

  ntpdate ntp.apple.com  FAILS... ?

  ntpdate 17.254.0.26FAILS... ?

  ntpdate -d -v -B ntp.apple.com  WORKS... ?

Do I have that correct?

- Bill
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Bill Benedetto [EMAIL PROTECTED]The Goodyear Tire  Rubber Co.
I don't speak for Goodyear and they don't speak for me.  We're both happy.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]