wulabing / V2Ray_ws-tls_bash_onekey

MIT License
2.13k stars 929 forks source link

最后一步出错,大佬们帮看看是什么问题 #73

Open ibm2skylin opened 1 year ago

ibm2skylin commented 1 year ago

请选择支持的 TLS 版本(default:3): 请注意,如果你使用 Quantaumlt X / 路由器 / 旧版 Shadowrocket / 低于 4.18.1 版本的 V2ray core 请选择 兼容模式 1: TLS1.1 TLS1.2 and TLS1.3(兼容模式) 2: TLS1.2 and TLS1.3 (兼容模式) 3: TLS1.3 only 请输入:1 [OK] 已切换至 TLS1.1 TLS1.2 and TLS1.3 Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. [错误] Nginx 重启 失败 root@DGVM-GMAIL01:~# systemctl status nginx.service ● nginx.service - The NGINX HTTP and reverse proxy server Loaded: loaded (/etc/systemd/system/nginx.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sun 2023-01-15 05:13:19 CST; 16s ago Process: 3952 ExecStartPre=/etc/nginx/sbin/nginx -t (code=exited, status=1/FAILURE)

Jan 15 05:13:19 DGVM-GMAIL01 systemd[1]: Starting The NGINX HTTP and reverse proxy server... Jan 15 05:13:19 DGVM-GMAIL01 nginx[3952]: nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 3 Jan 15 05:13:19 DGVM-GMAIL01 nginx[3952]: nginx: configuration file /etc/nginx/conf/nginx.conf test failed Jan 15 05:13:19 DGVM-GMAIL01 systemd[1]: nginx.service: Control process exited, code=exited status=1 Jan 15 05:13:19 DGVM-GMAIL01 systemd[1]: Failed to start The NGINX HTTP and reverse proxy server. Jan 15 05:13:19 DGVM-GMAIL01 systemd[1]: nginx.service: Unit entered failed state. Jan 15 05:13:19 DGVM-GMAIL01 systemd[1]: nginx.service: Failed with result 'exit-code'.

lincog commented 1 year ago

我也存在相同问题

AntiMoron commented 1 year ago

Jan 15 05:13:19 DGVM-GMAIL01 nginx[3952]: nginx: configuration file /etc/nginx/conf/nginx.conf test failed

这都告诉你了要检查nginx配置

AntiMoron commented 1 year ago

sudo nginx -t 自己看下报错