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

(Solved) Can't FTP log in Topic is solved

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
grafityx
Posts: 6
Joined: Sat Aug 18, 2018 2:35 pm

Os: Debian 7x
Web: apache + nginx
(Solved) Can't FTP log in
  • Quote

Post by grafityx » Wed Sep 19, 2018 4:16 am

Dear everyone, I have two servers on Debian 8 and both I can't FTP login anymore. It seem to be since I've updated the servers but not sure ...

I found similar issues on google but don't find a solution that's suit to me !

- I've tried both PASSIVE and ACTIVE transfer mode,
- I've added "seccomp_sandbox=NO" into /etc/vsftpd.conf
- I've tried to change the pasv_max_port and pasv_min_port into /etc/vsftpd.conf
- I've tried to change the pasv_address with my IP address into /etc/vsftpd.conf
- Banlist file checked is empty.

None of above solution work ...

Hope someone can help, thanks

Code: Select all

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
anon_umask=022
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
dual_log_enable=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_writable_chroot=YES
allow_writeable_chroot=YES
seccomp_sandbox=NO
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000
use_localtime=YES
pasv_address='SERVER MAIN IPv4'
Active mode:

Code: Select all

Status:       	Connection established, waiting for welcome message...
Status:       	Insecure server, it does not support FTP over TLS.
Status:       	Server does not support non-ASCII characters.
Status:       	Logged in
Status:       	Retrieving directory listing...
Command: 	PWD
Response: 	257 "/"
Command: 	TYPE I
Response: 	200 Switching to Binary mode.
Command: 	PORT 192,168,1,8,201,176
Response: 	500 Illegal PORT command.
Command: 	PASV
Response: 	500 OOPS: invalid pasv_address
Error:         	Failed to retrieve directory listing
Status:       	Connection closed by server
Passive mode:

Code: Select all

Status:       	Connection established, waiting for welcome message...
Status:       	Insecure server, it does not support FTP over TLS.
Status:       	Server does not support non-ASCII characters.
Status:       	Logged in
Status:       	Retrieving directory listing...
Command: 	PWD
Response: 	257 "/"
Command: 	TYPE I
Response: 	200 Switching to Binary mode.
Command: 	PASV
Response: 	500 OOPS: invalid pasv_address
Command: 	PORT 192,168,1,8,201,195
Error:         	Connection closed by server
Error:         	Failed to retrieve directory listing
Last edited by grafityx on Fri Sep 21, 2018 3:18 am, edited 3 times in total.
Top

grafityx
Posts: 6
Joined: Sat Aug 18, 2018 2:35 pm

Os: Debian 7x
Web: apache + nginx
Re: Can't FTP login
  • Quote

Post by grafityx » Wed Sep 19, 2018 10:50 am

Geo-location seems to be one of the issue, let me explain when I ask a friend to connect from his home country it's work pretty fine with ACTIVE mode. But If myself, I use a VPN with the same country than friend, is not connecting ...
Not really understand why my current location or VPN can affect to log in into FTP, especially before I could connect =(

By the way my friend and servers are located in Europe and me in Asia
Top

grafityx
Posts: 6
Joined: Sat Aug 18, 2018 2:35 pm

Os: Debian 7x
Web: apache + nginx
Re: Can't FTP login
  • Quote

Post by grafityx » Fri Sep 21, 2018 3:15 am

Issue fixed by removing "pasv_address=" line from /etc/vsftpd.conf file.
Now I can log in both active and passive mode !
Top

firstenquiryseo1
Posts: 1
Joined: Mon Sep 24, 2018 12:38 pm
Contact:
Contact firstenquiryseo1
Website

Os: CentOS 6x
Web: apache
Re: (Solved) Can't FTP log in
  • Quote

Post by firstenquiryseo1 » Mon Sep 24, 2018 12:42 pm

Nicely done!
Top


Post Reply
  • Print view

4 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