I don’t know what has changed but today after having it working from the beginning, vsftpd stopped working, maybe an update broke it? I certainly have not changed anything on it.
All I have is a message saying INVALIDARGUMENT in /var/log/messages.
vsftpd.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Have you changed ipv4/ipv6 settings on your machine or any other network settings?
Check /etc/vsftpd.conf and see if LISTEN is set to YES and at the same time listen_ipv6 is set it YES, if it is, you need to disable listening to IPv6.
Also do a;
netstat -napl|grep -i :21
To see if something is already running and taking port :21 except your vsftpd.
> Check /etc/vsftpd.conf and see if LISTEN is set to YES and at the same
> time listen_ipv6 is set it YES, if it is, you need to disable listening
> to IPv6.
On 2014-09-22 23:03, Carlos E. R. wrote:
> On 2014-09-22 17:06, Miuku wrote:
>
>> Check /etc/vsftpd.conf and see if LISTEN is set to YES and at the same
>> time listen_ipv6 is set it YES, if it is, you need to disable listening
>> to IPv6.
>
> No, this is no longer true.
>
> # According to https://bugzilla.redhat.com/show_bug.cgi?id=592850, the
> # vsftpd documentation is wrong. There is no need to run two copies to
> # have ftp on ipv4 and ipv6.
>