OpenVZ Forum


Home » Mailing lists » Users » Ubuntu 12.04 template issue (vzctl enter VEID hangs)
Ubuntu 12.04 template issue (vzctl enter VEID hangs) [message #47089] Thu, 05 July 2012 07:57
Esm is currently offline  Esm
Messages: 15
Registered: August 2011
Junior Member
From: *parallels.com
Hi,

I've got a strange problem which only seems to be occurring with the ubuntu
12.04 template (I don't have this problem with the 10.04 template).

After installing, all goes well, I can't get into the VPS with vzctl enter
VEID. I can however access the VPS by SSH. The only noticeable difference
with other VPSes is that / is not mounted to /dev/simfs but instead to
/var/lib/vz/private/VEID.

Does anyone know what could be causing this?

Additional info:

Kernel: 2.6.32-042stab053.5-el6-openvz (Debian distribution)

I've created the VPS with OpenVZ Web Panel 2.1, which I use for basically
most tasks. The template is downloaded by OpenVZ Web Panel from the official
repositories.

Here is de conf file:

ONBOOT="yes"
CPUUNITS="1000"
PRIVVMPAGES="262144:262144"
DISKSPACE="10485760:10485760"
QUOTATIME="0"
KMEMSIZE="14372700:14790164"
LOCKEDPAGES="256:256"
SHMPAGES="21504:21504"
NUMPROC="240:240"
PHYSPAGES="0:9223372036854775807"
VMGUARPAGES="33792:9223372036854775807"
OOMGUARPAGES="26112:9223372036854775807"
NUMTCPSOCK="360:360"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="360:360"
DCACHESIZE="3409920:3624960"
NUMFILE="9312:9312"
AVNUMPROC="180:180"
NUMIPTENT="128:128"
DISKINODES="200000:220000"
VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="ubuntu-12.04-x86_64"
ORIGIN_SAMPLE="basic"
HOSTNAME="dev03"
NAMESERVER="xxx.xxx.xxx.xxx"
SEARCHDOMAIN="xxxxxxx.xxx"
IP_ADDRESS="xxx.xxx.xxx.xxx"
FEATURES="nfs:on"

I don’t get an error-message when I 'vzctl enter', it simply hangs and I
cannot enter.

Here's the strace:

# strace vzctl enter 115

execve("/usr/sbin/vzctl", ["vzctl", "enter", "115"], [/* 20 vars */]) = 0
brk(0) = 0x20be000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f5992210000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=17164, ...}) = 0 mmap(NULL, 17164,
PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f599220b000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libvzctl-0.0.3.so", O_RDONLY) = 3 read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\204\0\0\0\0\0\0 "...,
832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=164152, ...}) = 0
mmap(NULL, 2259464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f5991dcd000 mprotect(0x7f5991df3000, 2093056, PROT_NONE) = 0
mmap(0x7f5991ff2000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f5991ff2000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0 "..., 832)
= 832 fstat(3, {st_mode=S_IFREG|0644, st_size=14696, ...}) = 0 mmap(NULL,
2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f5991bc9000 mprotect(0x7f5991bcb000, 2097152, PROT_NONE) = 0
mmap(0x7f5991dcb000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f5991dcb000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/libutil.so.1", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0\0\0\0\0\0 "..., 832)
= 832 fstat(3, {st_mode=S_IFREG|0644, st_size=10648, ...}) = 0 mmap(NULL,
4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f599220a000 mmap(NULL, 2105608, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f59919c6000 mprotect(0x7f59919c8000,
2093056, PROT_NONE) = 0 mmap(0x7f5991bc7000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f5991bc7000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\355\1\0\0\0\0\0 "...,
832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1437064, ...}) = 0
mmap(NULL, 3545160, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f5991664000 mprotect(0x7f59917bd000, 2093056, PROT_NONE) = 0
mmap(0x7f59919bc000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x158000) = 0x7f59919bc00
0
mmap(0x7f59919c1000, 18504, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f59919c1000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f5992209000 mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5992208000 mmap(NULL, 4096,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5992207000
arch_prctl(ARCH_SET_FS, 0x7f5992208700) = 0 mprotect(0x7f59919bc000, 16384,
PROT_READ) = 0 mprotect(0x7f5991bc7000, 4096, PROT_READ) = 0
mprotect(0x7f5991dcb000, 4096, PROT_READ) = 0 mprotect(0x7f5992212000, 4096,
PROT_READ) = 0
munmap(0x7f599220b000, 17164) = 0
brk(0) = 0x20be000
brk(0x20df000) = 0x20df000
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f5991696230}, NULL, 8) =
0
open("/etc/vz/vz.conf", O_RDONLY) = 3
stat("/etc/vz/vz.conf", {st_mode=S_IFREG|0644, st_size=1453, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=1453, ...}) = 0 mmap(NULL, 4096,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f599220f000
read(3, "## Global parameters\nVIRTUOZZO=y"..., 4096) = 1453
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f599220f000, 4096) = 0
open("/var/log/vzctl.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3 fstat(3,
{st_mode=S_IFREG|0644, st_size=129, ...}) = 0 mmap(NULL, 4096,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f599220f000
fstat(3, {st_mode=S_IFREG|0644, st_size=129, ...}) = 0
lseek(3, 129, SEEK_SET) = 129
stat("/etc/vz/conf/115.conf", {st_mode=S_IFREG|0666, st_size=884, ...}) = 0
open("/etc/vz/conf/115.conf", O_RDONLY) = 4 stat("/etc/vz/conf/115.conf",
{st_mode=S_IFREG|0666, st_size=884, ...}) = 0 fstat(4,
{st_mode=S_IFREG|0666, st_size=884, ...}) = 0 mmap(NULL, 4096,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f599220e000
read(4, "ONBOOT=\"yes\"\nCPUUNITS=\"1000\"\nPRI"..., 4096) = 884
read(4, "", 4096) = 0
close(4) = 0
munmap(0x7f599220e000, 4096) = 0
fcntl(0, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(1, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(2, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
open("/dev/vzctl", O_RDWR) = 4
ioctl(4, 0x400c2e05, 0x7fff71bab9d0) = 0
close(3) = 0
munmap(0x7f599220f000, 4096) = 0
ioctl(4, 0x400c2e05, 0x7fff71bab9f0) = 0
pipe([3, 5]) = 0
pipe([6, 7]) = 0
pipe([8, 9]) = 0
pipe([10, 11]) = 0
syscall_501(0x73, 0x20bf360, 0xffffffffffffffff, 0x7fff71bac280, 0, 0x73,
0x7fff71bac280, 0x7fff71bac280, 0x7fff71b ac280, 0x7fff71bac280,
0x7fff71bac280, 0x7fff71bac280, 0x7fff71bac280, 0x7fff71bac280,
0x7fff71bac280, 0x7fff71bac2 80, 0x7fff71bac280, 0x7fff71bac280,
0x7fff71bac280, 0x7fff71bac280, 0x7fff71bac280, 0x7fff71bac280,
0x7fff71bac280, 0x7fff71bac280, 0x7fff71bac280, 0x7fff71bac280,
0x7fff71bac280, 0x7fff71bac280, 0x7fff71bac280, 0x7fff71bac280, 0x
7fff71bac280, 0x7fff71bac280) = 0 socket(PF_FILE,
SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 12 connect(12,
{sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such
file or directory)
close(12) = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 12 connect(12,
{sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such
file or directory)
close(12) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=475, ...}) = 0 mmap(NULL, 4096,
PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f599220f000
read(12, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 475
read(12, "", 4096) = 0
close(12) = 0
munmap(0x7f599220f000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 12
fstat(12, {st_mode=S_IFREG|0644, st_size=17164, ...}) = 0 mmap(NULL, 17164,
PROT_READ, MAP_PRIVATE, 12, 0) = 0x7f599220b000
close(12) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/libnss_compat.so.2", O_RDONLY) = 12 read(12,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\23\0\0\0\0\0\0 "..., 832)
= 832 fstat(12, {
...

Previous Topic: Current status of ARM compatability
Next Topic: sharing directory between two VE
Goto Forum:
  


Current Time: Tue Sep 25 18:54:25 GMT 2018