23.09 Local NTP server "unrechable" (worked with 23.05.1)
-
Sorry left the reply open too long.
-
@johnpoz said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):
@conover said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):
Leap indicator: clock unsynchronized
Well that is saying the clock is not synchronized, so yeah don't think pfsense would consider that a valid time source to sync too.
Thanks, but the "clock unsynchronized" message is part of the packet from pfSense (.254) to the NTP server (.218)?
192.168.168.254.123 > 192.168.168.218.123: [udp sum ok] NTPv4, Client, length 48 Leap indicator: clock unsynchronized (192), Stratum 0 (unspecified), poll 6 (64s), precision -23 [...]
The answer is
192.168.168.218.123 > 192.168.168.254.123: [udp sum ok] NTPv4, Server, length 48 Leap indicator: (0), Stratum 1 (primary reference), poll 0 (1s), precision -18 [...]
Or am I totally wrong?
-
@conover yeah I caught that was the client - see my edit ;)
-
@johnpoz said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):
edit: oh that was your client.. Doh.. let me look a bit closer.. your getting zero for reach?
yes,
"Status / NTP" says Reach 0 for that NTP server (.218),
RefID is ".INIT." -
Interesting, explicitly using ntpdate works with that NTP server:
-
@conover do you have it set as peer vs server? I can duplicate your issue if set mine to peer vs server
-
@johnpoz Thanks! It was set to server in 23.05 config and it is unchanged. But out of curiosity I also tried "peer" with no change.
-
@conover so you flipped it to peer, and then you flipped it back?
What does your xml show? And your conf file
[23.09-RELEASE][admin@sg4860.local.lan]/etc: cat /var/etc/ntpd.conf # # pfSense ntp configuration file # tinker panic 0 # Orphan mode stratum and Maximum candidate NTP peers tos orphan 12 maxclock 5 # Upstream Servers server -4 192.168.3.32 iburst minpoll 6 maxpoll 10 prefer enable stats statistics clockstats loopstats peerstats statsdir /var/log/ntp logconfig =syncall +clockall +peerall +sysall driftfile /var/db/ntpd.drift restrict default kod limited nomodify nopeer notrap restrict -6 default kod limited nomodify nopeer notrap interface ignore all interface ignore wildcard interface listen igb3 interface listen igb0 interface listen igb4 interface listen igb2 interface listen igb2.6 interface listen igb2.4 interface listen igb5 interface listen lo0 [23.09-RELEASE][admin@sg4860.local.lan]/etc:
-
@johnpoz said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):
@conover so you flipped it to peer, and then you flipped it back?
Yes, exactly (and restarted the service after each switch to be sure)
What does your xml show? And your conf file
Which XML do you mean?
The conf file looks pretty much the same (but no minpoll) :
# # pfSense ntp configuration file # tinker panic 0 # Orphan mode stratum and Maximum candidate NTP peers tos orphan 12 maxclock 5 # Upstream Servers pool de.pool.ntp.org iburst maxpoll 9 server 192.168.168.218 iburst maxpoll 9 prefer statsdir /var/log/ntp logconfig =syncall +clockall driftfile /var/db/ntpd.drift restrict default kod limited nomodify nopeer notrap restrict -6 default kod limited nomodify nopeer notrap restrict source kod limited nomodify notrap interface ignore all interface ignore wildcard interface listen ix0.100 interface listen igc0 interface listen ix0.10 interface listen ix0 interface listen igc2
-
@conover that is odd for sure, clearly from you sniff looks like you got an answer..
I can't seem to duplicate it though, when on peer it never works, but set server and bam start seeing reach count up.
For grins! could you remove the pool and just point to your server..
-
@johnpoz said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):
@conover that is odd for sure, clearly from you sniff looks like you got an answer..
yes, absolutely, also ntpdate works and synchronizes the clock with the server
For grins! could you remove the pool and just point to your server..
same result
Is there an easy way to go back to 23.05? I would try if it's still working with that. If yes, it must be something with the 23.09 release....
-
If you installed ZFS there will be a BE snap from before the upgrade you can roll back to.
-
@conover said in 23.09 Local NTP server "unrechable" (worked with 23.05.1):
it must be something with the 23.09 release....
While I don't deny you have something wrong - I don't see how its something wrong with 23.09 in general. I point to a local ntp server, I am running 23.09 and not having any issues.
edit:
What is odd, is your status shows type s, pretty sure that means peer (symmetric).. while u would be normal if just pointing to a server - see mine from above shows u.. If I set mine to peer, it doesn't work and it changes to s, and if I look in the xml (do a backup download of your whole config) then open in your fav text editor and look for ntpdAs soon as change mine back to server, it starts working right away. See how the reach started counting and my type is u not s
edit:
https://docs.netgate.com/pfsense/en/latest/monitoring/status/ntp.html -
@johnpoz Thanks for your ongoing support!
Not saying it's something wrong generally in 23.09 but at least something specific :-) Either in combination with my NTP server or something went wrong during the upgrade.
Went back to 23.05.01 and everything is OK again
After being back to 23.09 same as before...
The flag "u" and "s" appears randomly or changes after some time, currently it is set to "u":
-