Red Hat Bugzilla – Bug 26871
ftp to my computer gives error
Last modified: 2007-04-18 12:31:23 EDT
I've been setting up ftp on my Linux 7 desktop PC as I did on my laptop PC
and linuxconf gives identical setups and it works on the laptop but not on
the desktop, I get the error:
[caa@puaa ~]# ftp roundoff
Connected to roundoff.hi.gemini.edu.
421 Service not available, remote server has closed connection
when trying to ftp into the desktop from elsewhere.
is there anything I can do to trace what this error means and fix it?
Chances are you didn't install the server then.
Install the wu-ftpd, anonftp and xinetd packages, then do
chkconfig wu-ftpd on
chkconfig --level 345 xinetd on
service xinetd restart
Did it but still 421 service not available. Output from chkconfig --list is:
xinetd based services:
the same as on my laptop on which ftp works. Any more ideas?
Do you get anything in /var/log/messages?
A-ha! /var/logs/messages said:
Feb 9 14:16:26 roundoff xinetd: execv( /usr/etc/in.ftpd ) failed:
Permission denied (errno = 13)
so I changed the in.ftpd a+x and it now works! Thanks very much!