I have a very old IBM server running AIX 4 and it runs our old inventory management software. The system was working fine until we had a recent power outage. When the machine came back on, everything seems to work fine, except telnet. The machine pings fine, but telnet says connection is denied. We normally run a connection script through a program called Procomm Plus. I am not familiar with Unix very much, but I am willing to learn or try anything to fix the problem. The machine does have a console I can work from. The machine does have a static IP address BTW.
Steven
please post the actual error message.
The message from telnet says "cannot open connection to host on port 23: connection failed".
Procomm Plus says "winsock error: connection failed"
Steven
This is just a guess, but it sounds like there is no telnet daemon running to answer your connection request. Try using smitty menu interface to find where you enable or disable telnet. I don't know the exact path through the menus to get there unfortunately. Maybe google "smitty enable telnet" or something similar and hopefully you can find step by step instructions.
I know lots of OSes will have telnet disabled by default since it is such a big security risk, and you have to enable it if you want telnet to work. I'm not sure if that is the case for AIX 4, but could be.
According to /etc/inetd.conf, telnet is enabled on port 23.
According to /etc/services, telnet is enabled on port 23.
According to lssrc -t telnet, telnet is active.
I tried changing tcp6 to just tcp in inetd.conf with no difference.
I have also tried "refresh -s inetd" with no improvement.
I still cannot connect to telnet. Same error message as listed above.
Help!
Help!
Help!
Steven
Did you ensure network connectivity was restored after the power outage? Did you try to ping from one server to the other?
Maybe inetd isn't running. What does 'lssrc -g tcpip' show you?
To rbruder: Yes, network connectivity appears to work just fine...I can ping across the network to and from any machine.
To homeyjoe: lssrc -g tcpip says that inetd is active and has a process ID.
Steve
Do a
netstat -an |grep 23
and
ps -ef |grep telnet
then post the results. It seems like the telnet daemon isn't running.
Netstat says:
tcp4 0 0 .23 *. Listen
PS says:
root 8602 8768 1 09:53:34 1 0:00 grep telnet
Looks like the telnet daemon isn't running. The following link should help.
Help -