centos 7:sysctl -p /etc/sysctl.d/50-default.conf 返回错误

centos 7:sysctl -p /etc/sysctl.d/50-default.conf 返回错误

我之前从 OVH 租过一个集装箱,但昨晚我的机器突然在 IP 层面停止响应……重启后,我注意到以下情况

systemd-sysctl.service - Apply Kernel Variables 
Loaded: loaded (/usr/lib/systemd/system/systemd-sysctl.service; static 
Active: failed (Result: exit-code) 




sysctl -p /etc/sysctl.d/50-default.conf 

生成:

sysctl: permission denied on key 'kernel.sysrq'
sysctl: permission denied on key 'kernel_core_uses_pid'
net.ipv4.conf.default.rp_filter =1
net.ipv4.conf.default.accept_source_route = 0
sysctl: cannot stat /proc/sys/fs/protected_hardlinks: No such file or directory 
sysctl: cannot stat /proc/sys/fs/protected_symlinks: No such file or directory 

相关内容