Не перезагружается nginx в Ubuntu

T

tfox

#1
С конфигурационными файлами все в порядке.

root@maxserver:~# nginx -c /etc/nginx/nginx.conf -t**
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
При попытке перечитать конфиг файл пишет такое.

root@maxserver:~# kill -HUP `cat /var/run/nginx.pid`
-bash: kill: (5289) - No such process
Если перезагружать то пишет fail

root@maxserver:~# sudo /etc/init.d/nginx restart
* Restarting nginx nginx [fail]
root@maxserver:~#
В чем может быть причина? Почему он сообщает, что bash - нет такого процесса?
 
Get involved!

Here you can only see a limited number of comments. On СЕО Форум Вебмастеров you see all comments and all functions are available to you. To the thread