OpenVZ Forum


Home » Mailing lists » Users » template Gentoo, Init
template Gentoo, Init [message #7055] Mon, 02 October 2006 08:13 Go to next message
Tonko Mulder is currently offline  Tonko Mulder
Messages: 4
Registered: October 2006
Location: Holland
Junior Member
Hello all,

I have the gentoo template running on a virtuozzo server..
Only I have the following problem, every time I want to boot my
virtual machine it goes to init 0..
the init gets it's commands from inittab, but I don't know exactly if
that should be adapted for a virtual machine..

regards
--
Tonko
Re: template Gentoo, Init [message #7147 is a reply to message #7055] Thu, 05 October 2006 07:35 Go to previous messageGo to next message
dwebwarm is currently offline  dwebwarm
Messages: 11
Registered: February 2006
Location: Hewlett-Packard Global De...
Junior Member
Hi,

Tonko Mulder wrote:
> Hello all,
>
> I have the gentoo template running on a virtuozzo server..
> Only I have the following problem, every time I want to boot my
> virtual machine it goes to init 0..
> the init gets it's commands from inittab, but I don't know exactly if
> that should be adapted for a virtual machine..
Try adapting RC_PARALLEL_STARTUP="no" in /etc/conf.d/rc. This makes
sometimes problems ;)
>
> regards
Regards,
Martin
Re: template Gentoo, Init [message #7210 is a reply to message #7055] Fri, 06 October 2006 09:46 Go to previous messageGo to next message
Tonko Mulder is currently offline  Tonko Mulder
Messages: 4
Registered: October 2006
Location: Holland
Junior Member
It was already set to 'no'..
setting it to 'yes' didn't make any difference

>>Hi,

>>Tonko Mulder wrote:
> Hello all,
>
> I have the gentoo template running on a virtuozzo server..
> Only I have the following problem, every time I want to boot my
> virtual machine it goes to init 0..
> the init gets it's commands from inittab, but I don't know exactly if
> that should be adapted for a virtual machine..
>>Try adapting RC_PARALLEL_STARTUP="no" in /etc/conf.d/rc. This makes
>>sometimes problems ;)
>
> regards
>>Regards,
>>Martin

On 10/2/06, Tonko Mulder <tonko.mulder@gmail.com> wrote:
> Hello all,
>
> I have the gentoo template running on a virtuozzo server..
> Only I have the following problem, every time I want to boot my
> virtual machine it goes to init 0..
> the init gets it's commands from inittab, but I don't know exactly if
> that should be adapted for a virtual machine..
>
> regards
> --
> Tonko
>


--
Tonko
Re: Re: template Gentoo, Init [message #7212 is a reply to message #7210] Fri, 06 October 2006 17:22 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

1. This is not Virtuozzo support. If you are Virtuozzo customer, ask
their support. If you are hosting customer -- ask you HSP support.

2. Steps of modifying a new Gentoo installation to adopt it to OpenVZ
are described at http://wiki.openvz.org/Gentoo_template_creation
(starting from the item #5). I can not guarantee they are applicable to
Virtuozzo.

Tonko Mulder wrote:
> It was already set to 'no'..
> setting it to 'yes' didn't make any difference
>
>>> Hi,
>
>>> Tonko Mulder wrote:
>> Hello all,
>>
>> I have the gentoo template running on a virtuozzo server..
>> Only I have the following problem, every time I want to boot my
>> virtual machine it goes to init 0..
>> the init gets it's commands from inittab, but I don't know exactly if
>> that should be adapted for a virtual machine..
>>> Try adapting RC_PARALLEL_STARTUP="no" in /etc/conf.d/rc. This makes
>>> sometimes problems ;)
>>
>> regards
>>> Regards,
>>> Martin
>
> On 10/2/06, Tonko Mulder <tonko.mulder@gmail.com> wrote:
>> Hello all,
>>
>> I have the gentoo template running on a virtuozzo server..
>> Only I have the following problem, every time I want to boot my
>> virtual machine it goes to init 0..
>> the init gets it's commands from inittab, but I don't know exactly if
>> that should be adapted for a virtual machine..
>>
>> regards
>> --
>> Tonko
>>
>
>
Re: Re: template Gentoo, Init [message #7213 is a reply to message #7212] Fri, 06 October 2006 18:11 Go to previous messageGo to next message
Tonko Mulder is currently offline  Tonko Mulder
Messages: 4
Registered: October 2006
Location: Holland
Junior Member
Hello Kir,
I am not the owner of the host system :)
I had debian succesfully installed using debootstrap..
the idea is to do the same with gentoo..

This is part of a dutch project to test out virtual servers from
Strato, germany.
I made a little bash script which puts the output of 'ps -ax' in
/root/firstboot..
This has the following content:
---
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1396 488 ? Ss 16:31 0:00 init
root 3497 4.6 0.0 2384 1396 ? Ss 16:40 0:00
/bin/bash /sbin/rc shutdown
root 4423 0.0 0.0 2524 1428 ? S 16:40 0:00
/bin/bash /sbin/rc shutdown
root 4431 0.0 0.0 2032 852 ? R 16:40 0:00 ps -aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1396 488 ? Ss 16:31 0:00 init
root 3497 4.6 0.0 2384 1396 ? Ss 16:40 0:00
/bin/bash /sbin/rc shutdown
root 4423 0.0 0.0 2524 1428 ? S 16:40 0:00
/bin/bash /sbin/rc shutdown
root 4433 0.0 0.0 2032 852 ? R 16:40 0:00 ps -aux
--

Just to give you an idea :)
I would like to know why and where shutdown gets initiated.. so I can
stop it and let the VPS boot normal..

Tonko

On 10/6/06, Kir Kolyshkin <kir@openvz.org> wrote:
> 1. This is not Virtuozzo support. If you are Virtuozzo customer, ask
> their support. If you are hosting customer -- ask you HSP support.
>
> 2. Steps of modifying a new Gentoo installation to adopt it to OpenVZ
> are described at http://wiki.openvz.org/Gentoo_template_creation
> (starting from the item #5). I can not guarantee they are applicable to
> Virtuozzo.
>
> Tonko Mulder wrote:
> > It was already set to 'no'..
> > setting it to 'yes' didn't make any difference
> >
> >>> Hi,
> >
> >>> Tonko Mulder wrote:
> >> Hello all,
> >>
> >> I have the gentoo template running on a virtuozzo server..
> >> Only I have the following problem, every time I want to boot my
> >> virtual machine it goes to init 0..
> >> the init gets it's commands from inittab, but I don't know exactly if
> >> that should be adapted for a virtual machine..
> >>> Try adapting RC_PARALLEL_STARTUP="no" in /etc/conf.d/rc. This makes
> >>> sometimes problems ;)
> >>
> >> regards
> >>> Regards,
> >>> Martin
> >
> > On 10/2/06, Tonko Mulder <tonko.mulder@gmail.com> wrote:
> >> Hello all,
> >>
> >> I have the gentoo template running on a virtuozzo server..
> >> Only I have the following problem, every time I want to boot my
> >> virtual machine it goes to init 0..
> >> the init gets it's commands from inittab, but I don't know exactly if
> >> that should be adapted for a virtual machine..
> >>
> >> regards
> >> --
> >> Tonko
> >>
> >
> >
>
--
Tonko
Re: Re: template Gentoo, Init [message #7233 is a reply to message #7213] Sat, 07 October 2006 21:46 Go to previous messageGo to next message
KriS83 is currently offline  KriS83
Messages: 12
Registered: October 2005
Junior Member
Hi Tonko,

I'd guess this comes from your HSP (Strato).
Reason is probably quite simple if you knew how VZ/OpenVZ works.

If I am not mistaking (O)VZ takes the "OSTEMPLATE" Parameter from
your VE.conf which is located on the Node which is most probably filled
with something like "Debian/20061010"

Now upon boot of your VE certain scripts are started to set your
hostname and network config. If the given files are not available
Strato might shutdown your server.

Hope it helps :)

Regards,
Kristian Marcroft


Am Freitag, den 06.10.2006, 20:11 +0200 schrieb Tonko Mulder:

> Just to give you an idea :)
> I would like to know why and where shutdown gets initiated.. so I can
> stop it and let the VPS boot normal..
>
> Tonko
Re: Re: template Gentoo, Init [message #7234 is a reply to message #7233] Sat, 07 October 2006 23:27 Go to previous message
Tonko Mulder is currently offline  Tonko Mulder
Messages: 4
Registered: October 2006
Location: Holland
Junior Member
actually the standard distro on Strato is Suse 9.3.. I bootstrapped
debian.. which worked.. and now I'm using the same method for gentoo..

On 10/7/06, Kristian Marcroft <KriS@kwm-web.info> wrote:
> Hi Tonko,
>
> I'd guess this comes from your HSP (Strato).
> Reason is probably quite simple if you knew how VZ/OpenVZ works.
>
> If I am not mistaking (O)VZ takes the "OSTEMPLATE" Parameter from
> your VE.conf which is located on the Node which is most probably filled
> with something like "Debian/20061010"
>
> Now upon boot of your VE certain scripts are started to set your
> hostname and network config. If the given files are not available
> Strato might shutdown your server.
>
> Hope it helps :)
>
> Regards,
> Kristian Marcroft
>
>
> Am Freitag, den 06.10.2006, 20:11 +0200 schrieb Tonko Mulder:
>
> > Just to give you an idea :)
> > I would like to know why and where shutdown gets initiated.. so I can
> > stop it and let the VPS boot normal..
> >
> > Tonko
>
>
--
Tonko
Previous Topic: kernel: TCP: time wait bucket table overflow
Next Topic: Debian kernel source files
Goto Forum:
  


Current Time: Mon Aug 12 06:52:58 GMT 2024

Total time taken to generate the page: 0.02863 seconds