Friday , June 22 2018
Home / Systems Admin / Unknown configuration directive ‘VRootEngine’ on /etc/proftpd.conf

Unknown configuration directive ‘VRootEngine’ on /etc/proftpd.conf

Print Friendly

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:

proftpd[3321]: Fatal: Unknown configuration directive ‘VRootEngine’ on line 16 of ‘/etc/proftpd.conf’

proftpd-1

 

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:

VRootEngine                     on
DefaultRoot                     ~ !adm
VRootAlias                      /etc/security/pam_env.conf etc/security/pam_env.conf

 

To:

 

<IfModule mod_vroot.c>
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..

 

proftpd-2

About Muhammad Attique