Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装5.1.0启动服务出错 #244

Closed
hanshoukai opened this issue Sep 7, 2022 · 6 comments
Closed

安装5.1.0启动服务出错 #244

hanshoukai opened this issue Sep 7, 2022 · 6 comments

Comments

@hanshoukai
Copy link

启动服务看日志如下:
root@vultr:~# journalctl -u v2ray.service -f
Sep 07 23:00:19 vultr systemd[1]: Started V2Ray Service.
Sep 07 23:00:19 vultr v2ray[145561]: flag provided but not defined: -config
Sep 07 23:00:19 vultr v2ray[145561]: Usage of /usr/local/bin/v2ray:
Sep 07 23:00:19 vultr systemd[1]: v2ray.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Sep 07 23:00:19 vultr systemd[1]: v2ray.service: Failed with result 'exit-code'.
Sep 07 23:00:19 vultr systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 5.
Sep 07 23:00:19 vultr systemd[1]: Stopped V2Ray Service.
Sep 07 23:00:19 vultr systemd[1]: v2ray.service: Start request repeated too quickly.
Sep 07 23:00:19 vultr systemd[1]: v2ray.service: Failed with result 'exit-code'.
Sep 07 23:00:19 vultr systemd[1]: Failed to start V2Ray Service.
还请多多指教,跪谢

@hanshoukai
Copy link
Author

详细描述:
1、用这个脚本进行安装,下载的5.1.0
2、修改配置文件如下
文件路径:/usr/local/etc/v2ray/
{
"inbounds": [
{
"port": 8388,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "fe4ffe28-8c41-41e0-95e2-f503b3f2a514",
"alterId": 0
}
]
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
}
]
}
3、启动服务并查看输入日志
就出现如上的提示信息,没有成功启动
跪求大佬指教

@SimonSWLiu
Copy link

同样遇到 code=exited, status=2/INVALIDARGUMENT
等大佬们解决!

@StudenGit
Copy link

我也遇到了同样的问题,弄了一天了,试了各种系统都是这个错误

@StudenGit
Copy link

#243
这个,安装4.45.0吧,新版的就是有问题

@IceCodeNew
Copy link
Collaborator

duplicate to #243

@hanshoukai
Copy link
Author

hanshoukai commented Sep 8, 2022

用这个install-release.sh安装v4.45.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants