一直尝试在 VPS 上安装 OpenVPN,但在尝试启动 OpenVPN 服务器时遇到一些问题:
Service deferred error: IPTablesServiceBase: failed to run iptables-restore [status=1]: ['FATAL: Could not load /lib/modules/2.6.18-028stab070.14/modules.dep: No such file or directory', 'FATAL: Could not load /lib/modules/2.6.18-028stab070.14/modules.dep: No such file or directory', 'iptables-restore: line 46 failed']: internet/base:1175,internet/base:752,internet/process:45,internet/process:306,internet/_baseprocess:48,internet/process:775,internet/_baseprocess:60,svc/pp:116,svc/svcnotify:26,internet/defer:238,internet/defer:307,internet/defer:323,sagent/ipts:105,sagent/ipts:39,util/error:52,util/error:32
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['iptables_openvpn'])
无论如何,经过一番尝试和一些建议后,我发现 Linux 内核和模块在我的服务器上不匹配。
uname -r
回报2.6.18-028stab070.14
和ls /lib/modules
回报2.6.18-028stab070.7
服务器正在运行 OpenVZ,我的容器使用 Ubuntu 9.10。
所以我的问题是,我是否可以在 VPS 上更新我的模块,如果可以,我该怎么做,或者这是我需要尝试让我的主机来做的事情?
提前致谢。
答案1
内核模块是 OpenVZ 上的主机的责任。