1826302 Members
4117 Online
109692 Solutions
New Discussion

Re: inetd issue

 
Christian Doll
Regular Advisor

inetd issue

Hello,

we have several HP-UX servers and on some the following entry inside inetd.conf is working:

inetd.conf
dummy stream tcp nowait root /tmp/dummy dummy

The /etc/service entry:
dummy 1532/tcp # dummy

The entry above is a test entry to determine a problem for a schedule system. If I insert these entries above on one server it works:

telnet localhost 1532
Trying...
Connected to localhost.adc.net.
Escape character is '^]'.
Connection closed by foreign host.

On another host it is not working, I get there the following output:

telnet localhost 1532
Trying...
telnet: Unable to connect to remote host: Connection refused

Both systems are HP-UX sytems. Versions:

Working Server: HP-UX xxxxx B.11.23 U ia64 1792574214 unlimited-user license

Not working Server:
HP-UX xxxx B.11.11 U 9000/800 476108678 unlimited-user license

On both systems I have reloaded the inetd (inetd -c)

I have tried this on server HP-UX systems. It is strange that the inetd entry works on all itanium server but not on parisc servers.

Further I receive the following error after reloading the inetd (/var/adm/syslog/syslog):

May 30 14:09:19 xxxx inetd[19155]: dummy/tcp: Unknown service

Funny is that the entry exists inside the /etc/services.

Has anyone of you an idea why it works on one server and not on the other.

I am glad for every help,

Chris
1 REPLY 1
Christian Doll
Regular Advisor

Re: inetd issue

Hello,

solved the problem....

The problem was that the server has used instead of the local services the nis file. Although the server was configured to use first the local and then the nis file.

We have add the entries to the master and now it is working.