[WBEL-users] What's the wrong?

Pablo Silva psilvao at yahoo.com
Thu May 26 08:06:03 CDT 2005


Dear People:

    Thanks for your replys, the solution was remove 
all the files such __db* files and run rpm
--rebuilddb. 

    -Pablo

--- David Eckelkamp <deckelkamp at gmail.com> wrote:

> 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
> >
> > _______________________________________________
> Whitebox-users mailing list
> Whitebox-users at beau.org
> http://beau.org/mailman/listinfo/whitebox-users
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search. 
http://info.mail.yahoo.com/mail_250


More information about the Whitebox-users mailing list