1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

No such user: nginx

Discussion in 'Plesk 11.x for Linux' started by JustinGivens, Jan 26, 2013.

  1. JustinGivens

    JustinGivens Basic Pleskian

    15
    85%
    Joined:
    Dec 31, 2011
    Messages:
    60
    Likes Received:
    0
    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.
     
  2. DaveKay

    DaveKay Regular Pleskian

    17
    85%
    Joined:
    Jan 2, 2012
    Messages:
    226
    Likes Received:
    0
    Maybe try reconfiguring vhost files and then try enabling nginx?

    usr/local/psa/admin/bin/httpdmng --reconfigure-all
     
  3. JustinGivens

    JustinGivens Basic Pleskian

    15
    85%
    Joined:
    Dec 31, 2011
    Messages:
    60
    Likes Received:
    0
    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.
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    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.
     
  5. JustinGivens

    JustinGivens Basic Pleskian

    15
    85%
    Joined:
    Dec 31, 2011
    Messages:
    60
    Likes Received:
    0
    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: Jan 27, 2013
  6. JustinGivens

    JustinGivens Basic Pleskian

    15
    85%
    Joined:
    Dec 31, 2011
    Messages:
    60
    Likes Received:
    0
    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.
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to add nginx group manually.
     
  8. JustinGivens

    JustinGivens Basic Pleskian

    15
    85%
    Joined:
    Dec 31, 2011
    Messages:
    60
    Likes Received:
    0
    Going to play dumb (because I am) card.. :)

    How would I go about that?
     
  9. JustinGivens

    JustinGivens Basic Pleskian

    15
    85%
    Joined:
    Dec 31, 2011
    Messages:
    60
    Likes Received:
    0
    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
     
  10. DaveKay

    DaveKay Regular Pleskian

    17
    85%
    Joined:
    Jan 2, 2012
    Messages:
    226
    Likes Received:
    0
  11. JustinGivens

    JustinGivens Basic Pleskian

    15
    85%
    Joined:
    Dec 31, 2011
    Messages:
    60
    Likes Received:
    0
    Thanks DaveKay, I will check this out.
     
Loading...