I am currently testing the 1.3.7e version of Proftpd against 1.3.6c like proposed here on the projects page. Unfortunately I can't get rid of those errors while loading the config. I get
./proftpd -t -d10 -c /etc/proftpd/proftpd.conf
Checking syntax of configuration file
2022-09-15 11:41:40,078 v2202005121494117849 proftpd[24761]: using TCP receive buffer size of 87380 bytes
2022-09-15 11:41:40,078 v2202005121494117849 proftpd[24761]: using TCP send buffer size of 65536 bytes
2022-09-15 11:41:40,078 v2202005121494117849 proftpd[24761]: ROOT PRIVS at mod_core.c:377
2022-09-15 11:41:40,078 v2202005121494117849 proftpd[24761]: RELINQUISH PRIVS at mod_core.c:379
2022-09-15 11:41:40,078 v2202005121494117849 proftpd[24761]: ROOT PRIVS at mod_core.c:386
2022-09-15 11:41:40,078 v2202005121494117849 proftpd[24761]: ROOT PRIVS at parser.c:1186
2022-09-15 11:41:40,078 v2202005121494117849 proftpd[24761]: fatal: unknown configuration directive 'ModulePath' on line 7 of '/etc/proftpd/modules.conf'
2022-09-15 11:41:40,079 v2202005121494117849 proftpd[24761]: RELINQUISH PRIVS at parser.c:1189
2022-09-15 11:41:40,079 v2202005121494117849 proftpd[24761]: RELINQUISH PRIVS at mod_core.c:389
2022-09-15 11:41:40,079 v2202005121494117849 proftpd[24761]: warning: unable to include '/etc/proftpd/modules.conf': Operation not permitted
2022-09-15 11:41:40,079 v2202005121494117849 proftpd[24761]: fatal: unknown configuration directive 'ModuleControlsACLs' on line 8 of '/etc/proftpd/proftpd.conf'
I checked on those mentioned directives/options which should all be current/essential. Also there is nothing wrong with the permissions of the /etc/proftpd/modules.conf file.
What confuses me is that it does seem to load the modules.conf although it complains beforehand. The ModuleControlsACLs insmod,rmmod allow user root
is actually in the modules.conf file (not in proftpd.conf), like the ModulePath /usr/lib/proftpd
. If I comment out these it will just give an error with the next and so on, so it does seem it is not accepting any from that config file.
Any ideas? Thanks!