Thursday , July 16 2020
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

 

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

Check these out :)

How to install TeamViewer on Kali Linux 2

This is a short but step-by-step guide on how to install Teamviewer on Kali Linux …

Leave a Reply

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

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

If you agree to these terms, please click here.