Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!nisc.nyser.net!ncs.dnd.ca!asterix.drev.dnd.ca!louis From: louis@asterix.drev.dnd.ca (Louis Demers) Newsgroups: comp.unix.aux Subject: Re: getservbyname() call Message-ID: <1989Dec22.193643.19037@asterix.drev.dnd.ca> Date: 22 Dec 89 19:36:43 GMT References: <30183@shemp.CS.UCLA.EDU> Distribution: na Organization: DREV, Defence Research Est. Valcartier Lines: 23 jsin@island.seas.ucla.edu (John Sin) writes: >... 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. ... >I also found that if I delete a line from /etc/services - say, smtp - >getservbyname() still can find smtp. Are you running the Yellow Pages ? Here we are and we once encoutered the same problem on Sun's. "/etc/services" is one of the files "shared" by the Yellow Pages system. The file /etc/services on the master server is the one that need to be changed. Merry Xmas, Louis -- | Louis Demers | DREV, Defence Research Establishment,Valcartier | | louis@asterix.drev.dnd.ca | POBox 8800, Courcelette,Quebec, CANADA, G0A 1R0 | | (131.132.48.2) | Office: (418) 844-4424 fax (418) 844-4511 | +---------------------------+-------------------------------------------------+