Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th February 2007, 01:40 PM
d347hm4n Offline
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
Reply With Quote
  #2  
Old 6th February 2007, 02:01 PM
Seve's Avatar
Seve Offline
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 ... :)
Reply With Quote
  #3  
Old 6th February 2007, 05:44 PM
d347hm4n Offline
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
Reply With Quote
  #4  
Old 6th February 2007, 05:51 PM
Seve's Avatar
Seve Offline
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 ... :)
Reply With Quote
  #5  
Old 6th February 2007, 05:59 PM
JN4OldSchool Offline
"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!
Reply With Quote
  #6  
Old 6th February 2007, 06:37 PM
Seve's Avatar
Seve Offline
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 ... :)
Reply With Quote
  #7  
Old 6th February 2007, 06:46 PM
d347hm4n Offline
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
Reply With Quote
  #8  
Old 6th February 2007, 06:52 PM
d347hm4n Offline
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
Reply With Quote
  #9  
Old 6th February 2007, 07:05 PM
Seve's Avatar
Seve Offline
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 ... :)
Reply With Quote
  #10  
Old 6th February 2007, 07:20 PM
JN4OldSchool Offline
"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.
Reply With Quote
  #11  
Old 6th February 2007, 07:25 PM
Seve's Avatar
Seve Offline
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 ... :)
Reply With Quote
  #12  
Old 6th February 2007, 09:15 PM
d347hm4n Offline
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
Reply With Quote
Reply

Tags
problem, smart

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet another problem w. SMART d347hm4n Using Fedora 3 4th March 2007 06:38 PM
Problem w. smart and yum d347hm4n Using Fedora 7 16th February 2007 09:08 AM
YUM/Smart problem. Maxorata Using Fedora 0 10th December 2006 10:07 PM
Smart Package Manager Problem jashar Using Fedora 3 5th May 2005 03:44 AM


Current GMT-time: 10:13 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat