LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2004, 08:28 PM   #1
matt412
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
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
 
Old 07-12-2004, 08:55 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
Old 07-12-2004, 09:03 PM   #3
matt412
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your input.

This is what I got:

Code:
root@backup:~# netstat -tpan | grep :21
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      648/inetd
root@backup:~#
I assume that means inetd is in fact listening on port 21.
Also, I know ProFTPD is accepting connections. I tried 'ftp localhost' and was able to login.

Anyone have an idea? :-/
 
Old 07-12-2004, 10:18 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
proftpd: proftpd startup failed tumana Linux - Newbie 14 06-17-2012 11:06 AM
[PROFTPD] Ldap and proftpd authentication wesleywest Linux - Software 1 02-22-2005 09:51 AM
power lost from cable modem, interface lost a10392 Linux - Networking 4 11-16-2004 09:01 AM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration