
caddy 发表于 2020-9-23 01:20
没看你日志,这样看日志看得眼花,系统直接看,错误部分是可以标红
试下重激活看看


llyang 发表于 2020-9-23 01:35
systemctl enable nginx
reboot
systemctl status nginx
yxw886 发表于 2020-9-23 01:42
试过,还是不行,是查看/usr/local/nginx/logs/error.log吗?
1819 发表于 2020-9-23 09:44
看错误日志, 看错误日志.
也有 可能 是 nginx pid问题.
看一下端口占用, 有时候, nginx 已经启动了,

biubiu 发表于 2020-9-23 09:50
debian系统吗?我遇到这问题,后来折腾不过
换系统好了

mjj不是我 发表于 2020-9-23 09:59
启动命令:lnmp nginx start

llyang 发表于 2020-9-23 08:53
如果有这个文件,就是的。
如果没找到这个文件,在.conf中查找这个文件。文件名称、位置,都在这里定义 ...

唐王李世民 发表于 2020-9-23 08:30
查看你的nginx配置或网站配置

yxw886 发表于 2020-9-23 10:11
这样是可以启动,但是每次开机不会自动启动nginx,但mysql、php可以
mjj不是我 发表于 2020-9-23 10:29
那把重启命令放入rc.local。就能开机自启了。
不同的linux系统,rc.local的位置可能不一样。
echo "/etc/ ...

1819 发表于 2020-9-23 10:08
直接 看 nginx.conf, 看 error.log
如果没有配置错误日志, 自己再配置.
不看错误日志, 很难搞. ...

yxw886 发表于 2020-9-23 10:31
这个方法试过,但是还是不会开机自启
echo "/etc/init.d/nginx start " >>/etc/rc.local
echo "/usr/loca ...

llyang 发表于 2020-9-23 13:10
2020/09/22 20:33:35 [notice] 4536#0: signal process started
这是最后一行,说明没有报错
| 欢迎光临 全球主机交流论坛 (https://fd.vvwvv.eu.org/) | Powered by Discuz! X3.4 |