V2Ray 安装错误:系统d版本过低

在安装V2Ray时,您可能会遇到以下错误信息:

info: Extract the V2Ray package to /tmp/tmp.TcWUgk1zAw and prepare it for installation.
info: Systemd service files have been installed successfully!
warning: The following are the actual parameters for the v2ray service startup.
warning: Please make sure the configuration file path is correctly set.
~~~~~~~~~~~~~~~~
[Unit]
Description=V2Ray Service
Documentation=https://www.v2fly.org/
After=network.target nss-lookup.target

[Service]
User=nobody
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true
ExecStart=/usr/local/bin/v2ray run -config /usr/local/etc/v2ray/config.json
Restart=on-failure
RestartPreventExitStatus=23

[Install]
WantedBy=multi-user.target
# In case you have a good reason to do so, duplicate this file in the same directory and make your customizes there.
# Or all changes you made will be lost!  # Refer: https://www.freedesktop.org/software/systemd/man/systemd.unit.html
[Service]
ExecStart=
ExecStart=/usr/local/bin/v2ray run -config /usr/local/etc/v2ray/config.json
~~~~~~~~~~~~~~~~
warning: The systemd version on the current operating system is too low.
warning: Please consider to upgrade the systemd or the operating system.

该错误信息表明您当前操作系统上的systemd版本过低,无法正常运行V2Ray服务。

解决方法

有两种解决方法:

  1. 升级systemd:您可以尝试将操作系统上的systemd包升级到最新版本。这需要管理员权限,具体操作步骤可能因您的操作系统而异。请参考您的操作系统文档或联系系统管理员获取升级systemd的说明。

  2. 升级操作系统:如果无法升级systemd或升级不可行,您可以考虑将整个操作系统升级到包含兼容systemd版本的最新版本。同样,此过程将取决于您的特定操作系统,因此请参考文档或咨询系统管理员以获取有关如何升级操作系统的指导。

完成systemd或操作系统的升级后,您可以重新尝试安装和配置V2Ray服务。

V2Ray 安装错误:系统d版本过低

原文地址: https://www.cveoy.top/t/topic/qteA 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录