我试图在我的新的OpenVPN 8.4上安装AlmaLinux,但是它失败了。在syslog或OpenVPN日志中没有错误日志。这是我在安装过程的最后阶段遇到的错误。
cp: cannot stat '/lib/systemd/system/openvpn@.service': No such file or directory
sed: can't read /etc/systemd/system/openvpn@.service: No such file or directory
sed: can't read /etc/systemd/system/openvpn@.service: No such file or directory
Failed to enable unit: Unit file openvpn@server.service does not exist.
Failed to restart openvpn@server.service: Unit openvpn@server.service 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是否能在这台服务器上工作。谢谢你的帮助
发布于 2021-08-24 10:39:41
此脚本不支持Almalinux,并且基于社区的注释,它将很快添加:https://github.com/Nyr/openvpn-install/issues/871
另一种解决方案是根据提交请求更改安装脚本(未确认)。
https://github.com/Nyr/openvpn-install/commit/44e4c14a8725827a1f38e1c1a577438d2bff0fc9
https://serverfault.com/questions/1075472
复制相似问题