OpenVZ Forum


Home » General » Support » Host: CentOS4, Guest: Debian, apt-get not working, strange problems
Host: CentOS4, Guest: Debian, apt-get not working, strange problems [message #581] Wed, 21 December 2005 18:22 Go to previous message
bjmg is currently offline  bjmg
Messages: 32
Registered: December 2005
Location: Puettlingen, Germany
Member

Hello,

i have strange problems with my test server (CentOS4) and a debian sarge guest.
The sarge guest was created for linux vserver and worked there without problems. To test the migration from linux vserver to OpenVZ I try to run that guest on an OpenVZ host.

I just tar-ed everything on the vserver host and untar-ed it again in /vz/private/101
so far so good.
Then I executed the following steps:
vzctl set 101 --applyconfig vps.basic --save
echo "OSTEMPLATE=debian-3.1" >> /etc/vz/101.conf
vzctl set 101 --ipadd 10.10.201.101 --save
vzctl start 101


The guest runs now.
So I enter the guest via
vzctl enter 101


Now there are a few problems:
proc is not mounted so I can't do df, ps, ifconfig, ...
The network does not work too.
I did the following:
mount -t proc proc /proc
/etc/init.d/networking start

Now the network works fine and proc is mounted.

The next step I tried to do was to update.
apt-get update


Ok, it downloads all package lists. Fine!

Now:
apt-get upgrade

And I got the following error:
Quote:


E: you don't have enough free space in /var/cache/apt/archives.



Strange, df -h says that I have about 5.3G of free space!
And even more strange: if I delete the package lists. He is able to download them again (no free space error).

FYI:
The the / and the /vz are one the same partition (ext3, defaults).

Another problem I have is that vzctl start 101 does NOT start the network and some other services and does not mount the proc, why?

I hope someone of you can help me.

Thank you

Bernhard, from Germany
 
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 14:23:06 GMT 2024

Total time taken to generate the page: 0.02336 seconds