VSFTPD Not responding to restart/stop/start commands even in root!
Hey-
I have no idea why this happens, but my vsftpd server will not respond to my command to make it restart/start or stop. I do the command Code:
/etc/init.d/vsftpd restart Any ideas why this happens? Thanks for your help im totally stumped! |
Did you edited the file when the daemon was still running? guess so.
this will confuse the daemon. (because it detects a new config, when the old is still running as an old process wich i not linked to the new session). Kill the process first , then try doing the start/stop/restart things again.. likely it works again. |
actually that wasnt the problem but i did find out what was causing it. ... i needed to include listen=yes for the server to run at all! lol i had taken it out in editing the conf. file but now i fixed it.
i still have a major problem getting write permission with my main account... anyone know how i enable a user account to have read/write privilages? id really appreciate any help now-thanks so much |
"listen=yes" means that vsftpd will run as a standalone daemon. Looks like you had vsftpd running from inetd or xinetd (for redhat). If it was really running from inetd, then you need to restart inetd (just HUP it) for the config change to take into effect.
-twantrd |
im currently running kubuntu 3.4.1.
I restarted inetd and vsftpd and the write permission still isnt working. Heres a copy of my vsftpd.conf file: Code:
# Example config file /etc/vsftpd.conf Any ideas on why it still isnt letting me do a "mkdir" or any write command in my ftp client (filezilla)? |
Quote:
Quote:
-twantrd |
ok i did chmod and gave my user full permissions, without allowing write/execute for the "other". heres what my ls -l reveals inside my /home/ folder:
Code:
total 12 thanks---im so sorry im such a noob but this is just driving me crazy |
Hmm, interesting. The permissions do look correct to me. If the user was able to write and make directories under a shell account for those 2 directories then something must be up with vsftpd. I could be wrong with saying that "this has NOTHING to do with vsftpd". Let's see if I am :). I have never used the option "user_config_dir=/etc/vsftpd_user_conf" before. I think this may be the culprit.
Taking a look, have you created '/etc/vsftpd_user_conf/user09'? You probably don't have that file. To create it: cp /etc/vsftpd.conf /etc/vsftpd_user_conf/user09 Let me know if that works for you. -twantrd |
All times are GMT -5. The time now is 07:01 PM. |