• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Creating physical hosting error

okkhalid

New Pleskian
Server operating system version
Ubuntu 22.04.3 LTS
Plesk version and microupdate number
18.0.55
Hello, I have:
OS
Ubuntu 22.04.3 LTS
Product
Plesk Obsidian
Version 18.0.55 Update #2, last updated on Oct 5, 2023 01:43 AM

The server was working well, till yesterday, I got the following error, so I Upgraded to:
Version 18.0.55 and still I have the same issue:

Any one can help to resolve this step by step.

Thank you

Error when trying to add a domain:


Creating physical hosting
System user update is failed: Unable to create system user: Unable to execute usermng: usermng: /usr/sbin/useradd execution failed:
useradd: Invalid configuration: UID_MIN (10000), UID_MAX (9998)
useradd: can't create user
usermng: Unable to add user: domainname.ca_t3jv0akm7z
 
Your operating system's configuration is wrong. Please see the solution in this thread:
 
great, is that possible to share how I can do that? do I Need to use the server ssh or plesk ssh to login and what commands I need to use. please help
 
Hi, I used ssh to login, but I can not find /sysconfig folder, see attached.
 

Attachments

  • no sysconfig.png
    no sysconfig.png
    78.5 KB · Views: 11
resovled:
Check your file /etc/login.defs and correct the values there. Defaults are:
UID_MIN 1000
UID_MAX 60000
 
Just chiming in to say I have had the exact same issue just now. I cannot open a bug report (No 5 helpful posts so far) so I'll update here:

I use the default settings supplied by Plesk Obsidian on Linux un Azure (Web App)
The error reads:
System user update is failed: Unable to create system user: Unable to execute usermng: usermng: /usr/sbin/useradd execution failed:
useradd: Invalid configuration: UID_MIN (10000), UID_MAX (9998)
useradd: can't create user
usermng: Unable to add user: **************

The /etc/login.defs file says the following (out of the box):
GID_MIN 1000
GID_MAX 9998

Raising the UID_MAX to 99989 did not work.
Additionally lowering the UID_MIN to 999 worked.

Since many people have encountered this issue so far and I used the default settings provided by Plesk Obsidian on Azure and the initial values appear to make sense, I suspect a bug.
 
Back
Top