 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

8th March 2006, 12:17 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Location: NJ, USA
Posts: 42

|
|
|
FTP Connection Problem
For some reason, I folowed the Stan Guide to making the VSFTP stuff. For some reason. I tried the to FTP through MS-DOS to my computer, doesn't seem to work. Says "Connection closed by remote host". Also i've tried FileZilla, it goes
Status: Connecting to 192.168.0.5 ...
Status: Connected with 192.168.0.5. Waiting for welcome message...
Error: Disconnected from server
Any help?
I've also Port Forwarded 192.168.0.5 for the FTP Port, still doesnt work
__________________
Using Fedora Core Five :D
http://www.silvertone.ezyrewards.net
|

8th March 2006, 08:29 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Location: NJ, USA
Posts: 42

|
|
|
Can anyone help?
__________________
Using Fedora Core Five :D
http://www.silvertone.ezyrewards.net
|

8th March 2006, 08:33 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304

|
|
|
Can you ftp from the box to itself? Also, where did you "Port Forward"?
|

8th March 2006, 08:48 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Location: NJ, USA
Posts: 42

|
|
|
Ok, i've just reseted my router. Also I cannt connect to my own self, says connection refused.
__________________
Using Fedora Core Five :D
http://www.silvertone.ezyrewards.net
|

9th March 2006, 01:00 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Location: NJ, USA
Posts: 42

|
|
|
Nope, that did not work.
__________________
Using Fedora Core Five :D
http://www.silvertone.ezyrewards.net
|

9th March 2006, 01:05 AM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
|
Post the entire session from the client side so we can see your error in its entirety. Use the msdos (not the filezilla) client. Also post the output of these commands executed on the server.
cat /etc/vsftpd/vsftpd.conf
iptables -L -n
|

9th March 2006, 01:26 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Location: NJ, USA
Posts: 42

|
|
|
I cant paste them here for some reason, it just doesnt load. Ok its an attachment..
__________________
Using Fedora Core Five :D
http://www.silvertone.ezyrewards.net
Last edited by razored; 9th March 2006 at 01:31 AM.
|

9th March 2006, 01:32 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Location: NJ, USA
Posts: 42

|
|
|
I've also uploaded it, I can't upload anything on my Netgear router for some reason. But on my Linksys i can't connect to my linux.
__________________
Using Fedora Core Five :D
http://www.silvertone.ezyrewards.net
|

9th March 2006, 01:45 AM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
|
You've set "listen_port=33096" in vsftpd.conf, but iptables doesn't have that port unblocked. The default port is 21. If you really want your server to listen for ftp connections on port 33096, you'll need to instruct your client to connect on that port.
To unblock 33096, execute the following.
iptables -A RH-Firewall-1-INPUT -p tcp --dport 33096 -j ACCEPT
Alternatively, you can remove the "listen_port" line in vsftpd.conf to enable connections on the standard ftp port.
You also have "tcp_wrappers=YES" in vsftpd.conf. The howto I referenced in post 5 covers this.
Your next problem will be blocked passive mode ports. When you encounter the problem, the howto covers that, too.
Last edited by jcliburn; 9th March 2006 at 01:48 AM.
|

9th March 2006, 01:48 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Location: NJ, USA
Posts: 42

|
|
|
MSDOS Attempt
C:\Documents and Settings\admin>ftp
ftp> open
To 192.168.0.2
Connected to 192.168.0.2.
500 OOPS: Connection closed by remote host.
ftp>
FileZilla Attempt
Status: Connecting to 192.168.0.2 ...
Status: Connected with 192.168.0.2. Waiting for welcome message...
Error: Disconnected from server
Error: Unable to connect!
Status: Waiting to retry... (5 retries left)
Status: Connecting to 192.168.0.2 ...
Status: Connected with 192.168.0.2. Waiting for welcome message...
Error: Disconnected from server
Error: Unable to connect!
Status: Waiting to retry... (4 retries left)
Status: Connecting to 192.168.0.2 ...
Status: Connected with 192.168.0.2. Waiting for welcome message...
Error: Disconnected from server
Error: Unable to connect!
Status: Waiting to retry... (3 retries left)
Status: Connecting to 192.168.0.2 ...
Status: Connected with 192.168.0.2. Waiting for welcome message...
Error: Disconnected from server
Error: Unable to connect!
Status: Waiting to retry... (2 retries left)
Status: Connecting to 192.168.0.2 ...
Status: Connected with 192.168.0.2. Waiting for welcome message...
Response: 500 OOPS: failed to open xferlog log file:/var/log/xferlog
Command: USER pavel
Error: Unable to send command! Logging off server!
Error: Unable to connect!
Status: Waiting to retry... (1 retry left)
Status: Connecting to 192.168.0.2 ...
Status: Connected with 192.168.0.2. Waiting for welcome message...
Error: Disconnected from server
Error: Unable to connect!
__________________
Using Fedora Core Five :D
http://www.silvertone.ezyrewards.net
Last edited by razored; 9th March 2006 at 01:58 AM.
|

9th March 2006, 01:58 AM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
Quote:
|
Originally Posted by razored
Wait, so what exactly do i do.
|
Remove the "listen_port=33096" in vsftpd.conf, then execute "service vsftpd restart".
Quote:
|
what do i have to do in order for the passive mode port to work?
|
Follow the instructions for passive mode setup in the howto. It's about halfway down the page. Look for the "606 no socket" error.
|

9th March 2006, 01:59 AM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180

|
|
|
The 500 OOPS error is covered explicitly in the howto. It's at the bottom.
|

9th March 2006, 02:12 AM
|
|
Registered User
|
|
Join Date: Mar 2006
Location: NJ, USA
Posts: 42

|
|
|
Thank you!!! Finally it worked!! W00t, now just one more thing, how do i edit the welcome message when logging into FTP?
__________________
Using Fedora Core Five :D
http://www.silvertone.ezyrewards.net
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
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
|
|
|
Current GMT-time: 15:55 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|