Solved

installing ftp server on linux

Posted on 2002-06-14
12
439 Views
Last Modified: 2013-12-16
how do i install ftp server on linux
i tried installing wu-ftpd***.rpm on linux using the command
rpm -ivh wu-ftpd***.rpm
and modified the file /etc/xinetd.d/wu-ftpd  and restarted the xinetd serviceusing the following command
/etc/rc.d/init.d/xinetd restart to enable the service
but i am still unable to log in to the server from a remote client

Kindly help
0
Comment
Question by:kamal3965
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
12 Comments
 

Author Comment

by:kamal3965
ID: 7077660
will be thankful for a prompt reply
0
 
LVL 1

Expert Comment

by:BigJoe1008
ID: 7078267
type in:
netstat -a

Look for a reference to :ftp or :21 in the list. On the other side of the : it will show what it will allow for connections if it is 0.0.0.0 the service is setup correctly and you would want to look at either your user accounts that you are trying to access it with or you would need to check if there is a firewall blocking port 21.

--Joe
0
 

Author Comment

by:kamal3965
ID: 7080060
did as per ur suggestion
did not find 0.0.0.0 on the other side of :ftp.
kindly let us know what has to be done to get 0.0.0.0
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Expert Comment

by:BigJoe1008
ID: 7080154
what does your /etc/xinetd.d/wu-ftp and your /etc/ftpaccess files look like?
0
 
LVL 1

Expert Comment

by:BigJoe1008
ID: 7080155
if it looks like *:ftp it will work also.

0
 
LVL 7

Expert Comment

by:waynezhu
ID: 7080166
I experienced similar thing as you've described during
my recent RedHat 7.3 installation. After install and re-install serveral times without make FTP working, [to make myself life easy], finally I went to the SERVER type installation (previously WORKSTATION or CUSTOM type
installation) with no firewall option [Be noted also I made anonymous FTP server checkbox checked.]

After the software installed, vi-ed the telnet and wu-ftpd files to make the DISABLE=no, and restarted the
/etc/rc.d/init.d/xinetd. Finnally it worked.

Anyway, good luck.
0
 
LVL 1

Expert Comment

by:BigJoe1008
ID: 7080175
Yeah, I should have remembered that because you have ipchains on by default up through 7.3 you either have to shut off the rules or set all high level ports to allow access back.  Because it connects initially on port 21 then it jumps to a high level port.  With IPTables there is a fix to help with FTP bouncing around.  

So what you can do is shut down the ipchains rules by running:
service ipchains stop

Then try and connect.
0
 

Author Comment

by:kamal3965
ID: 7081173
yeah, i did a custom install,and i think(i will check it out)the ipchains service is enabled. I will disable the ipchains service and check ftp service

thanks BigJoe1008 and waynezhu for ur suggestions

kamal
0
 

Author Comment

by:kamal3965
ID: 7081174
yeah, i did a custom install,and i think(i will check it out)the ipchains service is enabled. I will disable the ipchains service and check ftp service

thanks BigJoe1008 and waynezhu for ur suggestions

kamal
0
 

Author Comment

by:kamal3965
ID: 7083325
Thanks BigJoe1008, disabled ipchains as suggested and restarted xinetd service

ftp is working perfectly

thanks

kamal
0
 
LVL 1

Expert Comment

by:BigJoe1008
ID: 7083731
I am going to reword that to an answer.
0
 
LVL 1

Accepted Solution

by:
BigJoe1008 earned 100 total points
ID: 7083743
After running:

netstat -a

you see ftp you will need to run:

service ipchains stop

You should upgrade to iptables because it has support for ftp.  Because FTP is a monster, you create the connetion to port 21 then it throughs the entire connection to another port.  Otherwise on ipchains you will need to open all high level ports (1024-65k).

--Joe
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

705 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