I searched on the internet for a while now and I don't find a solution so I am asking here: My question is, why is this file (
/etc/init.d/nginx) not executeable?
I was following the tutorial of Alex yesterday and I got into an issue. Everything worked until the
service nginx restart-command. When I try to run this command I will get
nginx: You don't have permissions to execute nginx.
After googling some time I found a potential answer, but this was already done in the tutorial/walkthrough of Alex:
$ sudo chmod +x /etc/init.d/nginx
Some info if you don't want to read the tutorial:
- I am using Nginx (as you will know when reading this bit)
- It's installed it with Passenger and then imported a Nginx Init-script and the nginx.conf file from scratch.
- Oh and I am running Debian instead of Ubuntu, but that shouldn;t be the problem, or?
So I would be very thankful if anyone could help me. Thanks!