Plesk websites show error:
HTTP 503 Error. The service is unavailable.
after Active Directory was accidentally deleted from a server.
IWPG users are not present in system.
To resolve the issue perform the steps bellow:
- Attempt to repair web space host security:
if it fails with error:
INFO: Repairing webspace <example.com> security...
ERR: plesk_proc_close() failed
ERR: HostingSecurity failed: Unable to lookup SID for name IWPG_user: (13
32) No mapping between account names and security IDs was done.
(Error code 1)
IWPG usersfrom database:
"%plesk_dir%"\\MySQL\\bin\\mysql -uadmin -p`admin_password` -P8306 -Dpsa -Ne"select login from sys_users; > C:\\users.txt"
for /F "tokens=*" %%A in (C:\\users.txt) do net user IWPG_%%A <password_here> /add
Regenerate user passwords then: