Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!newstop!exodus!grieg.Eng.Sun.COM!pew From: pew@grieg.Eng.Sun.COM (John Pew) Newsgroups: comp.unix.questions Subject: inetd.conf Keywords: inetd.conf rpc portmap Message-ID: <10857@exodus.Eng.Sun.COM> Date: 2 Apr 91 15:27:07 GMT Sender: news@exodus.Eng.Sun.COM Lines: 40 I have a daemon that I want the inetd to start up automatically. The daemon was created using rpcgen. My problem is that when I put an entry in the inetd.conf file like this: testd/1 stream rpc/tcp wait root /usr/etc/rpc.testd rpc.testd With a corresponding entry in /etc/rpc: testd 100099 I get the following error message: inetd[124]: testd/rpc/tcp: unknown service However, if I change the entry in inetd.conf to: 100099/1 stream rpc/tcp wait root /usr/etc/rpc.testd rpc.testd everything works fine. What am I doing wrong? I am running on a Sun workstation running SunOS 4.1.1. Here is the .x file I run rpcgen on: program TESTPROG { version TESTVERS { int STARTTEST(int) = 1; int STOPTEST(int) = 2; } = 1; } = 100099; I use rpcgen as follows: rpcgen -I test.x What I normally do is send a HUP signal to inetd so that it re-reads the inetd.conf file. I have also tried rebooting. No luck. Any help would be appreciated. John Pew pew@sun.com