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
  •  


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



WD4000FYYZ Western Digital 4TB SATA 3.5 Hard Drive  picture

WD4000FYYZ Western Digital 4TB SATA 3.5 Hard Drive

$149.99



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch picture

Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch

$109.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.25



TOSHIBA MD04ABA400V 4TB 128MB Cache SATA 6. 0Gb/s 3. 5

TOSHIBA MD04ABA400V 4TB 128MB Cache SATA 6. 0Gb/s 3. 5"

$18.00



Seagate ST12000NM0538 Exos X14 12TB 3.5

Seagate ST12000NM0538 Exos X14 12TB 3.5" SATA 6Gbps 3.5" Enterprise Hard Drive

$45.96



Seagate Enterprise Capacity v7 ST12000NM0127 12TB 7.2K RPM SATA 6Gb/s 512e HDD picture

Seagate Enterprise Capacity v7 ST12000NM0127 12TB 7.2K RPM SATA 6Gb/s 512e HDD

$40.12