pfSense Gold Subscription

Author Topic: Services Status -NTPD- Reversed  (Read 5131 times)

0 Members and 1 Guest are viewing this topic.

Offline LostInIgnorance

  • Sr. Member
  • ****
  • Posts: 302
  • Karma: +0/-0
    • View Profile
Re: Services Status -NTPD- Reversed
« Reply #15 on: April 12, 2011, 12:16:56 pm »
yeah, been stuck since i updated the firewall last night. whats weird is if I uncheck the box, it shows running under services and gives me this as an output for that command
Code: [Select]
root   55531  1.0  0.2  3316  1052  ??  Ss   12:14PM   0:00.00 ntpd: [priv] (ntpd)
root   12897  0.0  0.2  3656   808  ??  IN   10:32PM   0:00.02 /bin/sh /usr/local/sbin/ntpdate_sync_once.sh
root   17460  0.0  0.2  3504   828  ??  IN   10:32PM   0:00.26 ntpdate -s -t 5 0.pfsense.pool.ntp.org
_ntp   55364  0.0  0.2  3316  1060  ??  S    12:14PM   0:00.01 ntpd: ntp engine (ntpd)
root   34601  0.0  0.1  1848   536  u0  R+   12:15PM   0:00.00 grep ntp
the 12:15 is dead on!
Running 2.0 Full i386 on a Soekris 5501-70 with a 80G HD

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14990
  • Karma: +4/-0
    • View Profile
Re: Services Status -NTPD- Reversed
« Reply #16 on: April 12, 2011, 12:18:21 pm »
Yes, when ntpdate_sync_once.sh runs it kills ntpd, syncs the time, and then restarts ntpd. If it gets stuck in the sync part, then it never restarts ntpd.

This is going to change here shortly, though. Don't bother investigating any more just yet.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline LostInIgnorance

  • Sr. Member
  • ****
  • Posts: 302
  • Karma: +0/-0
    • View Profile
Re: Services Status -NTPD- Reversed
« Reply #17 on: April 12, 2011, 12:20:41 pm »
Sweet, thanks pfSense team.
Running 2.0 Full i386 on a Soekris 5501-70 with a 80G HD

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14990
  • Karma: +4/-0
    • View Profile
Re: Services Status -NTPD- Reversed
« Reply #18 on: April 12, 2011, 12:54:07 pm »
Try to apply this change (or wait for a new snap dated after this post):

https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/cd11a1426d3c140918a74cb7e3efc500644e220c
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline LostInIgnorance

  • Sr. Member
  • ****
  • Posts: 302
  • Karma: +0/-0
    • View Profile
Re: Services Status -NTPD- Reversed
« Reply #19 on: April 12, 2011, 02:34:35 pm »
Reboot after making changes?
Running 2.0 Full i386 on a Soekris 5501-70 with a 80G HD

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14990
  • Karma: +4/-0
    • View Profile
Re: Services Status -NTPD- Reversed
« Reply #20 on: April 12, 2011, 02:49:51 pm »
That would be an ideal test, yes. At least kill all ntp and ntpdate processes and then edit/save the OpenNTPD settings.

Though a reboot would be the most accurate test.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline LostInIgnorance

  • Sr. Member
  • ****
  • Posts: 302
  • Karma: +0/-0
    • View Profile
Re: Services Status -NTPD- Reversed
« Reply #21 on: April 12, 2011, 02:55:00 pm »
Showing running on the services menu after making changes and rebooting.

Output of: "ps uxawww | grep ntp"
Code: [Select]
_ntp   53655  0.0  0.2  3316  1256  ??  S     2:50PM   0:00.01 ntpd: ntp engine (ntpd)
root   53981  0.0  0.3  3316  1280  ??  Ss    2:50PM   0:00.00 ntpd: [priv] (ntpd)
root   10769  0.0  0.2  3524  1096  u0  S+    2:52PM   0:00.01 grep ntp
Running 2.0 Full i386 on a Soekris 5501-70 with a 80G HD

Offline iFloris

  • Full Member
  • ***
  • Posts: 169
  • Karma: +0/-0
  • one layer of information removed
    • View Profile
    • Small personal site
Re: Services Status -NTPD- Reversed
« Reply #22 on: April 12, 2011, 02:56:27 pm »
After updating to the latest snap, all is green on my machine.
Thanks a lot jimp!
one layer of information
removed

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14990
  • Karma: +4/-0
    • View Profile
Re: Services Status -NTPD- Reversed
« Reply #23 on: April 12, 2011, 03:02:08 pm »
Should be good then, ntpd should always be running now, no ntpdate at all anymore.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline AhnHEL

  • Sr. Member
  • ****
  • Posts: 572
  • Karma: +0/-0
    • View Profile
Re: Services Status -NTPD- Reversed
« Reply #24 on: April 13, 2011, 03:30:44 am »
Yes!  Finally my network feels like Utopia again, many thanks JimP.
AhnHEL (Angel)
NYC

3 pfSense sites: 2.1 RELEASE (amd64)
Dell 745 SFF E4400 @ 2.0Ghz, 2GB RAM, 20/5 Mbps
Dell 755 SFF E6550 @ 2.3Ghz, 2GB RAM, 20/5 Mbps
White Box i5 3570k @ 4.4Ghz, 16GB RAM, 114/6 Mbps, SSD
OpenVPN (Site to Site, Road Warrior), IPSec Mobile, UPnP Gaming, Traffic Shaping, Snort, Suricata