vsftpd: "331 please specify the password"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

vsftpd: "331 please specify the password"

Post by ^rooker »

[PROBLEM]
I tried setting up a vsftpd FTP server on Dapper Drake (Ubuntu 6.06.1) and although my vsftpd.conf seemed perfectly fine (mostly copied from a running system), I got a strange behavior when trying to log on (using Konqueror):

The log (/var/log/vsftpd.log) said:
Sat Dec 29 21:06:01 2007 [pid 23005] CONNECT: Client "192.168.x.x"
Sat Dec 29 21:06:20 2007 [pid 23004] [myuser] OK LOGIN: Client "192.168.x.x"
so I was logged on, but I saw no files and upon a refresh I got the FTP message:
331 please specify the password
followed by a password prompt which lead me nowhere. No files showed up.

My tries to restart vsftpd by "/etc/init.d/vsftpd restart" returned something strange:
* Stopping FTP server: vsftpd No /usr/sbin/vsftpd found running; none killed.
(that seems to be a problem with "/sbin/start-stop-daemon")


[POSSIBLE SOLUTION]
I guess the vsftpd was in an older state, based on a previous (intermediate) config file, because I only killed 1 process instead of doing a "killall vsftpd". (This would also explain why it ignored some changes in the config).

So:
Make sure that you shoot *all* vsftpd processes and not just one when reconfiguring it. :)
Post Reply