1849450 Members
7017 Online
104044 Solutions
New Discussion

telnet and ftp problem

 
tejas pandya_1
Occasional Advisor

telnet and ftp problem

Dear All,
I am facing problem with telnet in hpux 10.2.
After two to three minutes telnet connection is closed. after this it will not allow to do telnet again.network ping is continues available.only telnet and ftp is not working.
After restarting the server it will work for 2 to 3 minutes, then same problem repeats.
Any suggestion on this.
4 REPLIES 4
Paul Sperry
Honored Contributor

Re: telnet and ftp problem

what's in your /etc/inetd.conf file

Do you have something like:

telnet stream tcp nowait root /usr/local/sbin/tcpd telnetd
Patrick Wallek
Honored Contributor

Re: telnet and ftp problem

Is there anything in /var/adm/syslog/syslog.log? After telnet and ftp die, please log in on the console and check and see if the 'inetd' process is running. If it is not, then that is your problem.

You can restart inetd by '/sbin/init.d/inetd start'.

However, if inetd is being terminated then you need to figure out why it is being terminated and fix the underlying problem. That is where checking syslog.log can be of help.
Bill Hassell
Honored Contributor

Re: telnet and ftp problem

> After restarting the server it will work for 2 to 3 minutes, then same problem repeats.

If this used to work in the past then your network department has changed your router to stop responding to ping. HP-UX will close down a LAN card that cannot ping the gateway (router) after a few minutes. There are two fixes:

1. Turn ping response back on again, specifically for internal machines, or

2. Disbale the dead gateway detection feature with ndd and the option: ip_ire_gw_probe

To see if this option is on:

ndd -get /dev/ip ip_ire_gw_probe

1=turned on. Turn off the option with:

ndd -set /dev/ip ip_ire_gw_probe 0

This will keep the LAN card active. To make this change permanent, edit the nddconf file in /etc/rc.config.d.


Bill Hassell, sysadmin
tejas pandya_1
Occasional Advisor

Re: telnet and ftp problem

Dear Paul,
Here with i am attaching my inetd.conf