Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redhat 7.2 - ftp: connect: Connection refused

Status
Not open for further replies.

ttyguy

IS-IT--Management
Jan 8, 2003
15
US
I have just installed RedHat 7.2 and I am having some problems 'connecting' to the server. I am able to ftp and telnet from the 7.2 box to SCO 5.0.5. I have also made the following change to /etc/xinetd.d/telnet : disable = no ; I can now telnet into the 7.2 server. I am unable to ftp from SCO 5.0.5 to the 7.2 server. I get ftp:connect :Connection refused as an error message. I have read some information on ftpd and wu-ftpd, but I do not fully understand what needs to happen to make ftp work correctly.

If there is anyone out there that knows how to get basic FTP(non-anonymous) going, I would really appreciate it. Security is not a primary concern on this box, so I do not need a 'high security' FTP product.

Thanks in advance,

ttyguy
[ponder]
 
If you have ftp server installed, try to run it (something like /etc/init.d/wu-ftpd start). Check logs, check netstat -l. Try to telnet to port 21 and see if something responds. You can also try another ftp server, like proftpd.
 
You should have an entry in /etc/xinetd.d/ for wu-ftp, similar to your telnet file you have modified. Do the same change.



IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
MS Certified Windblows Rebooter
 
I am running Redhat 7.3 and I know that when you do the installation, FTP daemon will not be installed by default. You will have to install it after the installation is over. Once you have done so, depending on the ftp daemon you install, there will be a service xinetd file in you xinetd.d directory.
Enable the service, reload xinetd and you will be able to do FTP.

To reload the xinetd service after enabling FTP, do :
service xinetd reload

To enable ftp, do (I'm using proftpd) :
service proftpd start

Cheers.
 
check whether ftp service is running in run level which ur using through chkconfig --list and if it is not then turn it on bye chkconfig ftpd on
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top