• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

add subdomains fails

AbsolutelyFreeWeb

New Pleskian
when trying to add a subdomain, with a ftp user, it is saying "user xxx already exists"

it is doing this after it failed creating the subdomain for some other reason and stopped in middle.

I have tried to create with subdomain.exe and it says exactly same thing:

An error occured during subdomain creation: Unable to make changes to the subdomain: User xxx already exists

now that user is deleted from windows

it is deleted from psa.sys_users

its old id is deleted from psa.accounts

yet same error. where is the user ?
 
progress: subdomain.exe calls "C:\Program Files (x86)\Parallels\Plesk\admin\plib\cu\subdomain.php" --create subdomainname -domain domain.name -ftp_user native -login ftpuser -passwd ftppassword"

but the file is protected. I don't see what's in there.
 
Solved

it finally calls usermng, that calls samlib.dll

samlib.dll is Security Accounts Manager Client which actually connects to windows....

so.. the answer is.. it is not only checking user xxx.. but also IUSR_xxx....

deleted the IUSR_xxxx and voila!

subdomain created !
 
Back
Top