The UNIX Forums
"Join the Network of UNIX System Users"


 
jayL
Newbie
Rank: 1



UID 197
Digest Posts 0
Credits 0
Posts 8
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:05 AM  Profile | P.M. 
vsftp problems



vsftp problems



hi! i came across this site and was hoping someone could help me. i currently have a site that is hosted on a virtual dedicated server running fedora core 4. this morning, while loading up files via dreamweaver ftp i lost my connection. i contacted my hosting company and they said that i should reboot my server. i explained that i had just done this as my site was down most of the night. they said to try and restart the vsftp service via my control panel and that didn't work either. they then said do another reboot. again, nothing. they pushed it to the advanced hosting team and they told me that its a configuartion problem with vsftp and that i should find something on the internet to help me. basically, if i don't pay for additional support they won't offer any help.


with all that said, i've looked all over the place to find help. i haven't touched unix/linux in years so trying to find logs and errors is a little beyond me. i barely remember how to use ssh. please, any advice would be appriciated. i could always wipe the hd clean and restart my server, but that won't teach me anything. can anyone help?


Top
dvirhazout
Newbie
Rank: 1



UID 127
Digest Posts 0
Credits 0
Posts 48
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:06 AM  Profile | P.M. 
what errors are you having now



what errors did you encounter?
Top
hoster007
Newbie
Rank: 1



UID 177
Digest Posts 0
Credits 0
Posts 20
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:06 AM  Profile | P.M. 
well, it started after i had uploaded on file (no problems) then uploaded another file (lost connection). it was right after a server reboot. i couldn't start, stop, or restart vsftpd using any means. i finally read somewhere to try editing the vsftpd.conf file to add background=yes, listen=yes (or something like that, ref vsftpd man pages for proper background/listen settings).

after i added those i was able to stop, then restart vsftp using ssh and was able to finally perform ftp agin using ie ftp or wise-ftp. still can't connect with dreamweaver, but i'm not too worried about it. i keep getting "can't establish connection, blah, blah, blah...." i just use wise-ftp now. it's just a headache bouncing back and forth, but i'll live.
Top
joh1
Newbie
Rank: 1



UID 208
Digest Posts 0
Credits 0
Posts 37
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:06 AM  Profile | P.M. 
i have problem with my vsftpd too:
i have 2 the same linux boxes with opensuse 10.2 with vsftpd.
the vsftpd.sonf and ./xinetd.d/vsftpd are the same. my home linux box with works perfectly but the second doesn't. i looked for problems everywhere: /etc/ftpusers /etc/host.allow /etc/host.deny /var/log/messages ...
i use public accounts on 2 boxes. they are with equivalent privileges and are in the same folders /srv/ftp/public.
when i try to connect to the problematic vsftpd with konqueror i become this"could not enter folder", if i try with firefox the error is: "425 security. bad ip connecting", with ie there is timeout error.

i don't have firewall. any help will be great! thanks in advance.

ps:
this was my try to make connection with fileziila client to vsftpd:
connecting to ftp.xxxxxx.xx:9021 ...
status: connected with ftp.xxxxxx.xx:9021. waiting for welcome message...
response: 220 (vsftpd 2.0.5)
command: user public
response: 331 please specify the password.
command: pass ******
response: 230 login successful.
command: syst
response: 215 unix type: l8
command: feat
response: 211-features:
response: eprt
response: epsv
response: mdtm
response: pasv
response: rest stream
response: size
response: tvfs
response: 211 end
status: connected
status: retrieving directory listing...
command: pwd
response: 257 "/"
command: type a
response: 200 switching to ascii mode.
command: pasv
response: 227 entering passive mode (192,169,99,11,242,161)
command: list
error: transfer channel can't be opened. reason: a connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
error: could not retrieve directory listing
command: type i
error: timeout detected!
status: waiting to retry... (5 retries left)


last edited by zhivko.neychev : 1 week ago at 10:15 am.
Top
Remi
Newbie
Rank: 1



UID 22
Digest Posts 0
Credits 0
Posts 21
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:06 AM  Profile | P.M. 
check permissions on that directory, try without passive. double check to be sure that something like selinux or the iptables is not set and blocking connections. i'm short on time right now, will get back to this later.
Top
alarik
Newbie
Rank: 1



UID 46
Digest Posts 0
Credits 0
Posts 48
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 14, 2007 09:06 AM  Profile | P.M. 
this is my iptables --list:
chain input (policy accept)
target prot opt source destination

chain forward (policy accept)
target prot opt source destination

chain output (policy accept)
target prot opt source destination

but how to check selinux ?
i found this:selinux must be off
(redhat enterprise linux 4, centos 4 and up, and white box enterprise linux 4 only)

xxx/srv/ftp # dir
total 1
drwxr-xr-x 2 public ftp 624 jun 1 17:14 public


last edited by zhivko.neychev : 1 week ago at 02:23 am.
Top
 

 

All times are GMT, the time now is Jul 31, 2010 03:34 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.005907 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP