I’m tired of problems with ftp access refused in Virtualmin.
I had to run the auto-install in centos 6 and CentOS 7.
I can not solve a problem that does not have ftp connect.
following is the order of proceeding, the ftp access is denied to the end.
install CentOS basic server
yum update
reboot
download install.sh
sh install.sh
I had to run the auto-install on CentOS 7, the ftp access was denied.
Below is the error information.
Ask for advice.
service proftpd status
Redirecting to /bin/systemctl status proftpd.service
● proftpd.service - ProFTPD FTP Server
Loaded: loaded (/usr/lib/systemd/system/proftpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 일 2016-01-31 17:41:21 KST; 3min 57s ago
Process: 3008 ExecStart=/usr/sbin/proftpd $PROFTPD_OPTIONS (code=exited, status=1/FAILURE)
1월 31 17:41:18 huso.co.kr systemd[1]: Starting ProFTPD FTP Server…
1월 31 17:41:21 huso.co.kr proftpd[3008]: 2016-01-31 17:41:21,665 huso.co.kr proftpd[3008]: fatal: SFTPHostKey: un…conf’
1월 31 17:41:21 huso.co.kr systemd[1]: proftpd.service: control process exited, code=exited status=1
1월 31 17:41:21 huso.co.kr systemd[1]: Failed to start ProFTPD FTP Server.
1월 31 17:41:21 huso.co.kr systemd[1]: Unit proftpd.service entered failed state.
1월 31 17:41:21 huso.co.kr systemd[1]: proftpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
Thanks It Works for me , I was getting Connection attempt failed with “ECONNREFUSED - Connection refused by server” by using filezilla to connect with centos 7 !
Thanks for the fix, worked for me CentOS 7.3
From looking at above this has been going on for some time now, & like the others I’ve just waisted way too much time on this.
Are the Virtualmin Forum moderators a where of this?
so thye can fix or at least have some kind of warning for CentOS users.
This problem was reported several times and if you still have it on fresh Centos 7 and Vmin installation that means the devs didnt repair the problem. You can always report the bug in bug/issue tracker.
P.S. It could be some new bug but you should first try to fix the problem as removing software and installing again isnt the best solution.
I believe this is fixed in the current version of virtualmin-config, without having to do anything manually.
If you have a system exhibiting the problem, and it was installed with any 6.0.x version of the installer, make sure virtualmin-config package is updated to the latest version (6.0.18, as of this writing), and run:
# virtualmin config-system --include ProFTPd
There was a regression for a little while that caused some modules to not be loaded correctly.
If that doesn’t fix it, please report it along with your distro and version and what specifically isn’t working. It’ll get fixed, if I know about it.