ntpdate stops boot sequence if network is down

From: lombardi emanuele <lele_at_mantegna.casaccia.enea.it>
Date: Wed, 10 Nov 1999 09:43:55 +0100 (MET)

Dear colleagues,

I just setup xntpd (via ntpsetup) on all my True64 Unix 4.0d machines.
All is fine, but I discovered that if I boot a machine which is
disconnected from the network, the booting process stops while
executing /sbin/init.d/settime

In the above script the following command is executed

/usr/sbin/ntpdate -b o 3 myserver1 myserver2 myserver3

and it stops forever waiting for the net to come up.

It works properly if the net is up and the ntp servers do'nt reply,
but it stops the whole booting process if the net is down. In this case
I get the following messages on the console
....
Setting the current time and date with ntpdate

and the only way to continue the boot sequence is to manually CONTROL-C

I tried to insert the switch -t 1 in the ntpdate command, but the
result is the same (infact man says that -t 1 is set by default)

I think this is a disadvantage if the boot is an automatic reboot
following any unattended shutdown (power loss and others...)

Can you help me in solving this problem?

Thank you very much from Italy,
Emanuele



-- 
 Emanuele Lombardi
 mail:  AMB-GEM-CLIM ENEA Casaccia
        I-00060 S.M. di Galeria (RM)  ITALY
 mailto:lele_at_mantegna.casaccia.enea.it
 tel	+39 06 30483366 fax	+39 06 30483591
* This transmission was made possible by 100% recycled electrons.
                               |||
                               \|/  ;_;
What does a process need        |   /"\
to become a daemon ?            |   \v/
                                |    | 
- a fork                        o---/!\---
                                |   |_|
                                |  _/ \_
* Contrary to popular belief, UNIX is user friendly.
  It's just very particular about who it makes friends with.
* Computers are not intelligent, but they think they are. 
* True programmers never die, they just branch to an odd address
Received on Wed Nov 10 1999 - 08:45:51 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT