OpenVZ虚机Centos6.5安装gitlab报错
约 111 字
预计阅读 1 分钟
次阅读
1
2
3
4
5
6
7
8
9
10
|
[execute] cat: error: permission denied on key 'net.bridge.bridge-nf-call-ip6tables'
error: permission denied on key 'net.bridge.bridge-nf-call-iptables'
error: permission denied on key 'net.bridge.bridge-nf-call-arptables'
/etc/sysctl.d/*.conf: No such file or directory
net.ipv4.ip_forward = 0
net.ipv4.tcp_syncookies = 1
================================================================================
Error executing action `run` on resource 'execute[load sysctl conf]'
================================================================================
|
解决方法
1
2
3
4
5
6
|
rm -f /sbin/modprobe
ln -s /bin/true /sbin/modprobe
rm -f /sbin/sysctl
ln -s /bin/true /sbin/sysctl
/sbin/sysctl -p #不用执行
|