Page 1 of 1
Ftp problem vestaCP Debian 9 OVH
Posted: Sat Feb 05, 2022 4:31 pm
by maiumy
I have installed vestaCP on new Debian 9 VPS hosted by OVH.
I edited the default domain already configured in Vestacp (vps-4e1c...) adding additional ftp to login via Filezilla.
The problem is that when I try to connect to the domain via Filezilla it report "ECONNREFUSED".
I have tryed using ftp <ip server> on Windows but the connection is refused.
How I can solve?
Re: Ftp problem vestaCP Debian 9 OVH
Posted: Mon Feb 07, 2022 6:44 pm
by sandro
You need to check if the FTP ports are open on the firewall, as you are getting a connection refused error.
Check the firewall of both the Debian server and the datacenter.
A simple test is to run the command "telnet IP 21" to verify port 21 is open.
Re: Ftp problem vestaCP Debian 9 OVH
Posted: Sat Apr 01, 2023 2:15 am
by sugumaranv
I am using vestacp on Debian 9 on VPS provider, LightNode.com.
I get similar problem when trying to access FTP though I enabled FTP.
I think the problem is with VSFTPD is stopped in the Server Tab and I cannot be restarted due to this problem.
At the Windows 11 Home Command Line ssh, I logged into my box:
root@vestacp:~# vsftpd
500 OOPS: unrecognised variable in config file: allow_writable_chroot
root@vestacp:~#
What should I do? What should I modify in the /etc/vsftpd.conf file?
Thank you.
Re: Ftp problem vestaCP Debian 9 OVH
Posted: Sat Apr 01, 2023 5:50 am
by sugumaranv
sugumaranv wrote: ↑Sat Apr 01, 2023 2:15 am
I am using vestacp on Debian 9 on VPS provider, LightNode.com.
I get similar problem when trying to access FTP though I enabled FTP.
I think the problem is with VSFTPD is stopped in the Server Tab and I cannot be restarted due to this problem.
At the Windows 11 Home Command Line ssh, I logged into my box:
root@vestacp:~# vsftpd
500 OOPS: unrecognised variable in config file: allow_writable_chroot
root@vestacp:~#
What should I do? What should I modify in the /etc/vsftpd.conf file?
Thank you.
I managed the solve the issue by editing the /etc/vsftpd.conf to remove those unrecognised words.
I guess the version of vestacp I used on my Debian 9 was not a standard version.
The issue is solved and vsftpd is working.