| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-20-2004, 01:55 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2003
Location: N.Y.
Posts: 23
Rep:
|
Proftpd disconnects
Okay, I have scoured here and several other forums so I will ask here...
Running Proftpd on MDK 10 Official, I used their default proftp.conf file and set up a user for FTP transfers.
Now what I get is this:
Trying xxx-xxx-xxx-xx.xx-x.x-xxxx.xxx.xx.xxxxx.xxx.xx:28
Connected to xxxxxx.xxx.xxx:28
220 xxx-xxx-xxx-xx.xx-x.x-xxxx.xxx.xx.xxxxx.xxx.xx FTP server ready
USER wacko
331 Password required for wacko.
PASS xxxx
230 -- Guest access granted for wacko --
SYST
215 UNIX Type: L8
TYPE I
200 Type set to I
PWD
257 "/" is current directory.
PASV
227 Entering Passive Mode (xxx,xxx,xxx,xx,xx,xxx).
Cannot create a data connection: Connection refused
Disconnecting from site xxxxxxx.xxxxx.xxx
I know it's something simple, but it's aluding me right now... Any suggestions?
|
|
|
|
10-20-2004, 02:18 AM
|
#2
|
|
LQ Newbie
Registered: Aug 2003
Location: N.Y.
Posts: 23
Original Poster
Rep:
|
This is what I have found out so far:
2.2. When gFTP tries to get the remote directory listing, I receive the error: Cannot create a data connection: Connection refused Go under FTP->Options->FTP and turn off passive file transfers. Instead of sending the PASV command to open up the data connection on the server side, the data connection will be opened up on the client side, and the PORT command will be sent to the server instead.
Now the problem is this:
425 Unable to build data connection: Connection refused
Hmmmm....
|
|
|
|
10-20-2004, 02:31 AM
|
#3
|
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Yeah it sounds like the initial negociation is working but the actual FTP data ports are locked up tight.
The thing is where?
Your Linux box?
Your Firewall?
|
|
|
|
10-20-2004, 02:35 AM
|
#4
|
|
LQ Newbie
Registered: Aug 2003
Location: N.Y.
Posts: 23
Original Poster
Rep:
|
I have one box as the "Router/FTp server" running Shorewall.
Trying to connect to it with gftp
|
|
|
|
10-20-2004, 02:37 AM
|
#5
|
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
On the server temporarily shut down Shorewall.
e.g.
service shorewall stop
Then see if you can connect.
If so you'll need to open the FTP-DATA port in shorewall.
|
|
|
|
10-20-2004, 02:46 AM
|
#6
|
|
LQ Newbie
Registered: Aug 2003
Location: N.Y.
Posts: 23
Original Poster
Rep:
|
You were close !
What I did to the router was issue shorewall a clear command and I was able to connect and stay connected.
I do have ACCEPT 22,28 ports.
hmmm....
Weird, I dissconnected and tried to reconnect and got the original error... ugh!
hmmm... I restarted Shorewall, then sent it the CLEAR command and I'm able to connect....
Last edited by TheUnknown; 10-20-2004 at 02:51 AM.
|
|
|
|
10-20-2004, 02:53 AM
|
#7
|
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Eh, don't you want 21 which is FTP and 20 which is FTP-DATA?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|