Find the answer to your Linux question:
Results 1 to 10 of 10
Error Message: 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) ...
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    17

    Unable to install Symantec antivirus in red hat linux Enterprise 5 Server

    Error Message:
    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
    (PLEASE NOTE I AM NEW USER FOR LINUX, IF ANY ONE HELP ME GREATELY APPRETICATED)

    Symantec AntiVirus for Linux 1.0.3 supports the following distributions:

    Red Hat Enterprise Linux 3 initial release, kernel 2.4.21-4.EL
    Red Hat Enterprise Linux 3 with Update 4 and Security Advisory RHSA-2004:698 applied, kernel 2.4.21-27.0.1.EL
    Red Hat Enterprise Linux 3 with Update 5 and Security Advisory RHSA-2005:472 applied, kernel 2.4.21-32.0.1.EL

    Red Hat Enterprise Linux 4 initial release, kernel 2.6.9-5.EL
    Red Hat Enterprise Linux 4 with Update 1, kernel 2.6.9-11.EL
    Red Hat Enterprise Linux 4 with Update 2, kernel 2.6.9-22.EL
    Red Hat Enterprise Linux 4 with Update 3, kernel 2.6.9-34.EL
    Red Hat Enterprise Linux 4 with Update 4, kernel 2.6.9-42.EL
    Red Hat Enterprise Linux 4 with Update 5, kernel 2.6.9-55.EL

    System Configuration:
    Linux redhat.com 2.6.18-8.el5PAE #1 SMP Fri Jan 26 14:28:43 EST 2007 i686 i686 i386 GNU/Linux

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    You have your answer right there in that output, you are not running a supported distribution. There might be a way to install while ignoring prerequisites, but there may also be a newer version that supports RHEL5. Why do you really need antivirus? I have been running linux for years without it, never had a problem, even on networks with windows machines.

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    17
    whenever I tried to install any application getting following error messages
    Component: Software Manager
    Summary: TBf4e8d30c config.py:657:_getsysver:TypeError: rpmdb open failed

    Traceback (most recent call last):
    File "/usr/sbin/system-config-packages", line 453, in ?
    main()
    File "/usr/sbin/system-config-packages", line 446, in main
    pm = PackageManager(options.config)
    File "/usr/sbin/system-config-packages", line 60, in __init__
    GraphicalYumBase.__init__(self, False, config)
    File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 122, in __init__
    plugin_types=(yum.plugins.TYPE_CORE,))
    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 657, in _getsysver
    idx = ts.dbMatch('provides', distroverpkg)
    TypeError: rpmdb open failed

    Local variables in innermost frame:
    installroot: /
    ts: <rpmUtils.transaction.TransactionWrapper instance at 0x9768d6c>
    distroverpkg: redhat-release
    please help me to install officeorg

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Since you have RHEL, you should have paid support. You should be taking advantage of this .

    If you are using RHEL and are not registered AKA not getting support/updates then I suggest you move to CentOS.

  5. #5
    Just Joined!
    Join Date
    Oct 2009
    Posts
    17
    I cant use Centos, Fedora or some other becuase I planning to get certificaiton in RHEL

    So please help me to resolve this problem

  6. #6
    Just Joined!
    Join Date
    Oct 2009
    Posts
    17
    Unable to import red hat key
    [root@redhat ~]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    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
    error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release: import failed.

  7. #7
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Your installation seems to be messed up. I would suggest you verify md5sum of the iso you downloaded and also verify md5sum of the cd you burn.

  8. #8
    Just Joined!
    Join Date
    Oct 2009
    Posts
    17
    thanks for your suggestion, let me try this and
    I will update you the result once I finish this test

  9. #9
    Just Joined!
    Join Date
    Oct 2009
    Posts
    17
    #rm -rf /var/lib/rpm/__db*
    #rpm -vv --rebuilddb

    Yum and all application is working properly,
    now issue has been resolved by the above mentioned commands thank you

  10. #10
    Just Joined!
    Join Date
    Nov 2009
    Posts
    6
    Yep, sounds like something went bad with your RPM Database...

    The answer was in the output all along.

    "Fatal error, run database recovery"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...