ProFTPD 1.3.7a update: failed to start

Jan_E

Verified User
Joined
Apr 29, 2011
Messages
132
Location
Amsterdam, NL, EU
After the update to ProFTPD 1.3.7a the service failed to start. Reason:
Code:
unknown configuration directive 'IdentLookups' on line 73 of '/etc/proftpd.conf'

The directive was removed in 1.3.7RC1
Code:
 + The mod_ident module is no longer automatically built by default.
    To include the mod_ident module in the build, it must be explicitly
    requested via --enable-ident or --with-shared=mod_ident.

    This means that configuration files using the IdentLookups directive
    will now want to using an enclosing <IfModule> section, like so:

      <IfModule mod_ident.c>
        IdentLookups off
      </IfModule>

I downgraded to ProFTPD 1.3.6d:
Code:
cd /usr/local/directadmin/custombuild
echo "proftpd:1.3.6d:" >> custom_versions.txt
./build update
./build clean
./build proftpd
 
Last edited:
  • Like
Reactions: Kal
It should be fine in CB 2.0 rev. 2535, thank you for the report.
 
Hi i had exactly the same problem, after update to ProFTPD 1.3.7a it stopped working. I also downgraded to 1.3.6d.
You mentioned it will work with rev 2535 but it failed on: CB 2.0 rev 2538

Code:
[root@web01 custombuild]# ./build version
2.0.0 (rev: 2538)
 
On all of my 5 Centos 6 machines I had a custom configure.proftpd. On some a custom conf/proftpd.conf, but on others the sftp customizations were done directly in /etc/proftpd.conf. Maybe that was the way of doing it in the early days, just like the script in the help topic is installing a /etc/proftpd.sftp.conf.

On the most critical system I just removed the
Code:
IdentLookups off
line. Only fix what is broken...
On the other systems I ran the script in the help topic.

Thanks for the support.
 
broken on my setup too:
proftpd[24575]: fatal: unknown configuration directive 'IdentLookups' on line 73 of '/etc/proftpd.conf'

would it be an option to just remove that line?

Code:
        IdentLookups            off

i mean, its allready set to off in my config.... or would it break other stuff?
 
Yes, you may simply remove that line. I think you're using a custom config as well :)
 
On FreeBSD 11.3 something strange happens. There are no errors during the make, but then it fails to install:

Code:
...
Make complete
Installing proftpd-1.3.7a...
make: "/usr/local/directadmin/custombuild/proftpd-1.3.7a/Makefile" line 37: Need an operator
make: "/usr/local/directadmin/custombuild/proftpd-1.3.7a/Makefile" line 39: Need an operator
make: "/usr/local/directadmin/custombuild/proftpd-1.3.7a/Makefile" line 41: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/local/directadmin/custombuild/proftpd-1.3.7a
Done proftpd.
./build: unsetenv: not found
Enabling ProFTPd ClamAV module for upload scanning
libtool --mode=compile gcc -DFREEBSD11 -DFREEBSD11_2 -g2 -O2 -Wall -fno-omit-frame-pointer -DPR_SHARED_MODULE -I. -I/usr/include/proftpd -c mod_clamav.c
libtool: compile: unable to infer tagged configuration
libtool:   error: specify a tag with '--tag'
prxs: error executing command (1)
Restarting ProFTPd.
Shutting down proftpd:          [ OK ]
Starting proftpd:               [ OK ]

Upgrade is unssuccessfull (still the older version).
 
Back
Top