[WBEL-users] What's the wrong?
Nathan Oyler
noyler at khimetrics.com
Wed May 25 17:37:37 CDT 2005
rm -f /var/lib/rpm/__db*
fixes this problem. It removes stale lock files.
________________________________
From: whitebox-users-bounces at beau.org
[mailto:whitebox-users-bounces at beau.org] On Behalf Of David Eckelkamp
Sent: Tuesday, May 24, 2005 9:03 PM
To: Pablo Silva
Cc: whitebox-users at beau.org
Subject: Re: [WBEL-users] What's the wrong?
I have seen this same problem on a couple of the machines on which I run
WBEL3. The first time was on my personal workstation. In all cases, the
problem "went away" after a reboot. I have not tried to find the root
cause of the problem. While in this state, some RPM commands worked OK,
but I believe most failed. This problem hasn't occurred on all servers
running WBEL3, so I'm not even sure how it gets into the state.
I suspect that if you reboot the machine, the problem will stop
occurring.
Hope this helps.
DavidE
On 5/24/05, Pablo Silva <psilvao at yahoo.com> wrote:
Dear People:
I was updating my Whitebox Linux Server, and
found this error message:
[root at sandman root]# env LANG=C yum update
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 /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 30, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum/yummain.py", line 163, in main
(log, errorlog, filelog, conf, cmds) =
parseCmdArgs(args)
File "/usr/share/yum/yummain.py", line 75, in
parseCmdArgs
conf=yumconf(configfile=yumconffile)
File "/usr/share/yum/config.py", line 155, in
__init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/yum/config.py", line 285, in
_getsysver
idx = ts.dbMatch('provides', self.distroverpkg)
TypeError: rpmdb open failed
I only update severals days ago, all my packages by
using yum update command, and now I see this error
why?
How can I do?
Greetings
-Pablo
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
_______________________________________________
Whitebox-users mailing list
Whitebox-users at beau.org
http://beau.org/mailman/listinfo/whitebox-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://beau.org/pipermail/whitebox-users/attachments/20050525/38d9b604/attachment.htm
More information about the Whitebox-users
mailing list