ftp Access


I have installed Red Hat Linux release 5.2 (Apollo)server and I can not access ftp via server or client.

On the server I get

421 Service not available
remote server has closed connection.

On the client I get the following message.

Connected to Server Name.
Connection closed by remote host.

If I type ftp, I will get ftp prompt. If I pass ps -ax command on the server, I wont see ftp service is running. Can some body help me in solving this problem.


vatsasriAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
j2Connect With a Mentor Commented:
redhat 5.2 does not install a ftp daemon by default, you have to manually add the nessesary RPM's.

you will have to install

anonftp-2.6-1.rpm
wu-ftpd-2.4.2b18-2.i386.rpm

If you do not have your CD handy, download them from here ftp://ftp.sunet.se/pub/Linux/distributions/redhat/old-releases/redhat-5.2/i386/RedHat/RPMS/
0
 
jclaytonCommented:
Check that the following line appears (uncommented) in you're /etc/inetd.conf file:

ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd -l -a

Also check that you're /etc/hosts.allow and /etc/hosts.deny files are not refusing access to the ftp service.

man hosts.allow and man hosts.deny to learn more about these ones...
0
 
vatsasriAuthor Commented:
It worked, thanx alot
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.