I have been using Proftpd on CentOS 6 along with webmin for long time. Today, Proftpd process stopped un-expectedly and when I tried to start it, it just FAILED…!
CentOS Version: 6.5 x86_64
Webmin Version: 1.73
ProFtp Version: proftpd-1.3.4a-1.el6.rf.x86_64 (came with CentOS YUM repo)
Error faced when entered “/usr/sbin/proftpd” command:
Solution:
To resolve this issue, I googled alot and came to a very un-expected change in configuration file. As this ProFtpd software been working for quite long and without any issue, but now it suddenly needs change in its configuration, Wow…
Well I’ve change following code in “/etc/proftpd.conf” file:
DefaultRoot ~ !adm
VRootAlias /etc/security/pam_env.conf etc/security/pam_env.conf
To:
VRootEngine on
DefaultRoot ~ !adm
VRootAlias /etc/security/pam_env.conf etc/security/pam_env.conf
</IfModule>
Hence, just putting VRootEngine portion in “mod_vroot.c” Module. Now when I started Proftpd process, it just worked and is now back on track..