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
Please navigate to sbin folder and start the nginx
cd /opt/nginx/sbin
sudo ./nginx
Thanks
Srinivas
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?
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
Thank you so much it works