[Users] Ubuntu 12.04 issue

Esmé de Wolf esme at elements.nl
Mon Jul 2 07:08:00 EDT 2012


Hi Joe,

Of course, sorry for the incompleteness...

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 problem does not occur when I use the 10.04 template. 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, {st_mode=S_IFREG|0644, st_size=31616, ...}) = 0 mmap(NULL,
2127088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 12, 0) =
0x7f599145c000 mprotect(0x7f5991463000, 2093056, PROT_NONE) = 0
mmap(0x7f5991662000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x6000) = 0x7f5991662000
close(12)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/libnsl.so.1", 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\300@\0\0\0\0\0\0"..., 832) =
832 fstat(12, {st_mode=S_IFREG|0644, st_size=89064, ...}) = 0 mmap(NULL,
2194128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 12, 0) =
0x7f5991244000 mprotect(0x7f5991259000, 2093056, PROT_NONE) = 0
mmap(0x7f5991458000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x14000) = 0x7f5991458000
mmap(0x7f599145a000, 6864, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f599145a000
close(12)                               = 0
mprotect(0x7f5991458000, 4096, PROT_READ) = 0 mprotect(0x7f5991662000, 4096,
PROT_READ) = 0
munmap(0x7f599220b000, 17164)           = 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_nis.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  \0\0\0\0\0\0"..., 832) =
832 fstat(12, {st_mode=S_IFREG|0644, st_size=43552, ...}) = 0 mmap(NULL,
2139320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 12, 0) =
0x7f5991039000 mprotect(0x7f5991043000, 2093056, PROT_NONE) = 0
mmap(0x7f5991242000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x9000) = 0x7f5991242000
close(12)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/libnss_files.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\"\0\0\0\0\0\0"..., 832) =
832 fstat(12, {st_mode=S_IFREG|0644, st_size=51728, ...}) = 0 mmap(NULL,
2147752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 12, 0) =
0x7f5990e2c000 mprotect(0x7f5990e38000, 2093056, PROT_NONE) = 0
mmap(0x7f5991037000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0xb000) = 0x7f5991037000
close(12)                               = 0
mprotect(0x7f5991037000, 4096, PROT_READ) = 0 mprotect(0x7f5991242000, 4096,
PROT_READ) = 0
munmap(0x7f599220b000, 17164)           = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 12
fcntl(12, F_GETFD)                      = 0x1 (flags FD_CLOEXEC)
lseek(12, 0, SEEK_CUR)                  = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=1297, ...}) = 0 mmap(NULL, 1297,
PROT_READ, MAP_SHARED, 12, 0) = 0x7f599220f000
lseek(12, 1297, SEEK_SET)               = 1297
munmap(0x7f599220f000, 1297)            = 0
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
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/group", O_RDONLY|O_CLOEXEC)  = 12
lseek(12, 0, SEEK_CUR)                  = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=672, ...}) = 0 mmap(NULL, 672,
PROT_READ, MAP_SHARED, 12, 0) = 0x7f599220f000
lseek(12, 672, SEEK_SET)                = 672
munmap(0x7f599220f000, 672)             = 0
close(12)                               = 0
rt_sigaction(SIGCHLD, {0x402ce0, [], SA_RESTORER|SA_NOCLDSTOP,
0x7f5991696230}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [],
SA_RESTORER, 0x7f5991696230}, NULL, 8) = 0 rt_sigaction(SIGWINCH, {0x402cf0,
[], SA_RESTORER, 0x7f5991696230}, NULL, 8) = 0 clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7f59922089d0) = 93887
close(3)                                = 0
close(7)                                = 0
close(9)                                = 0
close(10)                               = 0
read(8, 0x7fff71bab9f8, 4)              = ? ERESTARTSYS (To be restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
rt_sigreturn(0x1c)                      = -1 EINTR (Interrupted system call)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f599220f000 write(1, "enter into CT 115 failed\n", 25enter into CT 115
failed
) = 25
fcntl(6, F_GETFL)                       = 0 (flags O_RDONLY)
fcntl(6, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0 read(6, "\33]0;root at dev03:
/\7root at dev03"..., 10239) = 36 write(1, "\33]0;root at dev03:
/\7root at dev03"..., 36root at dev03:/# ) = 36
read(6, 0x7fff71ba8fe0, 10239)          = -1 EAGAIN (Resource temporarily
unavailable)
wait4(93887, ^C <unfinished ...> 

And then it hangs....

Thank you for helping me!

Kind Regards,

Esme



-----Oorspronkelijk bericht-----
Van: joseph at digiconcept.net [mailto:joseph at digiconcept.net]
Verzonden: vrijdag 29 juni 2012 15:56
Aan: users at openvz.org
CC: esme at elements.nl
Onderwerp: Re: [Users] Ubuntu 12.04 issue

hi as well

can you please be much more detailed in your report.
include kernel version and the linux-distribution you use on your host as
well as your vpsid.conf file. also explain how you've created your
ubuntu-12.04 container and what error message you get when "vzctl enter"
fails. also pastebin an strace of the "vzctl enter" process.

when did you download the ubuntu-12.04 template? until recently there where
bugs with the creation of some /dev/ files.

greetings,
joe


> Hi,
>
> I've got a strange problem which only seems to be occuring with the 
> ubuntu
> 12.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?
>
> Thank very much for helping me.
>
> Kind Regards,
>
> Esme
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>


-----Oorspronkelijk bericht-----
Van: users-bounces at openvz.org [mailto:users-bounces at openvz.org] Namens
Joseph Hauptmann
Verzonden: vrijdag 29 juni 2012 16:01
Aan: users at openvz.org
Onderwerp: Re: [Users] Ubuntu 12.04 issue



hi as well

can you please be much more detailed in your report.
include kernel version and the linux-distribution you use on your host as
well as your vpsid.conf file. also explain how you've created your
ubuntu-12.04 container and what error message you get when "vzctl enter"
fails. also pastebin an strace of the "vzctl enter" process.

when did you download the ubuntu-12.04 template? until recently there where
bugs with the creation of some /dev/ files.

greetings,
joe


> Hi,
>
> I've got a strange problem which only seems to be occuring with the 
> ubuntu
> 12.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?
>
> Thank very much for helping me.
>
> Kind Regards,
>
> Esme
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>




_______________________________________________
Users mailing list
Users at openvz.org
https://openvz.org/mailman/listinfo/users




More information about the Users mailing list