Articles in this section

Web configuration repair failed: SuexecUserGroup configured, but suEXEC is disabled: Missing suexec binary /usr/lib/apache2/suexec

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • On a server that runs a Debian-based OS, an error that is similar to the following is displayed in the Plesk GUI:

    New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00526: Syntax error on line 23 of /etc/apache2/plesk.conf.d/vhosts/example.com.conf: SuexecUserGroup configured, but suEXEC is disabled: Missing suexec binary /usr/lib/apache2/suexec

  • Running the systemctl status apache2 command provides an output that is similar to the following:

    CONFIG_TEXT: AH00526: Syntax error on line 15 of /etc/apache2/plesk.conf.d/webmails/example.com_webmail.conf:
    SuexecUserGroup configured, but suEXEC is disabled: Invalid owner or file mode for /usr/lib/apache2/suexec
    Action '-t' failed.
    The Apache error log may have more information.

Cause

The suEXEC configuration files remain on the server, however suEXEC binaries in /usr/lib/apache2/suexec and  /usr/lib/plesk-9.0/suexec/psa-suexe are missing:

# root@server:~# ls -lah /usr/lib/apache2/suexec
ls: cannot access '/usr/lib/apache2/suexec': No such file or directory

# root@server:~# ls -lah c
ls: cannot access '/usr/lib/plesk-9.0/suexec/psa-suexec': No such file or directory

The plesk-web-hosting package has been removed (likely as the result of an incomplete or interrupted Plesk update):

# root@server:~# dpkg -l | grep plesk-web-hosting
rc plesk-web-hosting 18.0-v.ubuntu.22.04+p18.0.64.1+t241004.1307 amd64 Plesk Web Hosting Component

Resolution

  1. Connect to the server via SSH

  2. Run the Plesk update again in order to reinstate the missing package and complete the update properly:

    # plesk installer update

  3. Run a repair for the entire Plesk installation:

    # plesk repair installation

  4. Restart Apache by executing the following command:

    # systemctl restart apache2

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.