Answer the question
In order to leave comments, you need to log in
Why doesn't nginx start when the server is rebooted?
CentOS 7.1 I install nginx, configure vhost, set chkconfig 345 levels, start the service, check everything - it works. After the server reboot, it does not rise by itself, in the nginx/error.log log:
2016/03/04 12:32:28 [emerg] 833#0: mkdir() "/mnt/resource/nginx/all-cache" failed (2 : No such file or directory)
2016/03/04 12:38:58 [emerg] 830#0: mkdir() "/mnt/resource/nginx/all-cache" failed (2: No such file or directory)
Although there is a directory, owner - nginx, rights 755.
Where else to look?
Hands it is started normally, starts at once, works apprx.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question