Adnet Ghislain wrote:
i created a guest without giving the context at creation time. It does
not run so i tried to add a number in context but this does not help.
Any hint ? :)
mycomp01:/usr/local/etc/vservers/S1.myvserver01# more
/usr/local/etc/vservers/S1.myvserver01/context
10
mycomp01:/usr/local/etc/vservers/S1.myvserver01# vserver S1.myvserver01
start
vshelper.init: can not determine xid of vserver 'S1.myvserver01';
returned value was ''
This means your guest isn't starting any process, and thus the context
is gone before the start process is even finished. You could:
- change the initstyle to plain (echo plain >
/usr/local/etc/vservers/S1.myvserver01/apps/init/style),
- set the persistent flag (echo ^38 >>
/usr/local/etc/vservers/S1.myvserver01/flags),
- or simply chroot to your guest and run whatever command is needed to
make sure a service is started on boot.
--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver