Page 1 of 1
ftp - getting access denied
Posted: Fri Mar 21, 2014 4:05 am
by shua
After doing system restart I keep getting an access denied error when I try to log in with any ftp user to my vps
I did this --> service vsftpd start
and got
Starting vsftpd for vsftpd: 500 OOPS: cannot read config file: /etc/vsftpd/vsftpd.conf [FAILED]
any suggestions?
Re: ftp - getting access denied
Posted: Fri Mar 21, 2014 1:37 pm
by imperio
Hi,
what is your operating system on the server ?
Re: ftp - getting access denied
Posted: Fri Apr 04, 2014 8:35 am
by djeglin
I'm experiencing a similar issue of late. I'm not getting an access denied error, though, I'm getting a "Cannot read response" error. I also notice that SSH is very slow all of a sudden. I haven't made any changes, so I don't know what has changed. Sometimes the connection gets through, but most of the time using a desktop client such as Transmit I get chucked out (I assume this is some kind of timeout). If I manually connect through the command line, it gets there eventually but takes an age.
Ping responses are normal though, taking around 22ms to complete.
Something has clearly caused a major slowdown somewhere.
OS: CentOS 6.5
Re: ftp - getting access denied
Posted: Fri Apr 04, 2014 4:07 pm
by imperio
I recommend that you use proftpd
instruction for replacement vsftpd --> proftpd
1. Disable vsftpd
Code: Select all
service vsftpd stop
chkconfig vsftpd off
2. Install software package
3. Download configuration
Code: Select all
wget http://c.vestacp.com/0.9.8/rhel/proftpd.conf -O /etc/proftpd.conf
4. Change vesta settings
Code: Select all
sed -i "s/vsftpd/proftpd/" /usr/local/vesta/conf/vesta.conf
5. Enable proftpd
Code: Select all
chkconfig proftpd on
service proftpd start
Re: ftp - getting access denied
Posted: Fri Apr 04, 2014 11:54 pm
by djeglin
That seems much better for me at least. I don't know about the OP.
Thanks very much
D
Re: ftp - getting access denied
Posted: Fri Jul 25, 2014 11:27 am
by Acans
Can I do this for Debain 7.5? I'm having troubles with vsftpd as well.
Nevermind, Google is amazing.
For anybody else with Debian:
Code: Select all
wget http://c.vestacp.com/0.9.8/debian/proftpd.conf -O /etc/proftpd.conf
Code: Select all
sed -i "s/vsftpd/proftpd/" /usr/local/vesta/conf/vesta.conf
Re: ftp - getting access denied
Posted: Sun Jul 27, 2014 5:20 pm
by imperio
Yes, you can doing this for Debian/Ubuntu