Operating System - HP-UX
1844862 Members
2766 Online
110233 Solutions
New Discussion

telnet seems to be not working without rpcbind

 
federico_3
Honored Contributor

telnet seems to be not working without rpcbind


knowing that telnet does not use RPC and it is possible to
start telnetd even without invoking inetd.
, it would like to know why
telnet does not work if rpcbind is not up.


Federico

4 REPLIES 4
Vincent Stedema
Esteemed Contributor

Re: telnet seems to be not working without rpcbind

What kind of error message do you get when rpcbind is not running?
federico_3
Honored Contributor

Re: telnet seems to be not working without rpcbind

no kind of error, the system hangs....
Vincent Stedema
Esteemed Contributor

Re: telnet seems to be not working without rpcbind

This is a long shot, but I might as well give it a try...

Do you have an /etc/nsswitch.conf? The first entry for host lookup defaults to NIS. So, if the portmapper (rpcbind) is not running, the OS may experience difficulties in resolving hostnames because it can't determine whether NIS is running or not.

You might want to try and set the following hosts entry in /etc/nsswitch.conf:

hosts: files [NOTFOUND=continue] dns

Like I said, it's a long shot...


Regards,

Vincent
federico_3
Honored Contributor

Re: telnet seems to be not working without rpcbind

the problem has been fixed:
rpcbind must be started before inetd if rpc services are not commented in /etc/inetd.conf because, i think, inetd will hang for a timeout and after this will be able to invoke telnetd.

federico