OpenVZ Forum


Home » General » Support » ovzkernel-2.6.18-308.el5.028stab099.3 + vzctl-3.2-1 = problems "detected vswap CT config but ke (Error: detected vswap CT config but kernel does not support vswap)
ovzkernel-2.6.18-308.el5.028stab099.3 + vzctl-3.2-1 = problems "detected vswap CT config but ke [message #46227] Fri, 04 May 2012 12:11 Go to previous message
umask is currently offline  umask
Messages: 23
Registered: December 2007
Junior Member
Hi!

Today I restarted hardware node and find that my CTs didn't start.

When I trying start it I get next error:

# vzctl start 101
Error: required UB parameter swappages not set
Error: detected vswap CT config but kernel does not support vswap

The CT config:
===========
# cat /etc/vz/conf/101.conf
# Copyright (C) 2000-2008, Parallels, Inc. 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="yes"

# parameters (in form of barrier:limit
# 1st
NUMPROC="256:256"
NUMTCPSOCK="4096:4096"
NUMOTHERSOCK="1024:1024"
# 2GB (in 4K pages):
VMGUARPAGES="524288:524288"

# 2nd
# 1GB (in bytes)
KMEMSIZE="1073741824:1073741824"
TCPSNDBUF="16220160:16220160"
TCPRCVBUF="16220160:16220160"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
OOMGUARPAGES="524288:524288"
PRIVVMPAGES="524288:524288"

# 3rd
LOCKEDPAGES="4096:4096"
SHMPAGES="524288:524288"
PHYSPAGES="524288:524288"
NUMFLOCK="4096:4096"
NUMPTY="16:16"
NUMSIGINFO="256:256"
# 32MB (in bytes)
DCACHESIZE="33554432:33554432"
NUMFILE="9312:9312"
AVNUMPROC="180:180"
NUMIPTENT="128:128"
# END of UBC parameters (in form of barrier:limit)

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

# CPU fair sheduler parameter
CPUUNITS="1000"

IP_ADDRESS="190.190.1.100"
HOSTNAME="web.XXXX.net"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="centos-5-x86_64-minimal"
ORIGIN_SAMPLE="vps.basic"
NAMESERVER="10.10.1.1 10.10.2.2"
SEARCHDOMAIN="XXXX.net"
CPULIMIT="200"
==========

# uname -a
Linux HWnode.com 2.6.18-308.el5.028stab099.3 #1 SMP Wed Mar 7 15:56:00 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux
# vzctl --version
vzctl version 3.2

When I add
==========
SWAPPAGES="0:0"
==========
to CT config I get error:
# vzctl start 101
Error: detected vswap CT config but kernel does not support vswap


Where is my mistake?

Thank you.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CentOS 5 HN with CentOS 6 Container Issues
Next Topic: which kernel to install
Goto Forum:
  


Current Time: Sun Jul 13 05:36:21 GMT 2025

Total time taken to generate the page: 0.01835 seconds