> And I want to know the meaning for "family 2, port 123, addr 128.0.0.1, in_classd=0 flags=0 fails: Can't assign requested address",can you tell me ?
Hi Zhoukangle,
This is just an error string that is returned when the 'bind' system call (which is used by ntpd to start listening to an address) fails.
The actual error is 'Can't assign requested address', i.e. xntpd is trying to listen to an address which is not configured on the router.
The rest is just debugging information which is printed to help developer pinpoint the issue. Specifically:
'family 2' means IPv4
port 123, addr 128.0.0.1: these are the port ntpd is trying to listen to.
flags: are optional flags that are not used in this case.
in_classd is another flag which indicates if the socket is trying to listen to a multicast address (it isn't in this case).
The 'bind' system call is documented on any good unix reference:
http://en.wikipedia.org/wiki/Berkeley_sockets#bind.28.29
It would appear (from pk's post above) that on some platforms (SRX?), 128.0.0.1 is used for some internal purpose.
On your M7i, this does not seem to be the case, so ntpd complains that it cannot listen to that address.
It is a harmless message, but if it is present on newer releases, I would suggest to contact JTAC and ask them to open a low-priority PR to have this resolved (this is most probably a trivial code change).
.. making Junos better is also our job!
I hope it helps, let me know if you need more information..
Saverio