nginx无法启动vendor preset: d
Nginx 启动 无法 vendor
2023-09-11 14:17:27 时间
nginx启动报错
[root@VM-24-8-centos ~]# systemctl start nginx
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
[root@VM-24-8-centos ~]# systemctl status nginx -l
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2022-10-24 10:36:53 CST; 2min 43s ago
Process: 8246 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
Process: 8244 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
如何解决
mkdir -p /var/lib/nginx/tmp/
mkdir -p /var/log/nginx
systemctl restart nginx
相关文章
- nginx rewrite arg 带问号的地址转发参数处理?Nginx重定向的参数问题
- Linux+Nginx+Supervisor部署ASP.NET Core实操手册
- Nginx配置文件nginx.conf中文详解
- nginx全面解析【负载均衡、反向代理、高可用、宕机容错】
- 通过nginx配置文件抵御攻击
- 搭建docker内网私服(docker-registry with nginx&ssl on centos)
- 使用NGINX反向代理做小偷站
- LNMP下的Nginx+Php-fpm原理详解
- Shell nginx配置wordpress站点
- Prometheus nginx-vts-exporter 监控 Nginx
- 【收藏】Keepalived+Nginx高可用配置(偏nginx配置)
- 最简单的docker教程:在docker里运行nginx服务器
- [转]Nginx+ThinkPHP不支持PathInfo的解决办法
- nginx - win系统启动一闪而过 ,服务没有启动成功
- aws eks上部署 ingress-nginx 加NLB
- Samba & Nginx - Resource temporarily unavailable
- Windows nginx php cgi-fcgi 配置 xdebug
- Nginx(5):进程绑定CPU:从nginx源码里给你刨功能出来
- Nginx 内置 命令启动,停止和重新加载Nginx
- 如何启动,停止和重新启动Nginx(Systemctl和Nginx命令)