OpenVZ Forum


Home » General » Support » [Solved]Can't install yum on container.
Re: Can't install yum on container. [message #32302 is a reply to message #32287] Wed, 30 July 2008 13:30 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

you've done a lot of work and got a lot of problems Smile

1.

Quote:


vzyum 733 install yum
ERROR: vzrpm43 path not found: /usr/share/vzpkgtools/vzrpm43
ERROR: RPM python path not found: /lib/python2.4/site-packages


I guess you should install this http://wiki.openvz.org/Download/vzrpm43/4.3.3-7_nonptl.6
utilities.

2.

Quote:


OK so I noticed that rpm was 44 not 43, so I changed the /vz/template/centos/4/i386/config/rpm to 44 from 43. I have no idea who maintains that file since it isn't in any package according to rpm -qf.



root@host:~# rpm -qf /vz/template/centos/4/i386/config/rpm
vztmpl-centos-4-2.0-2


Quote:


I changed the /vz/template/centos/4/i386/config/rpm to 44 from 43


I doubt that it should have been done.

I really hope that the first and the second points help to solve first problem.

3.
Quote:


vzmigrate --online -r no 192.168.2.44 733
OPT:--online
OPT:-r
OPT:192.168.2.44
Starting online migration of VE 733 on 192.168.2.44
Preparing remote node
/usr/sbin/vzmigrate: line 382: [: missing `]'
Initializing remote quota
Syncing private
Live migrating VE
Syncing 2nd level quota
Error: Failed to undump VE
vzquota : (error) Quota is not running for id 733



Could you do that command with -v option but I think that you've pointed out the problem:

Quote:


root@chinaberry:/root# vzctl restore 733 --undump --dumpfile 733
Restoring VE ...
Starting VE ...
Initializing quota ...
VE is mounted
undump...
Error: undump failed: Invalid argument
Restoring failed:
Error: HZ mismatch: 1000 != 100
VE start failed
VE is unmounted



HZ mismatch can cause the problem.
If it is possible you can recompile the kernel.

4. Anyway I came across this thread nad think it could be very useful in this case.
http://forum.openvz.org/index.php?t=msg&th=4134&star t=0&
Unfortunately I don't try that but hope it works.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: OpenVZ & RAID
Next Topic: Redirect traffic from a specific hostame to a specific VE ?
Goto Forum:
  


Current Time: Sat Sep 07 20:17:39 GMT 2024

Total time taken to generate the page: 0.08936 seconds