OpenVZ Forum


Home » General » Support » install error
install error [message #33864] Mon, 17 November 2008 12:39 Go to next message
ft.linux is currently offline  ft.linux
Messages: 6
Registered: August 2008
Junior Member
Hi , i am newbie when i already installed kernel of 2.6.18-92.1.13.el5.028stab059.3 on Centos 5.2 and amended /etc/sysctl.conf but there exit some error as below
please help ~

[root@lvps ~]# sysctl -p
error: "Invalid argument" setting key "net.ipv4.ip_forward"
error: "Invalid argument" setting key "net.ipv4.conf.default.proxy_arp"
error: "Invalid argument" setting key "net.ipv4.conf.all.rp_filter"
error: "Invalid argument" setting key "net.ipv4.conf.default.send_redirects"
error: "Invalid argument" setting key "net.ipv4.conf.all.send_redirects"
error: "Invalid argument" setting key "net.ipv4.icmp_echo_ignore_broadcasts"
error: "Invalid argument" setting key "net.ipv4.conf.default.forwarding"
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
error: "Invalid argument" setting key "kernel.sysrq"
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 4294967295
kernel.shmall = 268435456
Re: install error [message #33867 is a reply to message #33864] Mon, 17 November 2008 14:26 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

1. Where have you issued it on the HN or inside VE?
2. Could you please show your /etc/sysctl.conf file?
Re: install error [message #33881 is a reply to message #33867] Tue, 18 November 2008 01:27 Go to previous messageGo to next message
ft.linux is currently offline  ft.linux
Messages: 6
Registered: August 2008
Junior Member
cat /etc/sysctl.conf

# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(Cool and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 1 ### openvz
net.ipv4.conf.default.proxy_arp = 0 ### openvz
net.ipv4.conf.all.rp_filter = 1 ### openvz
net.ipv4.conf.default.send_redirects = 1 ### openvz
net.ipv4.conf.all.send_redirects = 0 ### openvz
net.ipv4.icmp_echo_ignore_broadcasts = 1 ### openvz
net.ipv4.conf.default.forwarding = 1 ### openvz

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 1 ### openvz

# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536

# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295

# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456

Re: install error [message #33887 is a reply to message #33881] Tue, 18 November 2008 08:44 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Seems the way you've composed sysctl.conf file is confusing for sysctl. Try to reorganize it, i.e.

# openvz
net.ipv4.ip_forward = 1
# openvz
....
Previous Topic: Using DRBD with VPS
Next Topic: arpsend problems
Goto Forum:
  


Current Time: Thu Nov 14 05:15:12 GMT 2024

Total time taken to generate the page: 0.02942 seconds