Operating System - Tru64 Unix
1827481 Members
2298 Online
109965 Solutions
New Discussion

Re: FTP and Telnet problem

 
Hassan MOF
New Member

FTP and Telnet problem

I have Alpha Server running Tru64 UNIX version 5.16. Two IPs are assigned to the only network card in the server. This configuration was running smoothly for almost two years.

10 days the server stopped responding to ftp request from one of the IPs although the ftpd daemon starts on the server. Also , telnet initial connection takes more than a minute. The only traffic which is not effected is http. I don’t have any problem with the other IP.

To isolate the problem, I have bounced the network switch, rebooted the server, revised routing table but no success. Finally, I disconnected the server from the network and connected it directly through cross cable to my notebook, the symptom is still the same.
What could be the cause? Any one faced similar problem?

Please advise.
4 REPLIES 4
Ivan Ferreira
Honored Contributor

Re: FTP and Telnet problem

>> 10 days the server stopped responding to ftp request from one of the IPs although the ftpd daemon starts on the server.

Please post the output of

ifconfig -a
netstat -an |grep :21
netstat -ni

Also , telnet initial connection takes more than a minute.

Check entries in /etc/hosts for the server ip addresses. You must have an entry for each address asociated with a unique hostname.

Check also /etc/resolv.conf and check the correct DNS configuration.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Rob Leadbeater
Honored Contributor

Re: FTP and Telnet problem

Hi,

> telnet initial connection takes more than a minute.

That sounds very much like a reverse DNS problem. As Ivan suggests, check that your name resolution is working both ways from both the server and client.

Hope this helps,

Regards,

Rob
Hassan MOF
New Member

Re: FTP and Telnet problem

Thanks a lot Ivan and Bob, and below is the output of the commands.
# ifconfig -a
alt0: flags=200c63
inet 10.12.6.30 netmask ffffff00 broadcast 10.12.6.255 ipmtu 1500
inet 10.14.7.30 netmask ffffff00 broadcast 10.14.7.255 ipmtu 1500

# netstat -ni
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
alt0 1500 00:60:cf:21:46:fc 512794 0 1341826 0 0
alt0 1500 10.12.6/24 10.12.6.30 512794 0 1341826 0 0
alt0 1500 10.14.7/24 10.14.7.30 512794 0 1341826 0 0

And no result for
#netstat -an |grep :21

And regarding the host file /etc/hosts there are actually two entries for each IP with defferent host name.

And in DNS configuration file /etc/resolv.conf DNS server is already there.

By the way this problem is only happened if the client is windows and I have no problem if FTP the server from another UNIX tru64 box.

Wish you can help me in this cause this matter is making me crazy!!

Thanks lot
Hassan
Rob Leadbeater
Honored Contributor

Re: FTP and Telnet problem

OK. From your Windows box, what do you get when you do an "nslookup" on the two IP addresses ?

Cheers,

Rob