• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Resolved were not created due to the errors in configuration templates: httpd: bad user name...

yabado

Regular Pleskian
Keep getting this error box in my panel home dashboard...

New configuration files for the Apache web server were not created due to the errors in configuration templates: httpd: bad user name example . 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.

*example not actual username

I have followed all the kb articles. No errors on http -t or during reconfigure-all.

The error alert persists on the main Plesk panel dash however.

What do I need to do to fix this for good?
 
Sounds like some half removed mess. You can just add a user via the CLI;

# useradd sample

Sample being the username.
 


Here is what I have:


# grep sample /etc/passwd
sample:x:10047:503::/var/www/vhosts/sample.com:/bin/false

MariaDB [psa]> select * from sys_users where login='sample';
Empty set (0.00 sec)

Now after running adduser, I have 2 instances of the same user :-/
 
Negative, but you can reconfigure Apache successfully, and if it's not in the Plesk DB it's not a user that's needed anyways...
 

Here is what I have:


# grep sample /etc/passwd
sample:x:10047:503::/var/www/vhosts/sample.com:/bin/false

MariaDB [psa]> select * from sys_users where login='sample';
Empty set (0.00 sec)

Now after running adduser, I have 2 instances of the same user :-/

2 instances where?
 
Clear the error;

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa
mysql > delete from Configurations where status="error";


Try rebuilding again;

# plesk repair web

See if the error comes back and/or the rebuild completes.
 
Clear the error;

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa
mysql > delete from Configurations where status="error";


Try rebuilding again;

# plesk repair web

See if the error comes back and/or the rebuild completes.


Thanks brother. That fixed it up.

Seems that errant user was attached to a bunch of webmail configs, across several domains? weird.
 
Back
Top