Re: [openvz] Problemas al arrancar una instancia
2010/9/9 angeld <angeld@froga.net>:
> Estoy haciendo unas pruebas con openvz en Squeeze, en un portátil P4
> monocore no muy nuevo, y tras instalar el kernel adecuado, he seguido este
> [1]manual. Todo funciona correctamente hasta que intento arrancar la máquina
> con el ID 1000:
>
> # vzctl start 1000
> Starting container ...
> vzquota : (error) Quota on syscall for id 1000: No such file or directory
> vzquota on failed [3]
>
> Tras esto, genero la cuota para el ID 1000:
>
> vzquota init 1000 -p /srv/vz/private/1000 -b 20485860 -B 20485860 -i
> 200100 -I 220100 -e 0 -n 0 -s 1 -u 200
>
holas, angeld veo que el directorio de ejecución de tus VE no es por
defecto, ¿has revisado los permisos del este directorio?. Otra cosa
para ver, revisa en tu vz.conf(/etc/vz/vz.conf jeje si no estoy mal) y
mira que los parametros de logging esten así:
## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0
VERBOSE=1
Sobretodo el parametro "VERBOSE" para que nos arroje mas información.
Otra adicional, intenta crear otro VE a ver si sucede lo mismo.
Salu2.
> y vuelvo al arrancar me empiezan a llover estos mensajes:
>
> Message from syslogd@x32 at Sep 9 12:50:29 ...
> kernel:[ 2765.796340] Oops: 0000 [#1] SMP
>
> Message from syslogd@x32 at Sep 9 12:50:29 ...
> kernel:[ 2765.796352] last sysfs file:
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
>
> Message from syslogd@x32 at Sep 9 12:50:29 ...
> kernel:[ 2765.796801] Process vzctl (pid: 6547, veid: 0, ti=f54a0000
> task=f625d810 task.ti=f54a0000)
>
> Message from syslogd@x32 at Sep 9 12:50:29 ...
> kernel:[ 2765.796814] Stack:
>
> Message from syslogd@x32 at Sep 9 12:50:29 ...
> kernel:[ 2765.796900] Call Trace:
>
> Message from syslogd@x32 at Sep 9 12:50:29 ...
> kernel:[ 2765.797413] Code: Bad EIP value.
>
> Message from syslogd@x32 at Sep 9 12:50:29 ...
> kernel:[ 2765.797427] EIP: [<00000000>] 0x0 SS:ESP 0068:f54a1cb8
>
> Message from syslogd@x32 at Sep 9 12:50:29 ...
> kernel:[ 2765.797451] CR2: 0000000000000000
>
>
> Y el proceso "vzctl start 1000" se queda cuajado. Ni acaba de
> arrancar, ni muere, ni nada por el estilo.
>
>
> En el dmesg también tengo traza de error:
>
> [ 2765.796715] Pid: 6547, comm: vzctl Not tainted (2.6.32-5-openvz-686 #1)
> budarin 2672W5J)
> [ 2765.796731] EIP: 0060:[<00000000>] EFLAGS: 00010246 CPU: 0
> [ 2765.796749] EIP is at 0x0
> [ 2765.796759] EAX: f0504fb8 EBX: f8182fd4 ECX: 00000000 EDX: 00002000
> [ 2765.796772] ESI: f0504fb8 EDI: 00000002 EBP: 00000000 ESP: f54a1cb8
> [ 2765.796786] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
> [ 2765.796801] Process vzctl (pid: 6547, veid: 0, ti=f54a0000
> task=f625d810 task.ti=f54a0000)
> [ 2765.796814] Stack:
> [ 2765.796821] f8623063 00000000 00000020 00000050 00000000 00000000
> 00000000 ffff0000
> [ 2765.796846] <0> ffffffff 00002000 00000000 f0504f30 f67f2400 f0505190
> fffffff4 ffffffff
> [ 2765.796872] <0> 00000001 00000000 00000000 f54a1d40 c22c3244 00000000
> c10dad3f f04b2400
> [ 2765.796900] Call Trace:
> [ 2765.796946] [<f8623063>] ? ext4_da_get_block_prep+0x256/0x380 [ext4]
> [ 2765.796970] [<c10dad3f>] ? __block_prepare_write+0x140/0x297
> [ 2765.796987] [<c10dafe9>] ? block_write_begin+0x70/0xc6
> [ 2765.797037] [<f8622e0d>] ? ext4_da_get_block_prep+0x0/0x380 [ext4]
> [ 2765.797085] [<f8625c76>] ? ext4_da_write_begin+0x203/0x2b4 [ext4]
> [ 2765.797133] [<f8622e0d>] ? ext4_da_get_block_prep+0x0/0x380 [ext4]
> [ 2765.797155] [<c1090bff>] ? generic_file_buffered_write+0xd0/0x21d
> [ 2765.797183] [<c1091149>] ? __generic_file_aio_write+0x265/0x28d
> [ 2765.797215] [<f859bb53>] ? jbd2_journal_stop+0x21a/0x226 [jbd2]
> [ 2765.797235] [<c10e3189>] ? inotify_d_instantiate+0xf/0x30
> [ 2765.797259] [<f817dec5>] ? vzquota_inode_data+0x3b/0xfc [vzdquota]
> [ 2765.797277] [<c10911c2>] ? generic_file_aio_write+0x51/0x93
> [ 2765.797302] [<c10be2de>] ? do_sync_write+0xc0/0x107
> [ 2765.797322] [<c104b52a>] ? autoremove_wake_function+0x0/0x2d
> [ 2765.797340] [<c10bca91>] ? fd_install+0x1e/0x3c
> [ 2765.797356] [<c10be21e>] ? do_sync_write+0x0/0x107
> [ 2765.797372] [<c10bec7f>] ? vfs_write+0x7e/0xd6
> [ 2765.797387] [<c10bedb9>] ? sys_write+0x40/0xa9
> [ 2765.797403] [<c1008100>] ? syscall_call+0x7/0xb
> [ 2765.797413] Code: Bad EIP value.
> [ 2765.797427] EIP: [<00000000>] 0x0 SS:ESP 0068:f54a1cb8
> [ 2765.797451] CR2: 0000000000000000
> [ 2765.797462] ---[ end trace e7f77c549c733f13 ]---
>
> ¿Alguna idea de por dónde empezar a buscar?.
>
> [1]http://wiki.openvz.org/Debian_template_creation
>
> --
> Saludos --- Angel
>
--
ceduard0
Reply to: