Running OPNsense 25.7.1_1-amd64 so all patched up.
NTP Fails to run. Log says
2025-08-09T12:00:22-07:00
Error
ntpd
daemon child died with signal 11
2025-08-09T12:00:22-07:00
Error
ntpd
unable to create socket on bridge0 (11) for 192.168.0.10:123
2025-08-09T12:00:22-07:00
Error
ntpd
bind(31) AF_INET 192.168.0.10:123 flags 0x19 failed: Address already in use
And yet trying to find what might be using the port:
lsof -i :123
Yields nothing. Does anyone have any idea what is going on?
A socket and port are not the same thing.
Is there an actual 123 listener on the iface? "netstat", etc.
Quote from: kbocek on August 09, 2025, 09:08:14 PMYields nothing. Does anyone have any idea what is going on?
You want to check what runs on port UDP/123:
sockstat -ln -P udp | fgrep :123
Thank you for the reply. I figured out that this was an artifact of my attempt to add a second IP address to my LAN interface. Something I've never been able to get working but that's a subject for another thread.
In any case, ntp was attempting to attach to the bridge device which didn't work. Setting the ntp device to WAN fixed the problem.