OpenVZ Forum


Home » General » Support » Host: CentOS4, Guest: Debian, apt-get not working, strange problems
Re: Host: CentOS4, Guest: Debian, apt-get not working, strange problems [message #589 is a reply to message #583] Thu, 22 December 2005 09:56 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Absent /proc and no networking are clear signs of VServer - in OpenVZ it is VPS who should mount its /proc itself, and in VServer there is no normal networking, so it is not started. Use update-rc.d to add networking into boot process.

First of all, check /proc/user_beancounters inside your VPS -- if you see ones that were failing (last column - failcnt - is greater than zero), you should increase them accordingly (using vzctl set).

You should also usually check not just free blocks (df) but also free inodes (df -i) -- sometimes it happens that there are no more free inodes.

It is also recommended to have a separate /vz partition, for several reasons.

If nothing else works, try debugging apt-get using strace - so you could see the actual syscall and an error.

Also, you can try creating a Debian template from scratch, as described here.

Any problems - please ask.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hybodus OpenVZ Template :)
Next Topic: Existing Templates
Goto Forum:
  


Current Time: Sun Jul 21 18:14:38 GMT 2024

Total time taken to generate the page: 0.02359 seconds