Wednesday , December 19 2018
Home / Systems Admin / Unknown configuration directive ‘VRootEngine’ on /etc/proftpd.conf

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

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  Unknown configuration directive ‘VRootEngine’ on /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  Unknown configuration directive &#8216;VRootEngine&#8217; on /etc/proftpd.conf proftpd 2

About Muhammad Attique

Check these out :)

How to Modify GRUB Bootloader version 2

I’m going to show you how can we edit and modify GRUB Bootloader version 2, …

Leave a Reply

Your email address will not be published. Required fields are marked *