Solved

ftp Access

Posted on 2000-03-06
3
239 Views
Last Modified: 2013-12-15

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.


0
Comment
Question by:vatsasri
3 Comments
 

Expert Comment

by:jclayton
ID: 2590367
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
 
LVL 12

Accepted Solution

by:
j2 earned 50 total points
ID: 2590968
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
 

Author Comment

by:vatsasri
ID: 2594385
It worked, thanx alot
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Run DOS2UNIX and then execute the command 21 85
Trying to install php56 on CentOS 7 get GPG error 5 29
Check for Linux process in script 7 49
LINUX Field Separators 7 38
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question