اعضا > مرکز آموزش > آموزش ها و تفاوت سرورها > حل مشکل Nginx ارور Restarting nginx daemon: nginxRemaining processes: 9589

حل مشکل Nginx ارور Restarting nginx daemon: nginxRemaining processes: 9589

برای حل حل ارور زیر در Nginx میباید به طریق زیر عمل کنید:

متن ارور:

Restarting nginx daemon: nginxRemaining processes: 9589
cat: /var/run/nginx.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
not runningRemaining processes: 9589
cat: /var/run/nginx.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
not runningRemaining processes: 9589
cat: /var/run/nginx.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
not runningRemaining processes: 9589
cat: /var/run/nginx.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
not runningRemaining processes: 9589
cat: /var/run/nginx.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

not running

دستورات زیر رو به ترتیب بزنید:

killall -15 nginx
/etc/init.d/httpd stop
ipcs -s | grep nobody | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'
then
/etc/init.d/httpd start


در همین زمینه