Home » General » Support » Install problems on dual opteron (64 bits), CentOS 4.4
Re: Install problems on dual opteron (64 bits), CentOS 4.4 [message #7185 is a reply to message #7173] |
Fri, 06 October 2006 09:44 |
fgomes
Messages: 29 Registered: August 2006
|
Junior Member |
|
|
Thanks for your fast reply!
Before I read your message, I tried the quick installation guide methode, using yum, so I configured openvz repository and installed all the tools without any error... but it seems to me that the tools installed are the 32 versions, not the 64 bit version...
After that, I downloaded a precreated cache for the centos 64 bit minimal, created a VE and it worked well. Then I found that vzyum doesn't work - probably because of not having metadata. The CentOS minimal hasn't yum installed, so I suppose the only way to install things in this VE is to use RPM directly on the VE. Where can I get metadata for a 64 bit OS template?
# vzyum 101 install xpto
ERROR: No such OS template: install
Then, I installed metadata for centos i386, but vzpkgcache fails:
Creating cache for centos-4-i386-default OS template
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/share/vzpkgtools/vzrpm43/lib/python2.3/site-packages/rp mmodule.so: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.3.4 (#1, Mar 13 2006, 07:49:07)
[GCC 3.4.4 20050721 (Red Hat 3.4.4-2)]
If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.
ERROR: yum failed with 1 exit code
Creating cache for centos-4-i386-minimal OS template
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/share/vzpkgtools/vzrpm43/lib/python2.3/site-packages/rp mmodule.so: cannot open shared object file: No such file or directory
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.3.4 (#1, Mar 13 2006, 07:49:07)
[GCC 3.4.4 20050721 (Red Hat 3.4.4-2)]
If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.
ERROR: yum failed with 1 exit code
Then, it was to late and went to bed
This morning I read your message, and tried to comment the PYTHONPATH line (yesterday I have already installed vzpkg with --nodeps), but the cache generaion also fails (I don't know if it is because now I have 32 and 64 bit tools thow). I had to comment the three lines:
# PYTHONPATH=`get_rpm_pythonhome $TDIR`
# export PYTHONPATH
# log4 PYTHONPATH=$PYTHONPATH
and this was the result:
# vzpkgcache
Creating cache for centos-4-i386-default OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
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
Creating cache for centos-4-i386-minimal OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
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
Any idea of what can I do about this?
Thanks!
Fernando
|
|
|
|
|
Install problems on dual opteron (64 bits), CentOS 4.4
By: fgomes on Thu, 05 October 2006 20:31
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4
By: HaroldB on Fri, 06 October 2006 04:21
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4
By: fgomes on Fri, 06 October 2006 09:44
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4
By: olivier on Thu, 12 October 2006 09:47
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4
By: kir on Fri, 13 October 2006 07:14
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4
By: rudal on Fri, 13 October 2006 09:05
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4
By: kir on Fri, 13 October 2006 11:19
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4
By: olivier on Fri, 13 October 2006 11:30
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4
By: fgomes on Fri, 13 October 2006 13:15
|
Goto Forum:
Current Time: Tue Oct 01 02:45:32 GMT 2024
Total time taken to generate the page: 0.03196 seconds
|