• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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