社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  NGINX

nginx服务显示失败状态

ashish • 2 年前 • 257 次点击  

我已安装 nginx 上的服务器 CentOS7 在…上 WSL2 。遵循上的说明 https://linuxize.com/post/how-to-install-nginx-on-centos-7/ 当我使用启动服务器时 service nginx start 它不会给我任何错误,但当我运行时 service nginx status 它给了我以下错误 [root@nasth-azvm5 AshishTyagi]# service nginx status Redirecting to /bin/systemctl status nginx.service nginx.service - nginx - high performance web server Loaded: loaded (/usr/lib/systemd/system/nginx.service, enabled) Active: failed (dead)

所以我看了一下 /var/log/nginx/error.log 日志显示为 2023/04/20 16:08:50 [notice] 27549#27549: using the "epoll" event method 2023/04/20 16:08:50 [notice] 27549#27549: nginx/1.24.0 2023/04/20 16:08:50 [notice] 27549#27549: built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 2023/04/20 16:08:50 [notice] 27549#27549: OS: Linux 5.15.90.1-microsoft-standard-WSL2 2023/04/20 16:08:50 [notice] 27549#27549: getrlimit(RLIMIT_NOFILE): 1024:1048576 2023/04/20 16:08:50 [notice] 27550#27550: start worker processes 2023/04/20 16:08:50 [notice] 27550#27550: start worker process 27551 2023/04/20 16:08:50 [notice] 27550#27550: start worker process 27552 2023/04/20 16:08:50 [notice] 27550#27550: start worker process 27553 2023/04/20 16:08:50 [notice] 27550#27550: start worker process 27554 2023/04/20 16:08:50 [notice] 27550#27550: start worker process 27555 2023/04/20 16:08:50 [notice] 27550#27550: start worker process 27556 2023/04/20 16:08:50 [notice] 27550#27550: start worker process 27557 2023/04/20 16:08:50 [notice] 27550#27550: start worker process 27558

我已经在stackoverflow上找到了解决方案,但没有成功。我还能做些什么来调试和修复这个问题。请帮忙。

我试图在互联网、谷歌和stackoverflow上找到解决方案,如果我能找到更多的日志,我可以尝试解决这个问题,但没有任何帮助。 service nginx start getting failed

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/162674
 
257 次点击