Page 1 of 1

Unable to start proftpd server

Posted: Wed Dec 16, 2015 3:29 pm
by nik
OK Found Problem - Centos 7 x64
Reinstall VPS /w Centos 6.5
[root@]# 2015-12-16 19:45:32 (200 MB/s) - “/etc/proftpd.conf” saved [963/963]
[root@~]# [root@~]# sed -i "s/vsftpd/proftpd/" /usr/local/vesta/conf/vesta.conf
[root@ ~]# [root@ ~]# chkconfig proftpd on
[root@~]# [root@~]# service proftpd start
[root@ ~]# Starting proftpd: [ OK ]
My advise stay /w Centos 6.5!

=====================================================
Using Centos 7 X64 /w VestaCP Version:0.9.8 (x86_64)Release:15
Followed Documentation - How to replace vsftpd with ProFTPD on a RHEL or CentOS
However after cannot start proftpd server
Error :
Redirecting to /bin/systemctl start proftpd.service
Job for proftpd.service failed because the control process exited with error code. See "systemctl status proftpd.service" and "journalctl -xe" for details.

Any help / guidance how be greatly appreciate

Kind Regards
Nik

Re: Unable to start proftpd server

Posted: Thu Jan 07, 2016 7:12 am
by BBuchanan1013
What's the output of:

Code: Select all

systemctl status proftpd.service -l

Re: Unable to start proftpd server

Posted: Wed Mar 09, 2016 6:55 am
by drrob
Hi, ive got the same issue here. My output result is:
â proftpd.service - LSB: Starts ProFTPD daemon
Loaded: loaded (/etc/init.d/proftpd)
Active: failed (Result: exit-code) since Wed 2016-03-09 07:16:59 CET; 33min ago
Docs: man:systemd-sysv-generator(8)
Process: 15921 ExecStart=/etc/init.d/proftpd start (code=exited, status=1/FAILURE)

Mar 09 07:16:59 1xs systemd[1]: Stopped LSB: Starts ProFTPD daemon.
Mar 09 07:16:59 1xs systemd[1]: Starting LSB: Starts ProFTPD daemon...
Mar 09 07:16:59 1xs proftpd[15921]: * Starting ftp server proftpd
Mar 09 07:16:59 1xs proftpd[15921]: 2016-03-09 07:16:59,530 1xs proftpd[15932]: mod_dso/0.5: unable to load 'mod_vroot.c'; check to see if '/usr/lib/proftpd/mod_vroot.la' exists
Mar 09 07:16:59 1xs proftpd[15921]: 2016-03-09 07:16:59,531 1xs proftpd[15932]: fatal: LoadModule: error loading module 'mod_vroot.c': No such file or directory on line 1 of '/etc/proftpd/proftpd.conf'
Mar 09 07:16:59 1xs proftpd[15921]: ...fail!
Mar 09 07:16:59 1xs systemd[1]: proftpd.service: Control process exited, code=exited status=1
Mar 09 07:16:59 1xs systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
Mar 09 07:16:59 1xs systemd[1]: proftpd.service: Unit entered failed state.
Mar 09 07:16:59 1xs systemd[1]: proftpd.service: Failed with result 'exit-code'.

Re: Unable to start proftpd server

Posted: Wed Mar 09, 2016 7:30 am
by tjebbeke
drrob wrote:Hi, ive got the same issue here. My output result is:
â proftpd.service - LSB: Starts ProFTPD daemon
Loaded: loaded (/etc/init.d/proftpd)
Active: failed (Result: exit-code) since Wed 2016-03-09 07:16:59 CET; 33min ago
Docs: man:systemd-sysv-generator(8)
Process: 15921 ExecStart=/etc/init.d/proftpd start (code=exited, status=1/FAILURE)

Mar 09 07:16:59 1xs systemd[1]: Stopped LSB: Starts ProFTPD daemon.
Mar 09 07:16:59 1xs systemd[1]: Starting LSB: Starts ProFTPD daemon...
Mar 09 07:16:59 1xs proftpd[15921]: * Starting ftp server proftpd
Mar 09 07:16:59 1xs proftpd[15921]: 2016-03-09 07:16:59,530 1xs proftpd[15932]: mod_dso/0.5: unable to load 'mod_vroot.c'; check to see if '/usr/lib/proftpd/mod_vroot.la' exists
Mar 09 07:16:59 1xs proftpd[15921]: 2016-03-09 07:16:59,531 1xs proftpd[15932]: fatal: LoadModule: error loading module 'mod_vroot.c': No such file or directory on line 1 of '/etc/proftpd/proftpd.conf'
Mar 09 07:16:59 1xs proftpd[15921]: ...fail!
Mar 09 07:16:59 1xs systemd[1]: proftpd.service: Control process exited, code=exited status=1
Mar 09 07:16:59 1xs systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
Mar 09 07:16:59 1xs systemd[1]: proftpd.service: Unit entered failed state.
Mar 09 07:16:59 1xs systemd[1]: proftpd.service: Failed with result 'exit-code'.


I guess you are missing some file.
'mod_vroot.c': No such file or directory on line 1 of '/etc/proftpd/proftpd.conf'

Re: Unable to start proftpd server

Posted: Tue Jul 05, 2016 11:05 pm
by elysiumservers
Of course he is missing some file !!

the mod-vroot module is no longer provided on debian and the tutorial keeps asking to install this file.

Either you update the tutorials to reflect how to properly configure proftpd on debian or you delete the entry, because, as it is now, there is no way to make it work.