- 论坛徽章:
- 0
|
test-oradb:/home/jack # cat >> /etc/sysctl.conf << EOF
> kernel.shmmax=2147483648
> kernel.sem=250 32000 100 128
> fs.file-max=65536
> net.ipv4.ip_local_port_range=1024 65000
> EOF
我输入以上的命令的时候,出现了一个问题,就是把port写成prot,后来我尝试了好几次,都出现下面的错误,
test-oradb:/home/jack # sysctl -p
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.rp_filter = 1
kernel.shmmax = 2147483648
kernel.sem = 250 32000 100 28
fs.file-max = 65536
error: "net.ipv4.ip_local_prot_range" is an unknown key
kernel.shmmax = 2147483648
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
warning: /etc/sysctl.conf(16): invalid syntax, continuing...
kernel.shmmax = 2147483648
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
kernel.shmmax = 2147483648
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
kernel.shmmax = 2147483648
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
[ 本帖最后由 happymood 于 2008-7-13 21:59 编辑 ] |
|