我尝试在新的 AlmaLinux 8.4 上安装 OpenVPN,但失败了。系统日志或 OpenVPN 日志中没有错误日志。这是我在安装过程的最后阶段遇到的错误。
cp: cannot stat '/lib/systemd/system/[email protected]': No such file or directory
sed: can't read /etc/systemd/system/[email protected]: No such file or directory
sed: can't read /etc/systemd/system/[email protected]: No such file or directory
Failed to enable unit: Unit file [email protected] does not exist.
Failed to restart [email protected]: Unit [email protected] not found.
Created symlink /etc/systemd/system/multi-user.target.wants/iptables-openvpn.service → /etc/systemd/system/iptables-openvpn.service.
我从以下位置下载了脚本wget https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh
,系统处理器是AMD EPYC 7282
我对 AlmaLinux 还很陌生,不知道 OpenVPN 是否可以在此服务器上运行。感谢您的帮助
答案1
该脚本不支持 Almalinux,根据社区的评论,它将很快添加: https://github.com/Nyr/openvpn-install/issues/871
另一个解决方案是根据请求的提交更改安装脚本(尚未确认)
https://github.com/Nyr/openvpn-install/commit/44e4c14a8725827a1f38e1c1a577438d2bff0fc9