I just setup a VPS with Ubuntu 12.04 server at Linode using this guide. ISPconfig is reporting FTP being down and I can confirm it is down as FTP connections are refused. During setup, after remounting with the updated values in the fstab file, running these Code: quotacheck -avugm & Code: quotaon -avug commands generate errors. Code: root@n3rve:~# quotacheck -avugm quotacheck: Cannot stat() mounted device /dev/root: No such file or directory quotacheck: Cannot stat() mounted device /dev/root: No such file or directory quotacheck: Cannot stat() mounted device /dev/root: No such file or directory quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option. Code: Last login: Tue Jun 17 18:43:29 2014 from 41.203.67.141 root@n3rve:~# quotaon -avug quotaon: Cannot stat() mounted device /dev/root: No such file or directory root@n3rve:~# There's no output for Code: netstat -tap | grep ftp . Code: root@n3rve:~# ps -aux | grep ftp Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 5133 0.0 0.0 12784 748 ? Ss 18:02 0:00 /usr/lib/openss h/sftp-server root 5379 0.0 0.0 9392 928 pts/0 S+ 18:10 0:00 grep --color=au to ftp Code: I just setup a VPS with Ubuntu 12.04 server at Linode using [URL="http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3-p5"]this guide[/URL]. ISPconfig is reporting FTP being down and I can confirm it is down as FTP connections are refused. During setup, after remounting with the updated values in the fstab file, running these [code]quotacheck -avugm & Code: quotaon -avug commands generate errors. Code: root@n3rve:~# quotacheck -avugm quotacheck: Cannot stat() mounted device /dev/root: No such file or directory quotacheck: Cannot stat() mounted device /dev/root: No such file or directory quotacheck: Cannot stat() mounted device /dev/root: No such file or directory quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option. Code: root@n3rve:~# quotan -avug No command 'quotan' found, did you mean: Command 'quotaon' from package 'quota' (main) Command 'quota' from package 'quota' (main) quotan: command not found There's no output for Code: netstat -tap | grep ftp . Code: root@n3rve:~# ps -aux | grep ftp Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 5133 0.0 0.0 12784 748 ? Ss 18:02 0:00 /usr/lib/openss h/sftp-server root 5379 0.0 0.0 9392 928 pts/0 S+ 18:10 0:00 grep --color=au to ftp No output for Code: cat /proc/user_beancounters Any help is appreciated
Correct output for quotaon -avug: Code: root@n3rve:/tmp# quotaon -avug quotaon: Cannot stat() mounted device /dev/root: No such file or directory quotaon: Cannot stat() mounted device /dev/root: No such file or directory quotaon: Cannot stat() mounted device /dev/root: No such file or directory root@n3rve:/tmp# No output for these commands: Code: root@n3rve:/tmp# /etc/init.d/pure-ftpd-mysql restart root@n3rve:/tmp# netstat -tap | grep ftp root@n3rve:/tmp
After spending several hours looking for the problem, I found that it was related to the certificate that I created at /etc/ssl/private (pure-ftpd.pem) following the guide. Code: echo 0 > /etc/pure-ftpd/conf/TLS Running that stops PureFTPd from checking for the certificate during start-up. Code: service pure-ftpd restart Code: service --status-all I ran the status check and there was a [+] before pure-ftpd. My only issue now is that I get authentication failures for FTP accounts that I've just created. Any ideas?
Thank you for your reply. Yes, the username along with their passwords are entered correctly. I always remove prefixes for ISPConfig installations. Update: I've also noticed that after adding an FTP user, I don't get the notification about waiting for a minute for changes to take effect. I just get returned to the FTP users list with the new user added.
I've resolved this issue. I followed the guide carefully, but somehow pure-ftpd-mysql wasn't installed. This helped