These days have been tossing VPS optimization, OPENVZ architecture, when doing Linux kernel optimization, the implementation of/sbin/sysctl-p old error:
Error: "Net.bridge.bridge-nf-call-ip6tables" is an unknown key
Error: "Net.bridge.bridge-nf-call-iptables" is an unknown key
Error: "Net.bridge.bridge-nf-call-arptables" is an unknown key
Error:permission denied on key ' Net.ipv4.tcp_max_syn_backlog '
Error:permission denied on key ' Net.core.netdev_max_backlog '
Error:permission denied on key ' Net.core.wmem_default '
Error:permission denied on key ' Net.core.rmem_default '
Error:permission denied on key ' Net.core.rmem_max '
Error:permission denied on key ' Net.core.wmem_max '
Error:permission denied on key ' Net.ipv4.tcp_timestamps '
Error:permission denied on key ' net.ipv4.tcp_synack_retries '
Error:permission denied on key ' net.ipv4.tcp_syn_retries '
Error:permission denied on key ' net.ipv4.tcp_tw_recycle '
Error:permission denied on key ' Net.ipv4.tcp_tw_reuse '
Error:permission denied on key ' Net.ipv4.tcp_mem '
Error:permission denied on key ' Net.ipv4.tcp_max_orphans '
Error:permission denied on key ' Net.ipv4.ip_local_port_range '
Then go to find the data to solve, the network said the first three error execution:
Help Modprobe Bridge Lsmod|grep Bridge
command, but when you execute the first command, you meet a new error.
Fatal:module Bridge is not found.
How to, but also to find information, a beginning with Baidu, looking for a long time, not a solution, and then decisively with Google Ah, then, you know, found the solution, but TM is all English (also I sent this blog reason), fortunately I have chrome~ happened to be incidentally found in the back of the seven or eight wrong solutions, Great satisfaction Ah!
Originally these problems are because of the OpenVZ template problem (Google translation is said), to carry out repair operations, repair is also very simple, a total of four orders ~
Repair of Modprobe:
The code is as follows |
Copy Code |
Rm-f/sbin/modprobe Ln-s/bin/true/sbin/modprobe |
Repair of Sysctl:
The code is as follows |
Copy Code |
Rm-f/sbin/sysctl Ln-s/bin/true/sbin/sysctl |
In order to look at is to reconstruct the two modules of the soft connection, but,,, in fact, I am not particularly clear, hehe ~
After executing these four commands, you try/sbin/sysctl-p again, Resolute did not give an error ~