站点图标 谷姐靓号网

求教。v2fly不能启动了-宋喆

Rate this post

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

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

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

就坏了

热议
2楼 jsyzdej 昨天23:42

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

3楼 宋喆 昨天23:47

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

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

4楼 mmc199 昨天23:50

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

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

5楼 yxasi 昨天23:52

关于V2 到5.1.0不能用的问题

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

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

这种报错的

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

尝试下上述操作就OK了,

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

6楼 derekyang 昨天23:52

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

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

正解

7楼 宋喆 昨天23:53

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

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

谢谢大佬

8楼 darius 11小时前

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

9楼 好男人文哥 11小时前

关于V2 到5.1.0不能用的问题

是这种报错的

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

10楼 宋喆 11小时前

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

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

12楼 Akewa 10小时前

关于V2 到5.1.0不能用的问题

是这种报错的

不知道还有版本参数,,,,我还是改的脚本

get_version() {
RELEASE_VERSION="v4.45.2"
return 0
# 0: Install or update V2Ray.
# 1: Installed or no new version of V2Ray.
# 2: Install the specified version of V2Ray.
if [[ -z "$VERSION" ]]; then

13楼 Akewa 10小时前

关于V2 到5.1.0不能用的问题

是这种报错的

judgment_parameters() {
while [[ "$#" -gt '0' ]]; do
case "$1" in
'--remove')
if [[ "$#" -gt '1' ]]; then
echo 'error: Please enter the correct parameters.'
exit 1
fi
REMOVE='1'
;;
'--version')
VERSION="${2:?error: Please specify the correct version.}"
break
;;

果然是支持

14楼 plato0516 8小时前

更新带坑,比如gost2.1.0->gost2.1.1,会空路由,解决办法就是想切回2.1.0,不要升级....你们都随便升级的么?

15楼 mjjok 8小时前

重装完事。。。

申明:本文内容由网友收集分享,仅供学习参考使用。如文中内容侵犯到您的利益,请在文章下方留言,本站会第一时间进行处理。

退出移动版