Comments (2)
`
Xray Version: 1.7.5 安装成功 !
Xray 服务器端配置路径 /root/v2ray/config.json !
Xray 访问日志 /root/v2ray-access.log !
Xray 错误日志 /root/v2ray-error.log !
Xray 查看日志命令: journalctl -n 50 -u xray.service
Xray 停止命令: systemctl stop xray.service 启动命令: systemctl start xray.service
Xray 重启命令: systemctl restart xray.service
Xray 查看运行状态命令: systemctl status xray.service
Xray 服务器 每天会自动重启, 防止内存泄漏. 运行 crontab -l 命令 查看定时重启命令 !
======================================================================
Xray 配置信息如下, 请自行复制保存, 密码任选其一 (密码即用户ID或UUID) !!
=========== Xray客户端配置参数 =============
{
}
导入链接 Vmess Base64 格式:
vmess:/
导入链接 Vless 格式:
root@3:~# systemctl status xray.service
● xray.service - Xray
Loaded: loaded (/lib/systemd/system/xray.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2023-03-04 01:58:36 CST; 34s ago
Docs: https://xtls.github.io/
Process: 14734 ExecStart=/root/v2ray/xray run -config /root/v2ray/config.json (code=exited, status=203/EXEC)
Main PID: 14734 (code=exited, status=203/EXEC)
CPU: 1ms
Mar 04 01:58:36 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 4.
Mar 04 01:58:36 3 systemd[1]: Stopped Xray.
Mar 04 01:58:36 3 systemd[1]: Started Xray.
Mar 04 01:58:36 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 01:58:36 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:36 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 5.
Mar 04 01:58:36 3 systemd[1]: Stopped Xray.
Mar 04 01:58:36 3 systemd[1]: xray.service: Start request repeated too quickly.
Mar 04 01:58:36 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:36 3 systemd[1]: Failed to start Xray.
root@3:# journalctl -n 50 -u xray.service# systemctl restart xray.service
-- Journal begins at Thu 2021-12-30 18:13:58 CST, ends at Sat 2023-03-04 01:59:18 CST. --
Mar 04 01:58:35 3 systemd[1]: Started Xray.
Mar 04 01:58:35 3 systemd[14652]: xray.service: Failed to locate executable /root/v2ray/xray: No such file or directory
Mar 04 01:58:35 3 systemd[14652]: xray.service: Failed at step EXEC spawning /root/v2ray/xray: No such file or directory
Mar 04 01:58:35 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 01:58:35 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:35 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 1.
Mar 04 01:58:35 3 systemd[1]: Stopped Xray.
Mar 04 01:58:35 3 systemd[1]: Started Xray.
Mar 04 01:58:35 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 01:58:35 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:36 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 2.
Mar 04 01:58:36 3 systemd[1]: Stopped Xray.
Mar 04 01:58:36 3 systemd[1]: Started Xray.
Mar 04 01:58:36 3 systemd[14732]: xray.service: Failed to locate executable /root/v2ray/xray: No such file or directory
Mar 04 01:58:36 3 systemd[14732]: xray.service: Failed at step EXEC spawning /root/v2ray/xray: No such file or directory
Mar 04 01:58:36 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 01:58:36 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:36 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 3.
Mar 04 01:58:36 3 systemd[1]: Stopped Xray.
Mar 04 01:58:36 3 systemd[1]: Started Xray.
Mar 04 01:58:36 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 01:58:36 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:36 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 4.
Mar 04 01:58:36 3 systemd[1]: Stopped Xray.
Mar 04 01:58:36 3 systemd[1]: Started Xray.
Mar 04 01:58:36 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 01:58:36 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:36 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 5.
lines 1-29
^C
root@3:
root@3:~# systemctl status xray.service
● xray.service - Xray
Loaded: loaded (/lib/systemd/system/xray.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2023-03-04 02:00:46 CST; 4s ago
Docs: https://xtls.github.io/
Process: 14769 ExecStart=/root/v2ray/xray run -config /root/v2ray/config.json (code=exited, status=203/EXEC)
Main PID: 14769 (code=exited, status=203/EXEC)
CPU: 1ms
Mar 04 02:00:46 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 4.
Mar 04 02:00:46 3 systemd[1]: Stopped Xray.
Mar 04 02:00:46 3 systemd[1]: Started Xray.
Mar 04 02:00:46 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 02:00:46 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 02:00:46 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 5.
Mar 04 02:00:46 3 systemd[1]: Stopped Xray.
Mar 04 02:00:46 3 systemd[1]: xray.service: Start request repeated too quickly.
Mar 04 02:00:46 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 02:00:46 3 systemd[1]: Failed to start Xray.
root@3:# journalctl -n 50 -u xray.service# chmod -R 777 /root/v2ray
-- Journal begins at Thu 2021-12-30 18:13:58 CST, ends at Sat 2023-03-04 02:00:59 CST. --
Mar 04 01:58:36 3 systemd[14732]: xray.service: Failed at step EXEC spawning /root/v2ray/xray: No such file or directory
Mar 04 01:58:36 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 01:58:36 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:36 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 3.
Mar 04 01:58:36 3 systemd[1]: Stopped Xray.
Mar 04 01:58:36 3 systemd[1]: Started Xray.
Mar 04 01:58:36 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 01:58:36 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:36 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 4.
Mar 04 01:58:36 3 systemd[1]: Stopped Xray.
Mar 04 01:58:36 3 systemd[1]: Started Xray.
Mar 04 01:58:36 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 01:58:36 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:36 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 5.
Mar 04 01:58:36 3 systemd[1]: Stopped Xray.
Mar 04 01:58:36 3 systemd[1]: xray.service: Start request repeated too quickly.
Mar 04 01:58:36 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 01:58:36 3 systemd[1]: Failed to start Xray.
Mar 04 02:00:45 3 systemd[14765]: xray.service: Failed to execute /root/v2ray/xray: Permission denied
Mar 04 02:00:45 3 systemd[14765]: xray.service: Failed at step EXEC spawning /root/v2ray/xray: Permission denied
Mar 04 02:00:45 3 systemd[1]: Started Xray.
Mar 04 02:00:45 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 02:00:45 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 02:00:45 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 1.
Mar 04 02:00:45 3 systemd[1]: Stopped Xray.
Mar 04 02:00:45 3 systemd[1]: Started Xray.
Mar 04 02:00:45 3 systemd[14766]: xray.service: Failed to execute /root/v2ray/xray: Permission denied
Mar 04 02:00:45 3 systemd[14766]: xray.service: Failed at step EXEC spawning /root/v2ray/xray: Permission denied
lines 1-29
^C
root@3:
root@3:# systemctl restart xray.service# journalctl -n 50 -u xray.service
root@3:
-- Journal begins at Thu 2021-12-30 18:13:58 CST, ends at Sat 2023-03-04 02:02:17 CST. --
Mar 04 02:00:46 3 systemd[1]: Stopped Xray.
Mar 04 02:00:46 3 systemd[1]: Started Xray.
Mar 04 02:00:46 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 02:00:46 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 02:00:46 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 4.
Mar 04 02:00:46 3 systemd[1]: Stopped Xray.
Mar 04 02:00:46 3 systemd[1]: Started Xray.
Mar 04 02:00:46 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 02:00:46 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 02:00:46 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 5.
Mar 04 02:00:46 3 systemd[1]: Stopped Xray.
Mar 04 02:00:46 3 systemd[1]: xray.service: Start request repeated too quickly.
Mar 04 02:00:46 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 02:00:46 3 systemd[1]: Failed to start Xray.
Mar 04 02:02:16 3 systemd[1]: Started Xray.
Mar 04 02:02:16 3 systemd[14796]: xray.service: Failed to execute /root/v2ray/xray: Permission denied
Mar 04 02:02:16 3 systemd[14796]: xray.service: Failed at step EXEC spawning /root/v2ray/xray: Permission denied
Mar 04 02:02:16 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 02:02:16 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 02:02:16 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 1.
Mar 04 02:02:16 3 systemd[1]: Stopped Xray.
Mar 04 02:02:16 3 systemd[1]: Started Xray.
Mar 04 02:02:16 3 systemd[14797]: xray.service: Failed to execute /root/v2ray/xray: Permission denied
Mar 04 02:02:16 3 systemd[14797]: xray.service: Failed at step EXEC spawning /root/v2ray/xray: Permission denied
Mar 04 02:02:16 3 systemd[1]: xray.service: Main process exited, code=exited, status=203/EXEC
Mar 04 02:02:16 3 systemd[1]: xray.service: Failed with result 'exit-code'.
Mar 04 02:02:16 3 systemd[1]: xray.service: Scheduled restart job, restart counter is at 2.
Mar 04 02:02:16 3 systemd[1]: Stopped Xray.`
from one_click_script.
已修复 请卸载后 更新脚本 在重新安装
from one_click_script.
Related Issues (20)
- Is there a pure English version of this Script
- warp HOT 1
- 希望提供换端口的选项 HOT 1
- 关于 trojan_v2ray_install.sh 脚本安装的nginx HOT 4
- 怎么新增反代域名设置,已安装了可视化管理面板 HOT 10
- 请问下26. 申请免费的SSL证书 支持泛域名吗 HOT 1
- 当我解锁 geosite:openai 提示错误 HOT 1
- 你好!Trojan部署完成,客户端能正常使用唯独不能上tiktok,请问需要怎么设置才能访问tiktok? HOT 8
- 能否使用参数一键部署,而不是用交互式输入12345这种方式 HOT 1
- Trojan服务器部署完,当天正常第二天就无法使用了,Windows客户端报proxy/trojan: failed to find an available destination / common/retry: all retry attempts failed错误(如图)是怎么回事?服务器上没有做任何改动。 HOT 2
- 输入域名提示不正确 HOT 3
- Test
- nginx无法运行 HOT 6
- Trojan-web一键安装证书无法续签问题 HOT 3
- 无法下载BBRPlus内核 HOT 1
- 域名配置中的路径配置未更改 HOT 2
- 6.6或更高版本下载识别出错 HOT 1
- x-ui 在查看当前面板设置时出现报错。 HOT 1
- 安装完后X可以访问但无法发帖和评论 HOT 3
- 建议检查crontab以避免出现错误acme.sh: No such file or directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from one_click_script.