Jump to content
xisto Community
Sign in to follow this  
nightfox1405241487

FC5: VS-FTPD Won't Accept Connections FC5

Recommended Posts

I'm not sure what is going on! I've got the firewall disabled and I can't even get connected! Here's what goes on:

Connecting to 192.168.1.100:21Connected to 192.168.1.100:21, Waiting for Server Response
Failed to receive response after connect


I even uninstalled VSFTPD and re-installed it with no luck. I've even tried switching vsftpd.conf files and still nothing!

Thanks for any assistance. I've never had this sort of problem with VSFTPD before.

[N]F

Share this post


Link to post
Share on other sites

Do you have SELINUX installed along with FC5 ?? That might be blocking the connections out.. SELINUX is causing a whole bunch of problems for me too, though I'm on FC4.

 

Hey, m^e!

 

I found this guide on https://www.howtoforge.com/ called the "Perfect Setup - Fedora Core 5 (64 bit)" but it can work with the 32 bit also. Following the guide, they suggest turning SELinux off because it causes more problems than good so I have it disabled.

 

Tonight, I was out at a book store, I found a Fedora Core 4 book and it had a whole chapter on FTP. The book was $50 (probably because it came with a "special" FC4 edition). I only currently have $15 so I couldn't buy it.

 

You sorta got it easier, m^e. At least you can get in.. I can't.

 

I would like to try a different FTP server, but I'm not sure if there are any good ones that can be installed by running a "yum" command.

 

I'm going to take a shower and then I think I'll search Amazon and find a used book cheap. I don't get why all the Fedora/Red Hat books have to be so... BIG and expensive. Every Fedora/Red Hat book the store had was like 1000 pages and $50-$60. Someone needs to make a book about how to setup a web server. I'm almost ready to contact The Planet or RackSpace and see if they'd be willing to share how to do it.

 

If I find anything, I'll let you know, m^e.

 

[N]F

Share this post


Link to post
Share on other sites

Have you tried checking out /etc/vsftpd/vsftpd.conf ?

Chances are that there's something commented out by default which you need to uncomment before it'll start working.

After that, run

/etc/rc.d/init.d/vsftpd restart
as root

Share this post


Link to post
Share on other sites

Have you tried checking out /etc/vsftpd/vsftpd.conf ? Chances are that there's something commented out by default which you need to uncomment before it'll start working. After that, run


/etc/rc.d/init.d/vsftpd restart

as root

 


I've checked it over and over... However, I made a discovery. I have my server hooked up on a domain, so when I visited  xerge.dynamic10.com, I was prompted for a login. So I entered my local system details and it let me in!! I'm going to test something out with SuSE Enterprise Server 9. It's a good thing I've got spare hard disks!! [N]F


Share this post


Link to post
Share on other sites

On a spare hard drive, I installed CentOS 4.3 Final and I've got some sucess! It actually logged me into my home directory! More shocking, I've gotten farther than what I got when I used the "server" option during install... check out this FTP Session:

Connecting to 192.168.1.100:21Connected to 192.168.1.100:21, Waiting for Server Response
220 (vsFTPd 2.0.1)
Host type (1): Automatic detect
USER blah
331 Please specify the password.
PASS (hidden)
230 Login successful.
SYST
215 UNIX Type: L8
Host type (2): UNIX (standard)
PWD
257 "/home/blah"
TYPE A
200 Switching to ASCII mode.
PASV
227 Entering Passive Mode (192,168,1,100,216,190)
connecting data channel to 192.168.1.100:55486
data channel connected to 192.168.1.100:55486
LIST
150 Here comes the directory listing.
Success
transferred 0 bytes in 0.060 seconds, 0.000 bps ( 0.000 Bps).
226 Directory send OK.
/home/blah loaded from [Directory Listing Cache]\DIRE0.tmp
Connecting to 192.168.1.100:21
Connected to 192.168.1.100:21, Waiting for Server Response
220 (vsFTPd 2.0.1)
Host type (1): Automatic detect
USER blah
331 Please specify the password.
PASS (hidden)
230 Login successful.
SYST
215 UNIX Type: L8
Host type (2): UNIX (standard)
CWD /home/blah
250 Directory successfully changed.
TYPE I
200 Switching to Binary mode.
PASV
227 Entering Passive Mode (192,168,1,100,205,104)
connecting data channel to 192.168.1.100:52584
data channel connected to 192.168.1.100:52584
STOR footer.php
150 Ok to send data.
transferred 278 bytes in 0.010 seconds, 216.875 Kbps ( 27.109 KBps).
226 File receive OK.
MDTM 20060409190324 /home/blah/footer.php
213 File modification time set.
PWD
257 "/home/blah"
PASV
227 Entering Passive Mode (192,168,1,100,246,30)
connecting data channel to 192.168.1.100:63006
data channel connected to 192.168.1.100:63006
LIST
150 Here comes the directory listing.
Success
transferred 68 bytes in 0.030 seconds, 17.683 Kbps ( 2.210 KBps).
226 Directory send OK.


I was (shockingly) able to write to the disk! I'm going to unplug the current drive and switch it over to the one running Fedora... I think I'm making some progress!

[N]F

Share this post


Link to post
Share on other sites

I hate to admit it, but upon close review, I screwed up the IP address! That's why it wasn't working...My old network used the scheme of 192.168.0.XXX and my new network uses the scheme 192.168.1.XXX. This isn't the first time. I've been known to put in my school's IP scheme at home too (10.35.XXX.XXX). It's amazing how one digit can change so much! lol.My next task is getting user directorys to NOT cause a 403: Forbidden message.Don't worry, m^e. I'll try to help you out with your FTP problem too. :lol:[N]F

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.