立即注册  找回密码
 立即注册
CeraNetworksBGVM服务器主机交流会员请立即修改密码Sharktech防护
查看: 78|回复: 1

不懂就问系列之two

[复制链接]

不懂就问系列之two

[复制链接]

8

主题

311

回帖

882

积分

高级会员

积分
882
jmmes

8

主题

311

回帖

882

积分

高级会员

积分
882
2020-4-26 13:35:33 | 显示全部楼层 |阅读模式
T楼得的jj,1健脚本v2瑞可以安装,无法输出url,更不用说连接了,手动安装nginx无法得到证书也激活不了,套cf CDN得的证书,现在具体显示如下:
请大佬鉴赏指教,本人小白!80和443端口进度杀掉也不行

systemctl status nginx

● nginx.service - nginx - high performance web server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2020-04-26 13:16:22 CST; 8min ago
     Docs: http://nginx.org/en/docs/
  Process: 10630 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)

Apr 26 13:16:22 myserver2000 systemd[1]: Starting nginx - high performance web.....
Apr 26 13:16:22 myserver2000 nginx[10630]: nginx: [emerg] invalid number of arg...1
Apr 26 13:16:22 myserver2000 systemd[1]: nginx.service: control process exited...=1
Apr 26 13:16:22 myserver2000 systemd[1]: Failed to start nginx - high performa...r.
Apr 26 13:16:22 myserver2000 systemd[1]: Unit nginx.service entered failed state.
Apr 26 13:16:22 myserver2000 systemd[1]: nginx.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

sudo 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@myserver2000 ~]# systemctl status nginx
● nginx.service - nginx - high performance web server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2020-04-26 13:13:32 CST; 16s ago
     Docs: http://nginx.org/en/docs/
  Process: 10536 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)

Apr 26 13:13:32 myserver2000 systemd[1]: Starting nginx - high performance web.....
Apr 26 13:13:32 myserver2000 nginx[10536]: nginx: [emerg] invalid number of arg...1
Apr 26 13:13:32 myserver2000 systemd[1]: nginx.service: control process exited...=1
Apr 26 13:13:32 myserver2000 systemd[1]: Failed to start nginx - high performa...r.
Apr 26 13:13:32 myserver2000 systemd[1]: Unit nginx.service entered failed state.
Apr 26 13:13:32 myserver2000 systemd[1]: nginx.service failed.
Hint: Some lines were ellipsized, use -l to show in full
回复

使用道具 举报

3

主题

105

回帖

261

积分

中级会员

积分
261
夏生啊

3

主题

105

回帖

261

积分

中级会员

积分
261
2020-5-5 15:14:46 | 显示全部楼层
nginx: [emerg] invalid number of arguments
应该是配置文件写的有问题
journalctl -xe看看错在哪一个行
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|小黑屋|HS2V主机综合交流论坛

GMT+8, 2024-12-19 08:50 , Processed in 0.015915 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表