Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 8th March 2006, 12:17 AM
razored Offline
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
Reply With Quote
  #2  
Old 8th March 2006, 08:29 PM
razored Offline
Registered User
 
Join Date: Mar 2006
Location: NJ, USA
Posts: 42
Can anyone help?
__________________
Using Fedora Core Five :D
http://www.silvertone.ezyrewards.net
Reply With Quote
  #3  
Old 8th March 2006, 08:33 PM
brunson Offline
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"?
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #4  
Old 8th March 2006, 08:48 PM
razored Offline
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
Reply With Quote
  #5  
Old 8th March 2006, 11:52 PM
jcliburn's Avatar
jcliburn Offline
Registered User
 
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180
Try some of the suggestions at this link http://fedoraforum.org/forum/showthread.php?t=97374 and report back if you do or don't solve your problem.
Reply With Quote
  #6  
Old 9th March 2006, 01:00 AM
razored Offline
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
Reply With Quote
  #7  
Old 9th March 2006, 01:05 AM
jcliburn's Avatar
jcliburn Offline
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
Reply With Quote
  #8  
Old 9th March 2006, 01:26 AM
razored Offline
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..
Attached Files
File Type: txt log.txt (6.3 KB, 50 views)
__________________
Using Fedora Core Five :D
http://www.silvertone.ezyrewards.net

Last edited by razored; 9th March 2006 at 01:31 AM.
Reply With Quote
  #9  
Old 9th March 2006, 01:29 AM
jcliburn's Avatar
jcliburn Offline
Registered User
 
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180
[jcliburn@osprey ~]$ wget http://www.pavel.ezyrewards.net/log.txt
--19:28:44-- http://www.pavel.ezyrewards.net/log.txt
=> `log.txt'
Resolving www.pavel.ezyrewards.net... 67.43.11.56
Connecting to www.pavel.ezyrewards.net|67.43.11.56|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
19:28:45 ERROR 404: Not Found.
Reply With Quote
  #10  
Old 9th March 2006, 01:32 AM
razored Offline
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
Reply With Quote
  #11  
Old 9th March 2006, 01:45 AM
jcliburn's Avatar
jcliburn Offline
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.
Reply With Quote
  #12  
Old 9th March 2006, 01:48 AM
razored Offline
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.
Reply With Quote
  #13  
Old 9th March 2006, 01:58 AM
jcliburn's Avatar
jcliburn Offline
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.
Reply With Quote
  #14  
Old 9th March 2006, 01:59 AM
jcliburn's Avatar
jcliburn Offline
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.
Reply With Quote
  #15  
Old 9th March 2006, 02:12 AM
razored Offline
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
Reply With Quote
Reply

Tags
connection, ftp, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Net connection problem.... venkat3271 Servers & Networking 1 20th June 2007 04:21 PM
Problem with DNS for DSL connection nardinc Servers & Networking 2 24th January 2007 03:07 PM
FC5: Problem Slow PGSQL Connection, SSH connection dunadan67 Servers & Networking 4 5th June 2006 09:42 PM
VNC Connection Problem xgamma Using Fedora 8 6th September 2005 02:48 PM
Problem with 2 DSL connection ssnathan1975 Servers & Networking 0 28th July 2005 06:09 AM


Current GMT-time: 15:55 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat