nginx: [error] open() "/run/nginx.pid" failed (2: No such file or directory)
root@hecs02:/usr/sbin# sudo nginx -c /etc/nginx/nginx.conf
sudo: unable to resolve host hecs02
root@hecs02:/usr/sbin# nginx -c /etc/nginx/nginx.conf
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
root@hecs02:/usr/sbin# nginx -s reload
root@hecs02:/usr/sbin#
Linux:nginx: [error] open() “/run/nginx.pid“ failed (2: No such file or directory)
最新推荐文章于 2024-08-04 22:37:08 发布