• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

No such user: nginx

JustinGivens

Basic Pleskian
I tried to enable nginx last night and I received this error

Code:
Unable to generate the web server configuration file on the host <www.imageinabox.com> because of the following errors:

chown: `root:nginx': invalid group


Please resolve the errors in web server configuration templates and generate the file again.

Not sure why I'm receiving this. When I installed Plesk, I installed beginning at 11.

I couldn't find anything about this issue. Any suggestions.
 
Maybe try reconfiguring vhost files and then try enabling nginx?

usr/local/psa/admin/bin/httpdmng --reconfigure-all
 
Didn't do anything

That was the first thing I thought of too. It didn't work.

Not sure why the user account wasn't created at install.
 
Do you have nginx group defined in /etc/group file:

# cat /etc/group | grep nginx
psaserv:x:1003:www-data,psaftp,psaadm,nginx
nginx:x:999:nginx

Try to run bootstrapper repair procedure or reinstall nginx package.
 
IgorG,

Thanks. Doing the repair mess with the Apache/mySQL running currently? Just wondering if I'll have any downtime if I run the repair.

BTW, I do NOT have those user accounts. So I will need to run the repair.
 
Last edited:
Repair didn't fix it. Still not group values for nginx.

I tried doing a yum reinstall sw-nginx and it couldn't be found.
 
IgorG,

Since we cannot create the user accounts.

How can I get the error message within Plesk Admin removed? Also, I noticed within the default template the nginx configures are being created. Can I remove them from their so it doesn't create the nginx.conf files each time?

Thanks, Justin
 
Back
Top