 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

6th February 2007, 01:40 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Chester, UK
Age: 26
Posts: 212

|
|
|
Problem w. smart
Smart was working fine until a few days ago, now when i try and install a package i get the following error
Code:
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery
any suggestions anyone?
__________________
A problem well stated is a problem half solved.
Registered Linux User: #442033
|

6th February 2007, 02:01 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
|
Hello:
Do you have any other package managers running ?
from a terminal as root type
chkconfig --list | grep 5:on
and post the output
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

6th February 2007, 05:44 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Chester, UK
Age: 26
Posts: 212

|
|
When I type in the command the following is my output
Code:
chkconfig --list | grep 5:on
acpid 0:off 1:off 2:off 3:on 4:on 5:on 6:off
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
kudzu 0:off 1:off 2:off 3:on 4:on 5:on 6:off
mcstrans 0:off 1:off 2:on 3:on 4:on 5:on 6:off
messagebus 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nvidia-glx 0:off 1:off 2:on 3:on 4:on 5:on 6:off
readahead_early 0:off 1:off 2:on 3:on 4:on 5:on 6:off
readahead_later 0:off 1:off 2:off 3:on 4:off 5:on 6:off
restorecond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
smartd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wine 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
yum-updatesd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
__________________
A problem well stated is a problem half solved.
Registered Linux User: #442033
|

6th February 2007, 05:51 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
Hello:
You need to stop and then disable yum-updatesd
Open a terminal and log in as root using
su -
yourpassword
then type
chkconfig yum-updatesd off
then type
chkconfig --list | grep 5:on
to confirm that it is turned off
Then type
yum clean all
yum clean metadata
yum clean dbcache
and then try your smart package manager again
If you still have the same error as before then from a terminal logged in as root
Follow the instructions posted here under Post No.2
http://forum.fedoraforum.org/forum/s...d.php?t=146780
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

6th February 2007, 05:59 PM
|
|
"Sean The Terrible" -- The forum(er) Vista® rep
|
|
Join Date: Nov 2005
Posts: 8,823

|
|
Quote:
|
Originally Posted by Seve
Hello:
You need to stop and then disable yum-updatesd
Open a terminal and log in as root using
su -
yourpassword
then type
chkconfig yum-updatesd off
then type
chkconfig --list | grep 5:on
to confirm that it is turned off
Then type
yum clean all
yum clean metadata
yum clean dbcache
and then try your smart package manager again
If you still have the same error as before then from a terminal logged in as root
Follow the instructions posted here under Post No.2
http://forum.fedoraforum.org/forum/s...d.php?t=146780
Seve
|
Damn, you are good! And I learned a new command!
|

6th February 2007, 06:37 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
|
Hello JN4:
You are making me nervous ..... what did I do now ?
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

6th February 2007, 06:46 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Chester, UK
Age: 26
Posts: 212

|
|
Well i followed what you wrote, this is what the output is, i don't think it's worked for some reason, here is the session from the konsole
Code:
[root@localhost ~]# chkconfig yum-updatesd off
[root@localhost ~]# chkconfig --list | grep 5:on
acpid 0:off 1:off 2:off 3:on 4:on 5:on 6:off
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
kudzu 0:off 1:off 2:off 3:on 4:on 5:on 6:off
mcstrans 0:off 1:off 2:on 3:on 4:on 5:on 6:off
messagebus 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nvidia-glx 0:off 1:off 2:on 3:on 4:on 5:on 6:off
readahead_early 0:off 1:off 2:on 3:on 4:on 5:on 6:off
readahead_later 0:off 1:off 2:off 3:on 4:off 5:on 6:off
restorecond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
smartd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wine 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@localhost ~]# yum clean all
Loading "installonlyn" plugin
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30977)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 82, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 205, in getOptionsConfig
errorlevel=opts.errorlevel)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 125, in doConfigSetup
self.conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 598, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 661, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
[root@localhost ~]# yum clean metadata
Loading "installonlyn" plugin
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30977)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 82, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 205, in getOptionsConfig
errorlevel=opts.errorlevel)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 125, in doConfigSetup
self.conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 598, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 661, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
[root@localhost ~]# yum clean dbcache
Loading "installonlyn" plugin
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30977)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 82, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 205, in getOptionsConfig
errorlevel=opts.errorlevel)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 125, in doConfigSetup
self.conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 598, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 661, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
[root@localhost ~]#
__________________
A problem well stated is a problem half solved.
Registered Linux User: #442033
|

6th February 2007, 06:52 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Chester, UK
Age: 26
Posts: 212

|
|
|
btw this place sure is plenty helpful, seve, you've helped me greatly in the past
__________________
A problem well stated is a problem half solved.
Registered Linux User: #442033
|

6th February 2007, 07:05 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
Hello:
Okay, no problem ....... at least not yet
Open a terminal and log in as root using
su -
yourpassword
then type
rm /var/lib/rpm/__db*
when it's finished exit and reboot
When FC boots up ... open a Terminal and log in as root using
su -
yourpassword
then type
rpm --rebuilddb
when that is finished type
yum check-update
and you should be good to go
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

6th February 2007, 07:20 PM
|
|
"Sean The Terrible" -- The forum(er) Vista® rep
|
|
Join Date: Nov 2005
Posts: 8,823

|
|
Quote:
|
Originally Posted by Seve
Hello JN4:
You are making me nervous ..... what did I do now ?
Seve
|
No need to be nervous, I am complimenting you on your good work. As usual you have a quick, direct approach and a no nonsense solution while I would have them scrambling all over the place opening GUI tools and second guessing myself. I was doing good for a while there but lately have been giving bad advice. Maybe I'm getting too cocky? I am sitting back and observing more and learning a great deal. Thanks.
|

6th February 2007, 07:25 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
Hello JN4:
Thanks for calming my feeble nerves
You always give great advice .... what are you worried about ?
Sheesh ... you help tons
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

6th February 2007, 09:15 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Location: Chester, UK
Age: 26
Posts: 212

|
|
sweet thx for the commands, worked a treat  , now to fix my aiglx, would a simple uninstall reinstall solve problems or would it make more problems. Thx a heap btw
__________________
A problem well stated is a problem half solved.
Registered Linux User: #442033
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 10:13 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|