Giter Site home page Giter Site logo

Comments (2)

xlangzhong1 avatar xlangzhong1 commented on June 25, 2024

`

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
-- 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:
# systemctl restart xray.service
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
-- 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:
# chmod -R 777 /root/v2ray
root@3:# systemctl restart xray.service
root@3:
# journalctl -n 50 -u xray.service
-- 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.

jinwyp avatar jinwyp commented on June 25, 2024

已修复 请卸载后 更新脚本 在重新安装

from one_click_script.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.