Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

ftp - getting access denied

RHEL/CentOS related topics
Locked
  • Print view
Advanced search
7 posts • Page 1 of 1
shua
Posts: 10
Joined: Thu Mar 13, 2014 7:12 pm

ftp - getting access denied

Post by shua » Fri Mar 21, 2014 4:05 am

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?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: ftp - getting access denied

Post by imperio » Fri Mar 21, 2014 1:37 pm

Hi,
what is your operating system on the server ?
Top

djeglin
Posts: 3
Joined: Fri Apr 04, 2014 8:26 am

Re: ftp - getting access denied

Post by djeglin » Fri Apr 04, 2014 8:35 am

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
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: ftp - getting access denied

Post by imperio » Fri Apr 04, 2014 4:07 pm

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

Code: Select all

yum install proftpd
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
Top

djeglin
Posts: 3
Joined: Fri Apr 04, 2014 8:26 am

Re: ftp - getting access denied

Post by djeglin » Fri Apr 04, 2014 11:54 pm

That seems much better for me at least. I don't know about the OP.

Thanks very much

D
Top

Acans
Posts: 4
Joined: Thu Jul 24, 2014 10:11 am

Re: ftp - getting access denied

Post by Acans » Fri Jul 25, 2014 11:27 am

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

service vsftpd stop

Code: Select all

update-rc.d -f vsftpd remove

Code: Select all

apt-get install proftpd

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

Code: Select all

update-rc.d -f proftpd enable

Code: Select all

service proftpd start
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: ftp - getting access denied

Post by imperio » Sun Jul 27, 2014 5:20 pm

Yes, you can doing this for Debian/Ubuntu
Top


Locked
  • Print view

7 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password