mack-a / v2ray-agent

Xray、Tuic、hysteria2、sing-box 八合一一键脚本
https://www.592083.xyz
GNU Affero General Public License v3.0
14.41k stars 4.65k forks source link

全新安装后无法启动xray #1107

Closed Cathgao closed 2 hours ago

Cathgao commented 3 hours ago

不按照模版提交,一律关闭,反馈之前请仔细阅读脚本异常处理客户端使用教程八合一脚本从入门到精通

如果低版本升级高版本出现问题,建议使用20.卸载脚本卸载后重新安装

1.问题描述

2.安装失败的log或者截图

 ---> Xray关闭成功 
Xray启动失败 
请手动执行以下的命令后【/etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf】将错误日志进行反馈 
root@instance-20220922-1447:/etc/v2ray-agent/xray/conf# /etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf
Xray 24.11.30 (Xray, Penetrates Everything.) 98a72b6 (go1.23.3 linux/amd64)
A unified platform for anti-censorship.
2024/12/02 18:02:34 Using confdir from arg: /etc/v2ray-agent/xray/conf
2024/12/02 18:02:34 [Info] infra/conf/serial: Reading config: &{Name:/etc/v2ray-agent/xray/conf/00_log.json Format:json}
2024/12/02 18:02:34 [Info] infra/conf/serial: Reading config: &{Name:/etc/v2ray-agent/xray/conf/07_VLESS_vision_reality_inbounds.json Format:json}
2024/12/02 18:02:34 [Info] infra/conf: [/etc/v2ray-agent/xray/conf/07_VLESS_vision_reality_inbounds.json] appended inbound with tag: VLESSReality
2024/12/02 18:02:34 [Info] infra/conf/serial: Reading config: &{Name:/etc/v2ray-agent/xray/conf/09_routing.json Format:json}
2024/12/02 18:02:34 [Info] infra/conf/serial: Reading config: &{Name:/etc/v2ray-agent/xray/conf/11_dns.json Format:json}
2024/12/02 18:02:34 [Info] infra/conf/serial: Reading config: &{Name:/etc/v2ray-agent/xray/conf/12_policy.json Format:json}
2024/12/02 18:02:34 [Info] infra/conf/serial: Reading config: &{Name:/etc/v2ray-agent/xray/conf/z_direct_outbound.json Format:json}
2024/12/02 18:02:34 [Info] infra/conf: [/etc/v2ray-agent/xray/conf/z_direct_outbound.json] prepend outbound with tag: z_direct_outbound

3.系统版本

Linux instance-20220922-1447 6.8.0-1015-oracle #15~22.04.1-Ubuntu SMP Wed Oct  9 15:47:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

4.脚本版本

v3.3.21

5.服务端安装的内核、协议、安装方式

Cathgao commented 2 hours ago

检查后发现是旧的xray和trojan没有关闭导致端口占用所致

另提醒一下,xray在未来会用xhttp替代grpc,grpc会被弃用。现在已经开始输出

[Info] common/errors: The feature gRPC transport will be migrated to XHTTP transport in the future.