Cannot create subdomains. The following error appears: "skelmng failed: Unable to logon user"

Created:

2016-11-16 13:05:16 UTC

Modified:

2017-08-08 13:35:24 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot create subdomains. The following error appears: "skelmng failed: Unable to logon user"

Applicable to:

  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Symptoms

Unable to create subdomains, the following errors appear:

Error: skelmng failed: Unable to logon user (ID11111\\username): (1326) Logon failure: unknown user name or bad password.
(Error code 1)

Error: The following system user attributes were not changed: login (Unable to execute usermng: Unable to get the user (domain10) home: (2221) The user name could not be found. (Error code 1))

Error: skelmng failed: Access is denied. (Error code 5) at retrieves attributes for file or directory C:\\Inetpub\\vhosts\\example.com\\sub.example.com
(Error code 1)

Cause

  1. Domain system user name is not properly specified.
  2. Windows Server 2003 compatibility mode was enabled for php.exe .

Resolution

  1. To resolve the isusue please follow the steps bellow:

  2. Run the following command to fix system users:

        "%plesk_cli%\\repair.exe" --repair-webspace-system-users -webspace-name example.com
  3. Then fix permissions in vhost:

        "%plesk_cli%\\repair.exe" --repair-webspace-security -webspace-name example.com
  4. Find application pool assigned to domain 'example.com':

        > %systemroot%\\system32\\inetsrv\\appcmd list apppool | findstr example.com
    APPPOOL "example.com(domain)(4.0)(pool)" (MgdVersion:v2.0,MgdMode:Integrated,state:Started)
  5. Rstart the application pool:

        > %systemroot%\\system32\\inetsrv appcmd start apppool /apppool.name: example.com(domain)(4.0)(pool)
  6. Disable Windows Server 2003 compatibility mode for php.exe :

    >reg.exe Delete "HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers" /v "%plesk_dir%Additional\\PleskPHP5\\php.exe"
Have more questions? Submit a request
Please sign in to leave a comment.