nginx error

Posted by EspritCloud on 06-Feb-2018 08:44

Hello, 

i got this error when i'm trying to install nginx !!

 

I am following the steps described in the Rollbase documentation, any help please ? 

Posted by Srinivas Panyala on 07-Feb-2018 01:52

Could you please provide OS version details?

Set executable permissions for nginx file. Execute the following command.

sudo chmod a+x /opt/nginx/sbin/nginx

Then try executing nginx executable. If it doesn't work provide full permissions by executing the following command

sudo chmod 777 -R /opt/nginx

Thanks

Srinivas

All Replies

Posted by Srinivas Panyala on 06-Feb-2018 10:19

Please navigate to sbin folder and start the nginx

cd /opt/nginx/sbin

sudo ./nginx

Thanks

Srinivas

Posted by EspritCloud on 07-Feb-2018 01:06

Thank you for your response but i got the same error !

[root@192 rabeb]# cd /opt/nginx/sbin/

[root@192 sbin]# ls

nginx

[root@192 sbin]# sudo ./nginx

sudo: ./nginx : commande introuvable

What shall I do now?

Posted by Srinivas Panyala on 07-Feb-2018 01:52

Could you please provide OS version details?

Set executable permissions for nginx file. Execute the following command.

sudo chmod a+x /opt/nginx/sbin/nginx

Then try executing nginx executable. If it doesn't work provide full permissions by executing the following command

sudo chmod 777 -R /opt/nginx

Thanks

Srinivas

Posted by EspritCloud on 07-Feb-2018 02:03

Thank you so much it works

This thread is closed