RIC@RML2.SRI.COM (Ric Steinberger) (03/19/91)
At the suggestion of a few people familiar with ntp, I have built and installed xntp. When I try to run xntpd, I get the same error message that I was getting when I tried running ntpd: Mar 18 10:21:35 ace xntpd[28361]: xntpd version 1.3 Mar 18 10:21:35 ace xntpd[28361]: get interface configuration: Can't assign requested address Can someone explain what this means? [This is from the syslog file]. Is there some strategy I might use to debug this kind of thing? Thanks to all who reply. regards, ric steinberger ric@rml2.sri.com This is the /etc/ntp.conf file I use on our Alliant FX/40: # $Source: /usr/users/louie/ntp/RCS/ntp.conf,v $ $Revision: 3.4.1.1 $ $Date: 89/03/22 18:33:02 $ # # driftfile /etc/ntp.drift resolver /usr/local/bin/xntpres # # Peers - please refer to the README file for proper selection of # NTP peers # #peer norad.arc.nasa.gov peer 128.102.16.10 #peer apple.com peer 130.43.2.2 #peer umd1.umd.edu #server wwvb.isi.edu -------
louie@SAYSHELL.UMD.EDU ("Louis A. Mamakos") (03/19/91)
It sounds like in the ntp_io.c module that the SIOCGIFCONF ioctl fails. It is not surprizing that this failed with xntpd as well as ntpd, as the code is almost identical and derived from the ntpd code. The daemon(s) are attempting to get a list of all the network interfaces on the system and their addresses. It seems like the host/OS that you're using either doesn't support this, or supports it in some different fashion. Look at xntpd/ntp_io.c for the gory details. Or, look at ntpd/ntp_sock.c for the same sort of thing. louie