CENTOS6 Modify sysctl.conf Error Resolution method

Source: Internet
Author: User

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 ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.