net/ntp startup twice or more? in boot time.

Yes, I have 4 jails, but only one ntpd service at host.
The symptom matches starting two ntpd that bind to the same interfaces (or where IP address is wildcarded). That, coupled with observation of a very low pid (38) and very high pid (79840) made me think that the latter must have been started from a jail. I would double check what jails do.

fork-bomb is not english. It is unix-nerd-speak :)
 
The symptom matches starting two ntpd that bind to the same interfaces (or where IP address is wildcarded). That, coupled with observation of a very low pid (38) and very high pid (79840) made me think that the latter must have been started from a jail. I would double check what jails do.

fork-bomb is not english. It is unix-nerd-speak :)
Thanks your answser ?

About jail...
I had been disable all of jail and it's NIC.
Result same issue as below?
Code:
May 19 09:39:20 epopen ntpd[47923]: ntpd 4.2.8p15-a (1): Starting
May 19 09:39:20 epopen ntpd[47923]: Command line: /usr/sbin/ntpd -p /var/db/ntp/ntpd.pid -c /etc/ntp.conf -f /var/db/ntp/ntpd.drift -g
May 19 09:39:20 epopen ntpd[47923]: ----------------------------------------------------
May 19 09:39:20 epopen ntpd[47923]: ntp-4 is maintained by Network Time Foundation,
May 19 09:39:20 epopen ntpd[47923]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
May 19 09:39:20 epopen ntpd[47923]: corporation.  Support and training for ntp-4 are
May 19 09:39:20 epopen ntpd[47923]: available at https://www.nwtime.org/support
May 19 09:39:20 epopen ntpd[47923]: ----------------------------------------------------
May 19 09:39:20 epopen ntpd[75109]: ntpd 4.2.8p15-a (1): Starting
May 19 09:39:20 epopen ntpd[75109]: Command line: /usr/sbin/ntpd -p /var/db/ntp/ntpd.pid -c /etc/ntp.conf -f /var/db/ntp/ntpd.drift -g
May 19 09:39:20 epopen ntpd[75109]: ----------------------------------------------------
May 19 09:39:20 epopen ntpd[75109]: ntp-4 is maintained by Network Time Foundation,
May 19 09:39:20 epopen ntpd[75109]: Inc. (NTF), a non-profit 501(c)(3) public-benefit
May 19 09:39:20 epopen ntpd[75109]: corporation.  Support and training for ntp-4 are
May 19 09:39:20 epopen ntpd[75109]: available at https://www.nwtime.org/support
May 19 09:39:20 epopen ntpd[75109]: ----------------------------------------------------
May 19 09:39:29 epopen ntpd[49888]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature
May 19 09:39:29 epopen ntpd[49888]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=2021-06-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37
May 19 09:39:32 epopen ntpd[34]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature
May 19 09:39:32 epopen ntpd[34]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=2021-06-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37
May 19 09:39:32 epopen ntpd[34]: unable to bind to wildcard address :: - another process may be running - EXITING

Result of sockstat -46 | grep :123 as below
Code:
ntpd     ntpd       49888 20 udp6   *:123                 *:*
ntpd     ntpd       49888 21 udp4   *:123                 *:*
ntpd     ntpd       49888 22 udp6   ::1:123               *:*
ntpd     ntpd       49888 23 udp6   fe80::1%lo0:123       *:*
ntpd     ntpd       49888 24 udp4   127.0.0.1:123         *:*
ntpd     ntpd       49888 25 udp6   fe80::a196:bb67:934e:3450%ng0:123 *:*
ntpd     ntpd       49888 26 udp4   122.117.86.253:123    *:*
ntpd     ntpd       49888 27 udp6   2001:b011:a480:47a3:a196:bb67:934e:3450:123 *:*
ntpd     ntpd       49888 28 udp6   2001:b011:a480:47a3:490d:4322:4c0f:d56d:123 *:*
 
This thread is years old, so my answer is not for the op, but for someone who came to this topic searching by the message "unable to bind to wildcard address".
I came across this problem and found that if ntpd once fails with this message, one process of ntpd remains and not be killed by service ntpd stop. I solved the problem by calling pkill ntpd first, then call service ntpd start.
 
Back
Top