Lost with ProFTPD
I'm new to linux and I'm trying to configure a Slackware 9.1 box as an FTP server.
The problem is that I can't get a login sequence from a foreign machine. I can connect, but then I get nothing. When I type 'ftp localhost', I can log in just fine. I'm configured right as far as I know... In /etc/rc.d/rc.inet2: code:# Start the inetd server: if [ -x /usr/sbin/inetd ]; then echo "Starting Internet super-server daemon: /usr/sbin/inetd" /usr/sbin/inetd else echo "WARNING: /usr/sbin/inetd not found." fi In /etc/inetd.conf code:ftp stream tcp nowait root /usr/sbin/tcpd proftpd And I left /etc/ProFTPD.conf just as it was (with SERVERTYPE inetd). Can anyone suggest what I might have done wrong? I really have no idea where to start. Thanks. Matt |
Check and make sure that ProFTPD is actually listening on port 21, do:
"netstat -tpan | grep :21" and make sure that inetd is listening on port 21. If this is the case, you might try specifying the full path to the ProFTPD bnary in inetd.conf (I'm not sure where all it looks for binaries). I don't use ProFTPD but make sure it's configured to allow people to actually log in. |
Thanks for your input.
This is what I got: Code:
root@backup:~# netstat -tpan | grep :21 Also, I know ProFTPD is accepting connections. I tried 'ftp localhost' and was able to login. Anyone have an idea? :-/ |
Are you by any chance trying to access it from behind a NAT firewall (or any type of firewall for that matter). NAT firewalls can cause problems with active (but not passive) FTP connections. In any case, you'll need to make sure your firewall is not blocking access to port 21 on the machine -- that seems the most likely problem given the symptoms you've described.
|
All times are GMT -5. The time now is 11:30 PM. |