Operating System - Linux
1820485 Members
2387 Online
109624 Solutions
New Discussion юеВ

FTP connection refused on Red Hat 7.0

 
Debbie Fleith
Regular Advisor

FTP connection refused on Red Hat 7.0

I just installed a Red Hat 7.0 server and cannot ftp to it. I don't have the ftpd daemon running, and when I tried to install the ftpd6-0.36-4.i386.prm it with the following:
error: failed dependencies:
inet6-apps = 0.36 is needed by ftpd6-0.36-4
======
I can't seem to locate this inet6-apps rpm to satisfy the install requirement.

What is the easiest way to get my ftpd daemon up and running?
7 REPLIES 7
Vincenzo Restuccia
Honored Contributor

Re: FTP connection refused on Red Hat 7.0

Mark Fenton
Esteemed Contributor

Re: FTP connection refused on Red Hat 7.0

Debbie, the problem you are seeing is almost certainly that ftp is merely disabled.

Check /etc/xinetd.d/ftp

There will be a line in this file that states:

disable = yes (or enable = no)

fix that line and you should be good togo.
Debbie Fleith
Regular Advisor

Re: FTP connection refused on Red Hat 7.0

Mark,
I don't have "ftp" under /etc/xinetd.d. That is my problem. Do you know what package includes the ftp deamon because I'm thinking I must have mistakenly un-marked it for installation during my fresh install of 7.0.

Debbie Fleith
Regular Advisor

Re: FTP connection refused on Red Hat 7.0

Vincenzo,
The URL you refered to leads no-where. Is there anywhere else to get this rpm?
Mark Fenton
Esteemed Contributor

Re: FTP connection refused on Red Hat 7.0

Debbie, I apologize for being over-confident in my diagnosis.

Assuming you have the normal distribution of RH 7.0, the ftp suite resides on the first disk of the two-disk set.

# cd /mnt/cdrom/RedHat/RPMS
# ll |grep ftp
11 -rw-r--r-- 13 root root 10125 Apr 8 12:32 anonftp-4.0-4.i386.rpm
47 -rw-r--r-- 13 root root 47087 Apr 8 12:32 ftp-0.17-7.i386.rpm
366 -rw-r--r-- 13 root root 373462 Apr 8 12:33 gftp-2.0.7b-3.i386.rpm
429 -rw-r--r-- 13 root root 437607 Apr 8 12:34 ncftp-3.0.2-1.i386.rpm
217 -rw-r--r-- 13 root root 220928 Apr 8 12:36 wu-ftpd-2.6.1-16.i386.rpm

hth

Mark
Vincent Stedema
Esteemed Contributor

Re: FTP connection refused on Red Hat 7.0

Hi,

- Install the wu-ftpd package
- Set disable to no in /etc/xinetd.d/ftp
- delete the "root" entry from /etc/ftpd/ftpusers
- delete or disable the deny-uid and deny-uid entries from /etc/ftpd/ftpaccess
- kill -HUP or
/etc/rc.d/init.d/xinetd stop
/etc/rc.d/init.d/xinetd start

HTH.

Vincent
Vincent Stedema
Esteemed Contributor

Re: FTP connection refused on Red Hat 7.0

Oops... I meant: deny-gid and deny-uid

Also, you might be unable to connect due to an ipchains and/or netfilter rule. You can (temporarily) disable the packet filter rules by running /etc/rc.d/init.d/ipchains stop.

HTH.

Regards,

Vincent