[vserver] Re: vserver start up error

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Mon 14 Dec 2009 - 15:09:54 GMT
Message-ID: <20091214150954.GA29644@MAIL.13thfloor.at>

On Mon, Dec 14, 2009 at 04:19:03PM +0530, Chaitra Gorantla wrote:
>
> Hi Herbert,

> I am able to solve the vnamespace error, Thanks a lot:)

> But when in start the container i get the below error.

> Starting syslog-ng: Error opening file /proc/kmsg for reading (Operation not permitted)

syslog inside a guest should not listen to /proc/kmsg
(or you need to enable the syslog virtualization)

> Error initializing configuration, exiting.
> [FAILED]
> Mounting other filesystems: mount: only root can do that

the guest startup scripts are not supposed/allowed
to mount anything, thus trying to do so will fail

> [FAILED]
> Starting sshd: [ OK ]
> Starting xinetd: [ OK ]
> Starting crond: [ OK ]
>
> An error occured while executing the vserver startup sequence; when
> there are no other messages, it is very likely that the init-script
> (/etc/rc.d/rc 3) failed.
>
> Common causes are:
> * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build
> method knows how to deal with this, but on existing installations,
> appending 'true' to this file will help.

default runlevel scripts often exit with an error
code which makes util-vserver think they failed

note that all this should not be a problem with
recent util-vserver (which cleans up the guests
on build) but you can also clean it up manually

> Failed to start vserver 'pfs'

> Also, the vserver-sat still shows the the container is started and running.
>
> CTX PROC VSZ RSS userTIME sysTIME UPTIME NAME
> 4001 2 6.9M 1.8M 0m00s38 0m00s26 0m40s62 pfs

> I am able to enter the container also..

because _something_ inside the guest is still
running :)

> Please suggest regarding this error

cleaning up the guest will fix the issues

best,
Herbert

> Regards,
> Chaitra
>
> This Email may contain confidential or privileged information for
> the intended recipient (s) If you are not the intended recipient,
> please do not use or disseminate the information, notify the sender
> and delete it from your system.
>
> ______________________________________________________________________
Received on Mon Dec 14 15:10:15 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 14 Dec 2009 - 15:10:17 GMT by hypermail 2.1.8