• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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