OpenVZ Forum


Home » General » Support » *SOLVED* VPS creation error message.
*SOLVED* VPS creation error message. [message #14947] Sat, 14 July 2007 00:32 Go to next message
joelee is currently offline  joelee
Messages: 63
Registered: April 2006
Member
Hi, I am using the following steps to create a VPS using pre-created template. All goes fine except for a warning error message I get when I start the VPS as show below. Wanted to know if that is normal or what can/should I do not to get the warning error. See warning error in BOLD below.

Quote:

ovz:/var/lib/vz/template/cache# vzctl create 101 --ostemplate debian-4.0-i386-minimal --config vps.basic
Creating VPS private area: /var/lib/vz/private/101
Performing postcreate actions
VPS private area was created
ovz:/var/lib/vz/template/cache# vzctl set 101 --onboot yes --save
Saved parameters for VPS 102
ovz:/var/lib/vz/template/cache# vzctl set 101 --hostname shell.opensourcedemo.com --save
Saved parameters for VPS 102
ovz:/var/lib/vz/template/cache# vzctl set 101 --ipadd 192.168.1.1 --save
Saved parameters for VPS 102
ovz:/var/lib/vz/template/cache# vzctl set 101 --numothersock 120 --save
Saved parameters for VPS 102
ovz:/var/lib/vz/template/cache# vzctl set 101 --nameserver 192.168.1.253 --save
Saved parameters for VPS 101
ovz:/var/lib/vz/template/cache# vzctl start 101
Starting VPS ...
VPS is mounted
Adding IP address(es): 192.168.1.1
vps-net_add WARNING: Function proxy_arp for eth0 is set to 0. Enable with 'sysctl -w net.ipv4.conf.eth0.proxy_arp=1'. See /usr/share/doc/vzctl/README.Debian.
Setting CPU units: 1000
Set hostname: host.domain.com
File resolv.conf was modified
VPS start in progress...
ovz:/var/lib/vz/template/cache#


Also, whe I enter this command:
ovz:/var/lib/vz/template/cache# vzctl set 101 --numothersock 120 --save

The --numotehrsock value 120... What is this value for? I don't quite understand its usage and is the value an average? What is the min/max value for this?

Appreciate any replies to help clarify above for me - Thanks!

Joe

[Updated on: Tue, 17 July 2007 08:37] by Moderator

Report message to a moderator

Re: VPS creation error message. [message #14996 is a reply to message #14947] Mon, 16 July 2007 10:00 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

If you give
# sysctl -w net.ipv4.conf.eth0.proxy_arp=1
and after that start the VE:
# vzctl start 101
you should not see this warning.

numopthersock - this is the number of other (other than tcp) sockets in VE. More information at http://wiki.openvz.org/Numothersock#numothersock

HTH,
Vasily
Re: VPS creation error message. [message #15012 is a reply to message #14996] Mon, 16 July 2007 20:26 Go to previous messageGo to next message
joelee is currently offline  joelee
Messages: 63
Registered: April 2006
Member
Vasily, thanks for the info below. When I issue the command:

# sysctl -w net.ipv4.conf.eth0.proxy_arp=1

I no longer get the error message - Thanks! However, should I place this command in:
/etc/sysctl.conf file? As when I reboot and restart VPS the error comes back.

Joe
Re: VPS creation error message. [message #15022 is a reply to message #15012] Tue, 17 July 2007 08:37 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Yes, add this to sysctl.conf file. This change should be described in /usr/share/doc/vzctl/README.Debian file.

HTH,
Vasily
Previous Topic: *SOLVED* Out of socket memory
Next Topic: *SOLVED* Backup with tar
Goto Forum:
  


Current Time: Tue Feb 27 08:08:43 GMT 2024

Total time taken to generate the page: 0.02619 seconds