centos-5 x86_64 installation failes [message #21825] |
Tue, 16 October 2007 15:45 |
happy_hippo
Messages: 2 Registered: October 2007
|
Junior Member |
|
|
I have installed this:
# rpm -qa | grep vz
vzctl-3.0.18-1
vzrpm44-python-4.4.1-22.5
kernel-smp-2.6.18-ovz028stab045.1
vzquota-3.0.11-1
vzyum-2.4.0-11
vzctl-lib-3.0.18-1
vzpkg-2.7.0-18
vztmpl-fedora-7-1.1-1
vzrpm44-4.4.1-22.5
and failed to run vzpkgcache. It was ELF32 _rpmmodule.so installed in /usr/share/vzpkgtools/vzrpm44/lib/python2.4/site-packages/rp m which I replaced with ELF 64-bit from system.
but still no luck.
# vzpkgcache
Debug: Started /usr/share/vzpkg/cache-os fedora-7-i386-default
Debug: Using temporary VPS 100001
Debug: Mounting VPS private area
Creating cache for fedora-7-i386-default OS template
Debug: Calling script /vz/template/fedora/7/i386/config/install-pre
Debug: Starting VPS
Debug: Importing RPM GPG keys: /vz/template/fedora/7/i386/config/gpgkeys/RPM-GPG-KEY /vz/template/fedora/7/i386/config/gpgkeys/RPM-GPG-KEY-fedora
Debug: Running /usr/share/vzyum/bin/yum --installroot=/vz/root/100001 --vps=100001 -c /vz/template/fedora/7/i386/config/yum.conf -y install ed basesystem coreutils openssh-clients openssh-server bind libstdc++ perl gdbm libgcc readline httpd less lynx wget quota traceroute stunnel slocate rsync unzip vim-minimal man man-pages vixie-cron portmap iptables rpm python crontabs authconfig bzip2 caching-nameserver cpio cups-libs curl cyrus-sasl-plain cyrus-sasl-gssapi diffutils elfutils fetchmail finger finger-server freetype ftp gd gnupg gzip hesiod httpd-manual jwhois libdbi libjpeg libpng libtiff libtool-libs libuser libxslt lsof m4 mailx ncompress netpbm newt ntsysv openldap passwd rootfiles samba-swat samba-client screen setuptool sgml-common sharutils sudo talk talk-server tar tcl tcpdump tcsh telnet time tmpwatch unixODBC utempter xml-common sendmail sendmail-cf sendmail-doc dummy-fedora-core-4 vzdev MAKEDEV
rpmdb: Program version 4.3 doesn't match environment version
error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code
is there any successfull installation with centos5 x86_64 as a host os?
|
|
|
Re: centos-5 x86_64 installation failes [message #21861 is a reply to message #21825] |
Wed, 17 October 2007 07:23 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hello,
i'm sorry for the question but did you try to remove that file as described on wiki?:
http://wiki.openvz.org/Install_openvz_on_a_x86_64_system_cen tos
For CentOS-5, you will need to do something a bit different. "rpmmodule.so" is provided in your sitewide python distribution, so instead of copying it across, you need to:
rm /usr/share/vzpkgtools/vzrpm43/lib/python2.4/site-packages/rpmmodule.so
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|
Re: centos-5 x86_64 installation failes [message #21960 is a reply to message #21916] |
Thu, 18 October 2007 08:48 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hmm... intersting.
i'll give it a try. In worst case just will update the wiki, not to raise senseless hopes.
Scott, thank you!
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|
|