Double NTP problems?

Started by Timeraider, Today at 10:52:43 AM

Previous topic - Next topic
Today at 10:52:43 AM Last Edit: Today at 11:26:00 AM by Timeraider
When I restart my opnsense or internet goes down on an interface for a short period, network time starts up a second time..
This causes constant conflict between the 2 processes.

bind(23) AF_INET INTERFACEIP:123 flags 0x19 failed: Address already in use

And when I then check CLI, I can see:

39161     1 Wed Nov 11 17:33:14 2026 /usr/local/sbin/ntpd -g -c /var/etc/ntpd.co                                nf
85635     1 Wed Nov 11 17:33:24 2026 /usr/local/sbin/ntpd -g -c /var/etc/ntpd.co                                nf

So it is started twice.

AI basically says:
At boot and on a WAN/IPv6 change, the boot sequence and rc.newwanip(v6) run the ntpd restart at nearly the same time.
Both kill whatever ntpd exists, then both start a new one. You end up with two.

Its btw an recurring issue, even if I kill one of the processes it will eventually spawn a new one.
Current OPNSense hardware: Protectli VP4650