I followed instructions and other instructions too but because it is not user-friendly, the ftp server is not working.
# This option specifies the location of the RSA key to use for SSL
# encrypted connections.
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
pasv_enable=YES
pasv_addr_resolve=YES
#user ddns address
pasv_address=54.... (my ip)
#choose and range you like
pasv_min_port=1024
pasv_max_port=1048
Then:
~$ sudo service vsftpd status
vsftpd stop/waiting
ubuntu@ip:~$ sudo service vsftpd restart
stop: Unknown instance:
vsftpd start/pre-start, process 9711
But it can not connect with an ftp client. I opened the ports in security group and reinstalled everything, still not working. What can be done? What can't it work per default? I try to connect with a user account that I added with useradd.
$ sudo vsftpd
500 OOPS: munmap
$ service vsftpd begin
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service vsftpd begin
The script you are attempting to invoke has been converted to an Upstart
job, but begin is not supported for Upstart jobs.