OpenVZ Forum


Home » General » Support » Container starts but does not work
Container starts but does not work [message #34872] Mon, 09 February 2009 20:36 Go to next message
rjfernandez is currently offline  rjfernandez
Messages: 2
Registered: February 2009
Junior Member
I have a problem with one of my OpenVZ containers.

When I started from the Hardware Node it does not show any errors, but none of the container services work.

I can enter the container, and the messages log says:
-----------------------------------------------------------
Feb 9 14:09:05 usa1 network: Bringing up loopback interface: succeeded
Feb 9 14:09:05 usa1 ifup: SIOCADDRT: Network is unreachable
Feb 9 14:09:05 usa1 last message repeated 4 times
Feb 9 14:09:05 usa1 network: Bringing up interface venet0: succeeded
Feb 9 14:09:05 usa1 vzquota: quotaon: using //aquota.group on /dev/simfs [/]: Device or resource busy
Feb 9 14:09:05 usa1 vzquota: quotaon: using //aquota.user on /dev/simfs [/]: Device or resource busy
Feb 9 14:09:05 usa1 rc: Starting vzquota: failed
------------------------------------------------------------ ---

If I try to start a service from inside the container, I get:

[root@usa1 /]# /etc/rc.d/init.d/httpd start
-bash: /etc/rc.d/init.d/httpd: Permission denied

I can SSH to the container from outside, so I know the network is working.

How could I fix this problem?

Thanks,

Rodrigo

[Updated on: Mon, 09 February 2009 20:37]

Report message to a moderator

Re: Container starts but does not work [message #34874 is a reply to message #34872] Mon, 09 February 2009 22:03 Go to previous messageGo to next message
schjeall is currently offline  schjeall
Messages: 27
Registered: February 2009
Location: Denmark
Junior Member
I was thinking - maybe your problem could be a reached resource limit.

On your VE container and execute:

# cat /proc/user_beancounters

Look at column failcnt. Any other value than 0 means a reached resource limit.

I can sse that vzqouta failed. Try to turn off Linux quota.

This is just a wild guess.

What template are you using?
Re: Container starts but does not work [message #34876 is a reply to message #34874] Mon, 09 February 2009 22:47 Go to previous messageGo to next message
rjfernandez is currently offline  rjfernandez
Messages: 2
Registered: February 2009
Junior Member
I just looked, they are all zeros
any more ideas?

Thanks,

Rodrigo
Re: Container starts but does not work [message #34877 is a reply to message #34876] Tue, 10 February 2009 07:20 Go to previous message
schjeall is currently offline  schjeall
Messages: 27
Registered: February 2009
Location: Denmark
Junior Member
Could you please tell me what template you are using? Anyway, try using the newly published centos-5 template. See if the problem still exists.

Also, make sure selinux is disabled.

On, your host execute ifconfig. See if any interface has two identical ip-addresses. The same goes for vzlist command.

[Updated on: Tue, 10 February 2009 07:21]

Report message to a moderator

Previous Topic: Broken /etc/interfaces in http://download.openvz.org/template/precreated/debian-4.0-x86.tar.gz
Next Topic: New Server - Kernel Won't Load
Goto Forum:
  


Current Time: Mon Nov 11 12:33:46 GMT 2024

Total time taken to generate the page: 0.03502 seconds