OpenVZ Forum



Members   Search      Help    Register    Login    Home
Home » General » Support » How to repair a container startup ?(My container startup is in interactive startup mode ... How to answer to it ?)
How to repair a container startup ? [message #42448] Mon, 18 April 2011 22:37 Go to next message
Cyrille37 is currently offline Cyrille37
Messages: 6
Registered: April 2011
Location: Tours, France
Junior Member
From: *216.66-86.rev.gaoland.net
Hi,

My container startup is in interactive mode ... How to answer to it ?

Here is the container log :
...
raidautorun: failed to open /dev/md0: Operation not permitted
awk: cmd. line:1: fatal: cannot open file `/proc/misc' for reading (No such file or directory)
Mounting local filesystems: [ OK ] 
ng /etc/fstab swaps: [ OK ] 
INIT: Entering runlevel: 3 
Entering interactive startup
Start service iscsid (Y)es/(N)o/(C)ontinue? [Y] 


I'd try to start it with --wait, but it do not give the chance to answer to the interactive startup ...

# vzctl start 101 --wait
...
File resolv.conf was modified
Setting quota ugidlimit: 0
Container start in progress, waiting ...


I try "vzctl enter 101" but it does not work :

# vzctl enter 101
enter into CT 101 failed
Unable to open pty: No such file or directory


Have you got an idea ? Should the only solution is to destroy the VM ?

Regards
Cyrille
Re: How to repair a container startup ? [message #42498 is a reply to message #42448] Fri, 22 April 2011 14:05 Go to previous messageGo to next message
curtis_isparks is currently offline curtis_isparks
Messages: 5
Registered: April 2011
Junior Member
From: *hsd1.ut.comcast.net
I don't know if this is what you are looking for, but you can disable the interactive prompts (so that your container will boot) by editing /etc/sysconfig/init and switching the PROMPT setting to no...

PROMPT=no

Hope this helps. Smile
Re: How to repair a container startup ? [message #42511 is a reply to message #42448] Mon, 25 April 2011 09:12 Go to previous message
Cyrille37 is currently offline Cyrille37
Messages: 6
Registered: April 2011
Location: Tours, France
Junior Member
From: *216.66-86.rev.gaoland.net
Hi
and thanks for your answer.

The fact is that I didn't see that I can easily access to the container file-system to apply your trick and other configuration. I was afraid that VMs are contained in a obscure file like with VirtualBox.

Thanks
Cyrille
Previous Topic:Load spikes issue
Next Topic:ssh log prob
Goto Forum:
  


Current Time: Tue Jun 18 03:18:39 EDT 2013
Powered by FUDforum Powered by Parallels Virtuozzo Containers