嘟嘟社区

求教。v2fly不能启动了


本帖最后由 宋喆 于 2022-9-10 23:57 编辑

● ‘V2’.service – V2Ray Service
   Loaded: loaded (/etc/systemd/system/’V2′.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/’V2′.service.d
           └─10-donot_touch_single_conf.conf
   Active: failed (Result: start-limit) since Sat 2022-09-10 23:35:28 CST; 10s ago
     Docs: https://www.v2fly.org/
  Process: 6766 ExecStart=/usr/local/bin/’V2′ -config /usr/local/etc/’V2’/config.json (code=exited, status=2)

不是我config.json文件有问题吧,

以前还算正常,今天更新了下

  1. bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-‘V2’/master/install-release.sh)

复制代码

就坏了

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

jsyzdej 发表于 2022-9-10 23:42
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

大佬是说我提问有问题么?

本帖最后由 mmc199 于 2022-9-10 23:52 编辑

https://hostloc.com/thread-1071580-1-1.html

https://hostloc.com/thread-1071227-1-1.html

关于V2 到5.1.0不能用的问题

是这种报错的
● ‘V2’.service – V2Ray Service
     Loaded: loaded (/etc/systemd/system/’V2′.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/’V2′.service.d
             └─10-donot_touch_single_conf.conf

    Process: 3975576 ExecStart=/usr/local/bin/’V2′ -config /usr/local/etc/’V2’/config.json (code=exited, status=2)
   Main PID: 3975576 (code=exited, status=2)

这种报错的  

处理方式1:
rm -rf /etc/systemd/system/’V2′.service.d/10-donot_touch_single_conf.conf
systemctl daemon-reload
systemctl restart ‘V2’
处理方式2:
vi /etc/systemd/system/’V2′.service.d/10-donot_touch_single_conf.conf
把ExecStart=/usr/local/bin/’V2′ -config /usr/local/etc/’V2’/config.json
改为ExecStart=/usr/local/bin/’V2′ run -config /usr/local/etc/’V2’/config.json
systemctl daemon-reload
systemctl restart ‘V2’
具体命令↓
sed -i "s/’V2′ -config/’V2′ run -config/g" /etc/systemd/system/’V2′.service.d/10-donot_touch_single_conf.conf
systemctl daemon-reload
systemctl restart ‘V2’
处理方式3:
切回老版本:
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-‘V2’/master/install-release.sh) –version v4.45.2 就好啦

尝试下上述操作就OK了,

附上开发文档:https://www.v2fly.org/v5/config/overview.html

mmc199 发表于 2022-9-10 23:50
https://hostloc.com/thread-1071580-1-1.html

https://hostloc.com/thread-1071227-1-1.html

正解

mmc199 发表于 2022-9-10 23:50
https://hostloc.com/thread-1071580-1-1.html

https://hostloc.com/thread-1071227-1-1.html

谢谢大佬

v5配置文件格式都改了,现在还是用户预览版,等正式版发布了再更新也不迟

yxasi 发表于 2022-9-10 23:52
关于V2 到5.1.0不能用的问题

是这种报错的

兄弟引用提到我下 哈哈哈哈哈哈

darius 发表于 2022-9-11 00:01
v5配置文件格式都改了,现在还是用户预览版,等正式版发布了再更新也不迟 …

没留意,进小鸡弄别的东西就顺手更新了。。