Results 1 to 2 of 2

Thread: ntpdate script does not seem to start at the right time.

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    27

    ntpdate script does not seem to start at the right time.

    Still working through the documentation but there's a ntpdate script in /etc/init.d and, on boot up, it appears that it is trying to load before ppp is set up. However, when I look in /etc/rcS.d, the ntpdate scripts starts with s51 while the ppp script starts with s38. According to my understanding, this should be OK since that means ppp should start before ntpdate.

    Am I missing something?

    Thanks

    Joe

  2. #2
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    27

    Okay, might have a solution...

    I did the following (as root):

    First, I backed up my ntpdate script:

    mv /etc/init.d/ntpdate /etc/init.d/ntpdate.bak

    Then, I removed it from startup (it was at s51):

    update-rc.d ntpdate remove

    Then, I restored the ntpdate script:

    mv /etc/init.d/ntpdate.bak /etc/init.d/ntpdate

    Then, I reinstalled it at 80

    update-rc.d ntpdate defaults 80

    Only problem is that the echo'd messages don't show since it's probably the last thing that happens at boot. OTOH - The clock is correct as compared to my cell phone and daylight savings time is coming up so I should know if it worked or not by then for sure.

Similar Threads

  1. Start script on shutdown
    By spyhome in forum Customising & Remastering
    Replies: 0
    Last Post: 05-07-2005, 04:35 PM
  2. how to make sshd start automatically at boot time?
    By lothario in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 08-18-2004, 09:14 PM
  3. Hellp with script execution at boot time
    By Ish Rattan in forum General Support
    Replies: 1
    Last Post: 05-15-2004, 03:46 AM
  4. start sshd at boot time
    By lothario in forum General Support
    Replies: 6
    Last Post: 04-29-2004, 09:47 AM
  5. how do I start Apache and samba at bootup time?
    By bubazoo in forum General Support
    Replies: 6
    Last Post: 11-22-2003, 06:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell EMC NX3230 Server picture

Dell EMC NX3230 Server

$599.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$340.00



Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro picture

Dell Precision T3600 | Xeon E5 | 16GB | GPU | 128GB SSD | Win 10 Pro

$115.00



Dell PowerEdge R610 picture

Dell PowerEdge R610

$80.00



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



HP Z4G4 Intel Xeon W2133-3.6 GHz, 256 NVME, 6TB HDD, 32GB RAM P620 NO OS picture

HP Z4G4 Intel Xeon W2133-3.6 GHz, 256 NVME, 6TB HDD, 32GB RAM P620 NO OS

$265.00



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H picture

Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H

$27.99



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00