SuexecUserGroup configured, but suEXEC is disabled: Invalid owner or file mode

SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.6
Webmin version 2.021
Virtualmin version 7.7
Related packages suexec / Apache

I ran into an issue where Lets Encrypt would not update one of my virtual hosts. I have fixed that.

But during my investigation I keep seeing this message and only on one of my virtualhosts (all setup to run SuexecUserGroup) :-

nigel@apache-web-server:~$ apachectl configtest
AH00526: Syntax error on line 2 of /etc/apache2/sites-enabled/0-soft-focus-imagining.com.conf:
SuexecUserGroup configured, but suEXEC is disabled: Invalid owner or file mode for /usr/lib/apache2/suexec
Action ‘configtest’ failed.
The Apache error log may have more information.

I’ve looked through the “apache” error.log and soft-focus-imagining error.log and see no messages relating to suEXEC … and of course suEXEC is enabled in Apache. I did also reboot the server.

Everything does seem to be working but I’d much prefer no error message! :slight_smile:

Kind Regards - Nigel Aves

Googled it, seen some solutions is to change permission of that file (using chmod 4755), whats it at now?

It’s a tad strange. Also I have 5 other web sites all setup the same to using SuexecUserGroup in the vhost. So why just this one site is perplexing!

in /usr/lib/apache2

suexec has a symbolic link to /etc/alternatives/suexec and is set as root:root 0777
/etc/alternatives/suexec has a symbolic link pointing to /usr/lib/apache2/suexec-custom

and

suexec-custom (because web sites are stored under /home) is set to root:www-data 4754

BTW - Thanks for the response.

Nigel

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.