Re: [Proftpd-user] ftpdctl show "Controls support disabled" even if module is loaded

"Block, Clemens via Proftp-user" <[email protected]> Wed, 1 Mar 2023 14:36:56 +0000
Newsgroups gmane.network.proftpd.user
Message-ID <AS1PR10MB567598423DBA135DB4F895C1E0AD9@AS1PR10MB5675.EURPRD10.PROD.OUTLOOK.COM>
Well,

in general we are if possible install packages from "standard" package repositories.
Fpr proftpd we are using EPEL I think
   proftpd-1.3.5e-8.el7.x86_64
   proftpd-mysql-1.3.5e-8.el7.x86_64
are installed on the system ( I know quiet old ones)
But this is a develop system, so you never know what someone did in the past.
Meanwhile I made the same config on another system which more closely under my control
  proftpd-1.3.5e-4.el7.x86_64
  proftpd-mysql-1.3.5e-4.el7.x86_64
Ans surprisingly everything worked fine there.
So I removed and reinstalled the packages on the dev server with package version 
  proftpd-mysql-1.3.5e-12.el7.x86_64
  proftpd-1.3.5e-12.el7.x86_64
Unfortunately the problem still exist.

I can live with that, but it would be nice where this behaviour is coming from.

Thank you from your support
   Clemens

-----Ursprüngliche Nachricht-----
Von: TJ Saunders <[email protected]> 
Gesendet: Mittwoch, 1. März 2023 06:10
An: ProFTPD Users <[email protected]>
Betreff: Re: [Proftpd-user] ftpdctl show "Controls support disabled" even if module is loaded

[EXTERNAL EMAIL] This mail originated from outside of TecAlliance. Think twice before opening links or attachments. If in doubt, forward to [email protected]<mailto:[email protected]>.

> I have a ftpdctl problem
>
> I can see mod_ctrls.c in the static module list
>
> [root@myserver proftpd]# proftpd -l | grep ctrls
>   mod_ctrls.c
>
> And this is my config at proftpd.conf
>     ControlsEngine        on
>     ControlsACLs          all allow group root
>     ControlsMaxClients    2
>     ControlsLog           /var/log/proftpd/controls.log
>     ControlsInterval      5
>     ControlsSocketOwner   root root
>     ControlsSocketACL     allow group root
>
> If I run ftpdctl I get
> ftpdctl:
>   Controls support disabled.
>   Please recompile proftpd using --enable-ctrls
>
> Any idea what's wrong?

How interesting.  How did you install ProFTPD?  In particular, did you install a series of ProFTPD-related RPMs, perhaps while trying to get the desired functionality?

It almost looks like the `proftpd` executable installed has Controls support -- but the installed `ftpdctl` executable does not have Controls support.  Thus I'm wondering how such a mixed installation might have occurred.

TJ


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html