Plesk

Plesk shows the following error after removing a subscription: AH00543: httpd: bad user name jdoe

Symptoms

Cause

Product issues:

Resolution

Please consider updating your server:

Workaround

Upgrade Plesk to the latest version. 

Click on a section to expand

If upgrade is not possible, use the following workaround

  1. Connect to the server via SSH.

  2. Backup psa database as per the instruction in the following article: How to backup/restore a Plesk database dump
  3. Remove the user in Plesk database:

    # plesk db "DELETE FROM psa.sys_users WHERE login='jdoe';"

  4. Remove the directory for the subscription/domain:

    # rm -r /var/www/vhosts/example.com

  5. Recreate subscription/domain in Plesk > Subscriptions > Add Subscription or Plesk > Domains > Add domain respectively.

  6. Remove subscription/domain in Plesk > Subscriptions > select subscription > Remove or Plesk > Domains > select domain > Remove respectively.

Note: if the issue re-occur for another user, resolve database inconsistency by removing orphaned domain services and system users by running:

# plesk repair db

Exit mobile version