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
  • Search

Failed to retrieve directory

General questions about VestaCP
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Horus
Posts: 8
Joined: Fri Dec 27, 2013 4:17 pm

Failed to retrieve directory
  • Quote

Post by Horus » Thu Jan 09, 2014 2:29 pm

I have a problem with connecting to FTP
the FTP client

Code: Select all

Status:	Resolving address of como.horusone.com
Status:	Connecting to 23.226.138.132:21...
Status:	Connection established, waiting for welcome message...
Response:	220 (vsFTPd 3.0.2)
Command:	USER Hoop_como
Response:	331 Please specify the password.
Command:	PASS ********
Response:	230 Login successful.
Command:	OPTS UTF8 ON
Response:	200 Always in UTF8 mode.
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/"
Command:	TYPE I
Response:	200 Switching to Binary mode.
Command:	PASV
Response:	227 Entering Passive Mode (23,226,138,131,46,237).
Command:	LIST
Error:	Connection timed out
Error:	Failed to retrieve directory listing
PS:I have 2 ipv4

Code: Select all

/etc/vsftpd/vsftpd.conf
show new file ,blank page
please where the error
Top

VestaLover
Posts: 36
Joined: Thu Dec 05, 2013 10:55 am

Re: Failed to retrieve directory
  • Quote

Post by VestaLover » Fri Jan 10, 2014 2:31 am

Hi,

You need to enable Passive Mode in vsftpd (/etc/vsftpd.conf)

If you install CSF, you also need to enable the ports in TCP_IN

Good Luck.
Top

Horus
Posts: 8
Joined: Fri Dec 27, 2013 4:17 pm

Re: Failed to retrieve directory
  • Quote

Post by Horus » Fri Jan 10, 2014 10:49 am

VestaLover wrote:Hi,

You need to enable Passive Mode in vsftpd (/etc/vsftpd.conf)

If you install CSF, you also need to enable the ports in TCP_IN

Good Luck.
thank you for reply.
Solved
Adding the following:

Code: Select all

pasv_address=127.0.0.1 

Code: Select all

pasv_addr_resolve=YES
to vsftpd's conf file fixed it.
but images not uploaded
Last edited by Horus on Sat Jan 11, 2014 9:41 am, edited 1 time in total.
Top

VestaLover
Posts: 36
Joined: Thu Dec 05, 2013 10:55 am

Re: Failed to retrieve directory
  • Quote

Post by VestaLover » Fri Jan 10, 2014 5:50 pm

No, you should put:
pasv_enable=YES
pasv_address=YOUR.IP.ADDRESS (put the IP that you are going to connect)

If you put 11.11.11.11 as passive address, you should connect to 11.11.11.11 not your second IP
Top

Horus
Posts: 8
Joined: Fri Dec 27, 2013 4:17 pm

Re: Failed to retrieve directory
  • Quote

Post by Horus » Sat Jan 11, 2014 10:09 am

VestaLover wrote:No, you should put:
pasv_enable=YES
pasv_address=YOUR.IP.ADDRESS (put the IP that you are going to connect)

If you put 11.11.11.11 as passive address, you should connect to 11.11.11.11 not your second IP
That is original vsftpd conf file,Did not work until configuration change like that in my previous post

images uploaded but not appear, this issue related to nginx.

How can i enable only Apache to specific site,and do that with live site.
Top

andrebastos
Posts: 9
Joined: Wed Jun 02, 2021 1:29 pm
Contact:
Contact andrebastos
Website

Os: CentOS 6x
Web: nginx + php-fpm
Re: Failed to retrieve directory
  • Quote

Post by andrebastos » Fri Jun 04, 2021 4:16 pm

Hello,

I had the same problem and I have CSF enabled.
I managed to solve it by doing this:

- I added the ports "49152:65534" in TCP_IN in CSF;
- I enabled iptables (it was disabled);

I hope my information can help.

--
André Bastos
Webhosting
Hospedagem de Sites
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “General Discussion”



  • 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