None of my vps's are able to boot because of the following error.
thorpe@oblivion ~ # vzctl start 10100
Starting VE ...
VE is mounted
Unable to set capability: Invalid argument
Unable to set capability
VE start failed
VE is unmounted
thorpe@oblivion ~ #
A quick search of this board hasn't helped much, someone suggested removing lcap, but I do not have lcap installed.
I am running a custom compiled kernel that I built from the kernel-2.6.24-ovz004.1.src.rpm rpm.
The steps I went through are quit long winded, but I can explain if required.
I am running Debian sid (x86_64) with 8G of memory.
These vps had been running without issue for the last month or so, I' just not sure where to start looking.
My /etc/vz/vz.conf file.
## Global parameters
VIRTUOZZO=yes
LOCKDIR=/var/lib/vz/lock
DUMPDIR=/var/lib/vz/dump
VE0CPUUNITS=1000
## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0
VERBOSE=0
## Disk quota parameters
DISK_QUOTA=no
VZFASTBOOT=no
# The name of the device whose ip address will be used as source ip for VE.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"
# Controls which interfaces to send ARP requests and modify APR tables on.
NEIGHBOUR_DEVS=detect
## Template parameters
TEMPLATE=/var/lib/vz/template
## Defaults for VEs
VE_ROOT=/var/lib/vz/root/$VEID
VE_PRIVATE=/var/lib/vz/private/$VEID
CONFIGFILE="my-16"
DEF_OSTEMPLATE="debian-4.0"
## Load vzwdog module
VZWDOG="no"
## IPv4 iptables kernel modules
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"
## Enable IPv6
IPV6="no"
## IPv6 ip6tables kernel modules
IP6TABLES="ip6_tables ip6table_filter ip6table_mangle ip6t_REJECT"
My /etc/vz/conf/ve-my-16.conf.sample file
# Configuration file generated by vzsplit for 16 VEs
# on HN with total amount of physical mem 7977 Mb
# low memory 7977 Mb, swap size 1921 Mb, Max treads 8000
# Resourse commit level 0:
# Free resource distribution. Any parameters may be increased
# Primary parameters
NUMPROC="2552:2552"
AVNUMPROC="1276:1276"
NUMTCPSOCK="2552:2552"
NUMOTHERSOCK="2552:2552"
VMGUARPAGES="106535:9223372036854775807"
# Secondary parameters
KMEMSIZE="104566476:115023123"
TCPSNDBUF="24402500:34855492"
TCPRCVBUF="24402500:34855492"
OTHERSOCKBUF="12201250:22654242"
DGRAMRCVBUF="12201250:12201250"
OOMGUARPAGES="106535:9223372036854775807"
PRIVVMPAGES="639210:703131"
# Auxiliary parameters
LOCKEDPAGES="5105:5105"
SHMPAGES="63921:63921"
PHYSPAGES="0:9223372036854775807"
NUMFILE="40832:40832"
NUMFLOCK="1000:1100"
NUMPTY="255:255"
NUMSIGINFO="1024:1024"
DCACHESIZE="22834205:23519232"
NUMIPTENT="125:125"
DISKSPACE="936398:1030038"
DISKINODES="254089:279499"
CPUUNITS="17651"
And one of my vps's config files /etc/vz/conf/10100.conf
# Configuration file generated by vzsplit for 20 VEs
# on HN with total amount of physical mem 7977 Mb
# low memory 7977 Mb, swap size 1921 Mb, Max treads 8000
# Resourse commit level 0:
# Free resource distribution. Any parameters may be increased
# Primary parameters
NUMPROC="2552:2552"
AVNUMPROC="1276:1276"
NUMTCPSOCK="2552:2552"
NUMOTHERSOCK="2552:2552"
VMGUARPAGES="106535:9223372036854775807"
# Secondary parameters
KMEMSIZE="104566476:115023123"
TCPSNDBUF="24402500:34855492"
TCPRCVBUF="24402500:34855492"
OTHERSOCKBUF="12201250:22654242"
DGRAMRCVBUF="12201250:12201250"
OOMGUARPAGES="106535:9223372036854775807"
PRIVVMPAGES="639210:703131"
# Auxiliary parameters
LOCKEDPAGES="5105:5105"
SHMPAGES="63921:63921"
PHYSPAGES="0:9223372036854775807"
NUMFILE="40832:40832"
NUMFLOCK="1000:1100"
NUMPTY="255:255"
NUMSIGINFO="1024:1024"
DCACHESIZE="22834205:23519232"
NUMIPTENT="125:125"
DISKSPACE="936398:1030038"
DISKINODES="254089:279499"
CPUUNITS="17651"
IP_ADDRESS="192.168.10.100"
HOSTNAME="dns"
VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-4.0-i386-mydns"
ORIGIN_SAMPLE="my-16"
ONBOOT="yes"
NAME="dns"
NAMESERVER="127.0.0.1"
This is my local nameserver so ignore the NAMESERVER directive.
I am having an issue with klogd not being able to start, not sure if this is at all related.
Any help much appreciated.
[Updated on: Tue, 27 May 2008 05:11]
Report message to a moderator