Ftp

Hi all,

I ftp to a server, when success login after few second, the connection disconnect.

220 mercury FTP server ready.
Name (10.13.65.9:root): root
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
ftp>
ftp>
ftp>
ftp> ls
200 PORT command successful.

421 Service not available, remote server has closed connection
No control connection for command: Transport endpoint is not connected

any idea?

---------- Post updated at 11:55 AM ---------- Previous update was at 10:37 AM ----------

problem solve, is about the solaris server routing table.

If its solaris 9, restart the inetd daemon and also check first that inetd/ftp is not commented in the /etc/inetd.conf file
kill -HUP `pgrep inetd`

or for Solaris 10, restart ftpd service using svcadm

Its unlikely that 421 Service not available is due to the /etc/ftpd/ftpusers entry.