andrew@alice.UUCP (Andrew Hume) (04/16/89)
i am trying to announce a service on a sun 3 running sunos 4.0. i did what i did on the mips, namely add the line fmclient 729/tcp to /etc/services, and the line fmclient stream tcp nowait andrew /usr/v9/lib/filemotel/doclient doclient to /etc/inetd.conf, and then kill -1 pid(inetd). on the mips this worked. according to the documentation, i think it should work on the sun. but it doesn't. dmesg yields the diagnostic: Apr 15 18:23:01 shamash inetd[173]: fmclient/tcp: unknown service this error persists across a reboot. I have no idea why it doesn't work. does anyone out there have a guess? and if not a guess, how can i find out more (debugging)?
andrew@alice.UUCP (Andrew Hume) (04/18/89)
thanks to all those who replied; i was tricked by the yellow pages server.
ed@mtxinu.COM (Ed Gould) (04/18/89)
>i am trying to announce a service on a sun 3 running sunos 4.0. >i did what i did on the mips, namely add the line >fmclient 729/tcp >to /etc/services, and the line >fmclient stream tcp nowait andrew /usr/v9/lib/filemotel/doclient doclient >to /etc/inetd.conf, and then kill -1 pid(inetd). >on the mips this worked. according to the documentation, >i think it should work on the sun. but it doesn't. >dmesg yields the diagnostic: >Apr 15 18:23:01 shamash inetd[173]: fmclient/tcp: unknown service >this error persists across a reboot. I have no idea why it doesn't >work. does anyone out there have a guess? >and if not a guess, how can i find out more (debugging)? I imagine it's because the Sun is using Yellow Pages, and the YP map serving /etc/servoces hasn't been updated. Try cd /etc/yp (or maybe cd /usr/etc/yp) make and then kill -1 pid(inetd) again. If that doesn't do it, you have a real problem. -- Ed Gould mt Xinu, 2560 Ninth St., Berkeley, CA 94710 USA ed@mtxinu.COM +1 415 644 0146 "I'll fight them as a woman, not a lady. I'll fight them as an engineer."