• 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

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