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 Debian/Ubuntu
  • Search

vsftpd - Failed to retrieve directory listing

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
tbeepa
Posts: 5
Joined: Mon May 04, 2015 12:48 pm

vsftpd - Failed to retrieve directory listing
  • Quote

Post by tbeepa » Mon Jun 01, 2015 8:13 pm

Everything was working great 2 weeks ago and now can not FTP into server. Tried all suggestions from this forum and others. Can not figure it out. I've turned iptables off and received the same results.

Setup:
- Ubuntu 14.04 on Digital Ocean VPS.

Filezilla output:

Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Connected
Status: Retrieving directory listing...
Status: Verifying certificate...
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing

vsftpd.conf file:

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=002
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
dual_log_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
chroot_local_user=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=NO
tcp_wrappers=YES
force_dot_files=YES
ascii_upload_enable=YES
ascii_download_enable=YES
allow_writeable_chroot=YES
seccomp_sandbox=NO
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000
# enable TLS/SSL
ssl_enable=YES
# force client to use TLS when logging in
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=NO
ssl_ciphers=HIGH
# specify SSL certificate/private key (Debian/Ubuntu)
# For CentOS/Fedora/RHEL, replace it with /etc/vsftpd/vsftpd.pem
rsa_cert_file=/etc/vsftpd.pem
rsa_private_key_file=/etc/vsftpd.pem

============
(played around with these settings)
pasv_address=x.x.x.x
pasv_addr_resolve=NO
port_enable=YES
============

Any help would be appreciated.

Thanks!
Top

tbeepa
Posts: 5
Joined: Mon May 04, 2015 12:48 pm

Re: vsftpd - Failed to retrieve directory listing
  • Quote

Post by tbeepa » Wed Jun 03, 2015 2:01 am

figured it out. my error. thought i had the firewall turned off for testing. turned off firewall and all works well.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: vsftpd - Failed to retrieve directory listing
  • Quote

Post by skurudo » Wed Jun 03, 2015 7:07 am

Well done, tbeepa!
I really had thought, Ubuntu has new bug ;-)
Top

tbeepa
Posts: 5
Joined: Mon May 04, 2015 12:48 pm

Re: vsftpd - Failed to retrieve directory listing
  • Quote

Post by tbeepa » Wed Jun 03, 2015 12:53 pm

Thanks!

VestaCP rocks!!!
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • 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