Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!umigw!mthvax.cs.miami.edu!aem From: aem@mthvax.cs.miami.edu (a.e.mossberg) Newsgroups: comp.unix.aux Subject: Re: getservbyname() call Message-ID: <1335@umigw.MIAMI.EDU> Date: 22 Dec 89 19:18:21 GMT References: <30183@shemp.CS.UCLA.EDU> Sender: news@umigw.MIAMI.EDU Reply-To: aem@Mthvax.CS.Miami.Edu Distribution: na Lines: 24 In article <30183@shemp.CS.UCLA.EDU> jsin@island.seas.ucla.edu (John Sin) writes: >I have just finished porting "timed" to A/UX, and I've ran into a small >problem. First time I ran it, I got a message "timed/udp service not >available" because getservbyname( "timed", "udp") returns NULL. So I >added a line in /etc/services thus: > timed 525/udp timeserver >However, I found that it still does not recognize this service. I've >already rebooted (soft boot) the machine, but that didn't make any >difference. Did you remember to add it to /etc/servers ? You'll need to add a line which defines where the daemon lives so that inetd can find it when a request comes in. aem -- a.e.mossberg / aem@mthvax.cs.miami.edu / aem@umiami.BITNET / Pahayokee Bioregion Light parted from darkness, day from night, earth from the primal waters, and the voice of Paul Robeson was divided from the silence. - Pablo Neruda