Alvin9999 / new-pac

翻墙-科学上网、自由上网、免费科学上网、免费翻墙、油管youtube、fanqiang、软件、VPN、一键翻墙浏览器,vps一键搭建翻墙服务器脚本/教程,免费shadowsocks/ss/ssr/v2ray/goflyway账号/节点,翻墙梯子,电脑、手机、iOS、安卓、windows、Mac、Linux、路由器翻墙、科学上网、youtube视频下载、youtube油管镜像/免翻墙网站、美区apple id共享账号
55.86k stars 9.48k forks source link

v2ray启动不起来 #1303

Open jjmjames opened 2 years ago

jjmjames commented 2 years ago

root@racknerd-3845e1:~# v2ray start Job for v2ray.service failed because the control process exited with error code. See "systemctl status v2ray.service" and "journalctl -xe" for details. v2ray start fail ! root@racknerd-3845e1:~# v2ray status ● v2ray.service - V2Ray Service Loaded: loaded (/etc/systemd/system/v2ray.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2022-10-08 10:41:39 BST; 12s ago Process: 3814 ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json (code=exited, status=2) Main PID: 3814 (code=exited, status=2)

Oct 08 10:41:39 racknerd-3845e1 systemd[1]: Stopped V2Ray Service. Oct 08 10:41:39 racknerd-3845e1 systemd[1]: v2ray.service: Start request repeated too quickly. Oct 08 10:41:39 racknerd-3845e1 systemd[1]: v2ray.service: Failed with result 'exit-code'. Oct 08 10:41:39 racknerd-3845e1 systemd[1]: Failed to start V2Ray Service. Oct 08 10:41:43 racknerd-3845e1 systemd[1]: v2ray.service: Start request repeated too quickly. Oct 08 10:41:43 racknerd-3845e1 systemd[1]: v2ray.service: Failed with result 'exit-code'. Oct 08 10:41:43 racknerd-3845e1 systemd[1]: Failed to start V2Ray Service. Oct 08 10:41:46 racknerd-3845e1 systemd[1]: v2ray.service: Start request repeated too quickly. Oct 08 10:41:46 racknerd-3845e1 systemd[1]: v2ray.service: Failed with result 'exit-code'. Oct 08 10:41:46 racknerd-3845e1 systemd[1]: Failed to start V2Ray Service.

Alvin9999 commented 2 years ago

注意:如果安装后提示“Failed to start V2Ray Service”,即v2ray无法启动成功,输入以下3条命令:

sed -i "s/v2ray -config/v2ray run -config/g" /etc/systemd/system/v2ray.service.d/10-donot_touch_single_conf.conf

systemctl daemon-reload

systemctl restart v2ray

如果以上命令还是无法启动,将服务器的v2ray版本退回到指定版本,输入命令:

v2ray update v4.45.2

之后再重启下v2ray就可以了: 输入命令v2ray--数字1服务管理--数字3重启服务

jjmjames commented 2 years ago

好像安卓客户端不能同样的vmess配置,连不上,换了几个v2ray客户端都不能用

毕竟辉煌,终身不忘 @.***

 

------------------ 原始邮件 ------------------ 发件人: "Alvin9999/new-pac" @.>; 发送时间: 2022年10月8日(星期六) 晚上9:11 @.>; @.**@.>; 主题: Re: [Alvin9999/new-pac] v2ray启动不起来 (Issue #1303)

注意:如果安装后提示“Failed to start V2Ray Service”,即v2ray无法启动成功,输入以下3条命令:

sed -i "s/v2ray -config/v2ray run -config/g" /etc/systemd/system/v2ray.service.d/10-donot_touch_single_conf.conf

systemctl daemon-reload

systemctl restart v2ray

如果以上命令还是无法启动,将服务器的v2ray版本退回到指定版本,输入命令:

v2ray update v4.45.2

之后再重启下v2ray就可以了: 输入命令v2ray--数字1服务管理--数字3重启服务

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zhengxishuai commented 11 months ago

执行:v2ray update v4.45.2 这个命令的时候 [root@localhost systemd]# v2ray update v4.45.2 bash: v2ray: command not found