请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

service nginx restart失败

老师,您好,我按视频操作,sudo cp uc_nginx.conf /etchttps://img1.sycdn.imooc.com/szimg//59355cd40001f5f206620413.jpg/nginx/conf.d/ 后重启Nginx的时候出现如图错误是怎么回事呢?

正在回答 回答被采纳积分+3

3回答

赵佳子彧 2018-03-31 08:09:19

Lfonline) allard@allard:~/Lfonlion/conf$ sudo service nginx restart

Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

该问题是配置文件出的问题,大部分人出问题估计是没注释圈起来的地方。

https://img1.sycdn.imooc.com//szimg/5abed16f0001dac306510410.jpg

1 回复 有任何疑惑可以回复我~
一一倾 2017-10-20 18:28:14

你怎么巨解决的,我也出现这个问题

0 回复 有任何疑惑可以回复我~
  • bobby #1
    应该是配置文件出了问题 你贴一下你的配置文件
    回复 有任何疑惑可以回复我~ 2017-10-23 09:49:58
  • 按照我今天的错误经验来分析,很可能是你的uc_nginx.conf的软链接设置有问题。
    回复 有任何疑惑可以回复我~ 2018-01-05 00:00:49
bobby 2017-06-07 09:02:30

你给我发个qq消息我给你看看

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信