• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Error : AH00543: apache2: bad user name ****

Erwin Fiten

Basic Pleskian
Server operating system version
Debian 11.7
Plesk version and microupdate number
Version 18.0.54, last updated on July 23, 2023 03:42 PM
Yesterday I did an OS upgrade from Debian 9 to 10 (as far as I saw without an issue), and then from 10 to 11, using the howto from Plesk.
Always kept old configurations if asked for.

Now I get the following error on the start page of Plesk :

New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00543: apache2: bad user name unifi. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter

Don't know where to find it. the user 'unifi', the only thing this is related to, is an old subdomain I once created.

Is there a way I can figure out where this error is, and how to solve it ?

Erwin
 
I tried to repair with 'plesk repair web -v'

Repair web server configuration for all domains? [Y/n]
Repairing web server configuration for all domains. This aspect
can be used with individual domains ("plesk repair web
example.com"), and on the server level ("plesk repair web") ..... [2023-07-24 11:38:11.149] 89129:64be46779a703 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/httpdmng' '--reconfigure-all' '-skip-removing'] with exit code [1]
[FAILED]
- httpdmng failed: Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: [2023-07-24 11:38:10.451] 91862:64be46826dc21 ERR
[util_exec] proc_close() failed
['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2023-07-24 11:38:10.832] 91862:64be46826dc21 ERR [util_exec]
proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t']
with exit code [1]
[2023-07-24 11:38:10.840] 91862:64be46826dc21 ERR [panel]
Apache config (16901914890.99193900) generation failed:
Template_Exception: AH00543: apache2: bad user name unifi

file:
/opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
AH00543: apache2: bad user name unifi
 
Back
Top