OpenVZ Forum


Home » Mailing lists » Users » Problem with /proc/vz/veinfo
Re: Problem with /proc/vz/veinfo [message #4324 is a reply to message #4259] Wed, 05 July 2006 18:03 Go to previous messageGo to previous message
Rachid Abdoun is currently offline  Rachid Abdoun
Messages: 12
Registered: June 2006
Junior Member
I don't think :

phoenix:~# lsmod | grep vz
vzrst 122992 0
ip_nat 14644 1 vzrst
vzcpt 99392 0
ip_conntrack 49448 3 vzrst,ip_nat,vzcpt
vzdquota 39028 0 [permanent]
vzmon 45984 2 vzrst,vzcpt
vzdev 2468 2 vzdquota,vzmon

phoenix:~# modprobe vznetdev

phoenix:~# lsmod | grep vz
vznetdev 13856 0
vzrst 122992 0
ip_nat 14644 1 vzrst
vzcpt 99392 0
ip_conntrack 49448 3 vzrst,ip_nat,vzcpt
vzdquota 39028 0 [permanent]
vzmon 45984 3 vznetdev,vzrst,vzcpt
vzdev 2468 3 vznetdev,vzdquota,vzmon

phoenix:~# vzctl start 101
Starting VPS ...
VPS is mounted
Setting CPU units: 1000
Set hostname: vps101
File resolv.conf was modified
Processing veth devices
Warning: veth feature is not supported by kernel, skipped veth configure
VPS start in progress...

101.conf :

# Copyright (C) 2000-2006 SWsoft. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
#

ONBOOT="no"

# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="40:40"
NUMPROC="65:65"
NUMTCPSOCK="80:80"
NUMOTHERSOCK="80:80"
VMGUARPAGES="6144:2147483647"
# Secondary parameters
KMEMSIZE="2752512:2936012"
TCPSNDBUF="319488:524288"
TCPRCVBUF="319488:524288"
OTHERSOCKBUF="132096:336896"
DGRAMRCVBUF="132096:132096"
OOMGUARPAGES="6144:2147483647"
# Auxiliary parameters
LOCKEDPAGES="32:32"
SHMPAGES="8192:8192"
PRIVVMPAGES="49152:53575"
NUMFILE="2048:2048"
NUMFLOCK="100:110"
NUMPTY="16:16"
NUMSIGINFO="256:256"
DCACHESIZE="1048576:1097728"

PHYSPAGES="0:2147483647"
NUMIPTENT="128:128"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="1048576:1153434"
DISKINODES="200000:220000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"
VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-3.1-i386-minimal"
ORIGIN_SAMPLE="vps.basic"
HOSTNAME="vps101"
NAMESERVER="192.168.1.1"
VETH="vif1.0,00:12:34:56:78:9A,eth0,00:12:34:56:78:9B "

Have another idea?!


Le 4 juil. 06 à 13:22, Kir Kolyshkin a écrit :

> It looks like vznetdev module is not loaded. Try loading it manually:
>
> /sbin/modprobe vznetdev
>
> Rachid Abdoun wrote:
>> Hi,
>>
>> More responses: :-)
>>
>> Boot your system the right kernel -> have you modified your
>> bootloader
>> e.g. grub or lilo ?
>>
>> I use grub check my menu.lst :
>>
>> title OpenVZ , kernel 2.6.16-026test014
>> root (hd0,0)
>> kernel /vmlinuz-2.6.16-026test014 root=/dev/hda7 ro
>> savedefault
>> boot
>>
>> title OpenVZ , kernel 2.6.16-026test014 (recovery mode)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.16-026test014 root=/dev/hda7 ro single
>> savedefault
>> boot
>>
>> title Debian GNU/Linux, kernel 2.6.8-2-386
>> root (hd0,0)
>> kernel /vmlinuz-2.6.8-2-386 root=/dev/hda7 ro
>> initrd /initrd.img-2.6.8-2-386
>> savedefault
>> boot
>>
>> title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
>> root (hd0,0)
>> kernel /vmlinuz-2.6.8-2-386 root=/dev/hda7 ro single
>> initrd /initrd.img-2.6.8-2-386
>> savedefault
>> boot
>>
>> Which version show "uname -r" ?
>>
>> phoenix:~# uname -r
>> 2.6.16-026test014
>>
>> Are the modules "vzmon vzdquota vzdev" loaded ?
>>
>> phoenix:~# lsmod | grep vzmon
>> vzmon 45984 2 vzrst,vzcpt
>> vzdev 2468 2 vzdquota,vzmon
>>
>> phoenix:~# lsmod | grep vzquota
>> => Nothing!
>>
>> Are the modules on the right place :
>> /lib/modules/`uname -r`/kernel/kernel/vzmon.ko
>>
>> bash: /lib/modules/2.6.16-026test014/kernel/kernel/vzmon.ko:
>> Permission non accord?e
>>
>> /lib/modules/`uname -r`/kernel/fs/vzdquota.ko
>>
>> bash: /lib/modules/2.6.16-026test014/kernel/fs/vzdquota.ko:
>> Permission non accord?e
>>
>> /lib/modules/`uname -r`/kernel/kernel/vzdev.ko
>>
>> bash: /lib/modules/2.6.16-026test014/kernel/kernel/vzdev.ko:
>> Permission non accord?e
>>
>> I still have a problem :
>>
>> phoenix:~# vzctl start 101
>> Starting VPS ...
>> VPS is mounted
>> Adding IP address(es): 192.168.2.1
>> Unable to add IP 192.168.2.1: Inappropriate ioctl for device
>> Unable to del IP 192.168.2.1: Inappropriate ioctl for device
>> VPS start failed
>> Stopping VPS ...
>> VPS was stopped
>> vzquota : (error) Quota off syscall for id 101: Device or resource
>> busy
>> vzquota off failed [3]
>>
>> Conf file of 101 :
>>
>> phoenix:~# cat /etc/vz/conf/101.conf
>> # Copyright (C) 2000-2006 SWsoft. All rights reserved.
>> #
>> # This program is free software; you can redistribute it and/or
>> modify
>> # it under the terms of the GNU General Public License as
>> published by
>> # the Free Software Foundation; either version 2 of the License, or
>> # (at your option) any later version.
>> #
>> # This program is distributed in the hope that it will be useful,
>> # but WITHOUT ANY WARRANTY; without even the implied warranty of
>> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
>> # GNU General Public License for more details.
>> #
>> # You should have received a copy of the GNU General Public License
>> # along with this program; if not, write to the Free Software
>> # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
>> 02111-1307 USA
>> #
>>
>> ONBOOT="no"
>>
>> # UBC parameters (in form of barrier:limit)
>> # Primary parameters
>> AVNUMPROC="40:40"
>> NUMPROC="65:65"
>> NUMTCPSOCK="80:80"
>> NUMOTHERSOCK="80:80"
>> VMGUARPAGES="6144:2147483647"
>> # Secondary parameters
>> KMEMSIZE="2752512:2936012"
>> TCPSNDBUF="319488:524288"
>> TCPRCVBUF="319488:524288"
>> OTHERSOCKBUF="132096:336896"
>> DGRAMRCVBUF="132096:132096"
>> OOMGUARPAGES="6144:2147483647"
>> # Auxiliary parameters
>> LOCKEDPAGES="32:32"
>> SHMPAGES="8192:8192"
>> PRIVVMPAGES="49152:53575"
>> NUMFILE="2048:2048"
>> NUMFLOCK="100:110"
>> NUMPTY="16:16"
>> NUMSIGINFO="256:256"
>> DCACHESIZE="1048576:1097728"
>>
>> PHYSPAGES="0:2147483647"
>> NUMIPTENT="128:128"
>>
>> # Disk quota parameters (in form of softlimit:hardlimit)
>> DISKSPACE="1048576:1153434"
>> DISKINODES="200000:220000"
>> QUOTATIME="0"
>>
>> # CPU fair sheduler parameter
>> CPUUNITS="1000"
>> VE_ROOT="/var/lib/vz/root/$VEID"
>> VE_PRIVATE="/var/lib/vz/private/$VEID"
>> OSTEMPLATE="debian-3.1-i386-minimal"
>> ORIGIN_SAMPLE="vps.basic"
>> HOSTNAME="vps101"
>> NAMESERVER="192.168.1.1"
>> VETH="vif1.0,00:12:34:56:78:9A,eth0,00:12:34:56:78:9B "
>> IP_ADDRESS="192.168.2.1"
>> phoenix:~#
>>
>> Can load manually the module above, and listed by lsmod ?
>>
>> Yes but that don't resolve the problem...
>>
>> Whay can I do? Thanks!!!
>>
>> Rachid
>>
>>
>>
>> Le 1 juil. 06 à 16:42, Thorsten Schifferdecker a écrit :
>>
>>> Hi,
>>>
>>> More questions: :-)
>>>
>>> Boot your system the right kernel -> have you modified your
>>> bootloader
>>> e.g. grub or lilo ?
>>>
>>> Which version show "uname -r" ?
>>>
>>> Are the modules "vzmon vzdquota vzdev" loaded ?
>>>
>>> Are the modules on the right place :
>>> /lib/modules/`uname -r`/kernel/kernel/vzmon.ko
>>> /lib/modules/`uname -r`/kernel/fs/vzdquota.ko
>>> /lib/modules/`uname -r`/kernel/kernel/vzdev.ko
>>>
>>> Can load manually the module above, and listed by lsmod ?
>>>
>>> Thorsten
>>>
>>> At Sa, 1.07.2006, 13:53, wrote Rachid Abdoun:
>>>> Yes i build myself
>>>>
>>>> I use this config http://download.openvz.org/kernel/devel/
>>>> 026test014.4/configs/kernel-2.6.
...

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need informations about bridging configuration
Next Topic: suspend/restore
Goto Forum:
  


Current Time: Wed Aug 21 05:16:08 GMT 2024

Total time taken to generate the page: 0.03112 seconds