Results 1 to 6 of 6

Thread: firewall failed

Hybrid View

  1. #1

    firewall failed

    Hello,

    I am trying to open firewall from YAST. But it always failed with meassges:

    Code:
    Subprocess failed. Error: RPM failed: error: rpmdb: Thread/process 172944/47416938325184 failed: Thread died in Berkeley DB library
    error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
    error: cannot open Packages index using db4 -  (-30974)
    error: cannot open Packages database in /var/lib/rpm
    warning: /var/cache/zypp/packages/SUSE_Linux_Enterprise_Desktop_12_SP3_x86_64:SLED12-SP3-Updates/noarch/SuSEfirewall2-3.6.312.333-3.13.1.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 39db7c82: NOKEY
    error: rpmdb: Thread/process 172944/47416938325184 failed: Thread died in Berkeley DB library
    error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
    error: cannot open Packages index using db4 -  (-30974)
    error: cannot open Packages database in /var/lib/rpm
    Thank you very much.

  2. #2

    Re: firewall failed

    Hi,

    try the recovery steps mentioned here. Helped me a couple of times.

    Regards

  3. #3

    Re: firewall failed

    thanks a lot for the comments.

    I tried all these steps. But when I click firewall2 in YAST, it asked me to install it. Then it failed with messages:

    Subprocess failed. Error: RPM failed: warning: /var/cache/zypp/packages/SUSE_Linux_Enterprise_Desktop_12_SP3_x86_64:SLED12-SP3-Updates/noarch/SuSEfirewall2-3.6.312.333-3.13.1.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 39db7c82: NOKEY
    error: db4 error(-30986) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30986) getting "/sbin/" records from Dirnames index: DB_PAGE_NOTFOUND: Requested page not found
    error: db4 error(-30986) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
    error: error(-30986) getting "/sbin/" records from Dirnames index: DB_PAGE_NOTFOUND: Requested page not found
    error: SuSEfirewall2-3.6.312.333-3.13.1.noarch: install failed

  4. #4

    Re: firewall failed

    Could you paste the output of

    Code:
    host:~ #  rpm -qa | grep firewall
    SuSEfirewall2-3.6.312.333-4.1.noarch
    yast2-firewall-3.2.0-1.1.noarch
    and then for every entry a

    Code:
    host:~ #  rpm -V SuSEfirewall2-3.6.312.333-4.1.noarch
    
    host:~ #  rpm -V yast2-firewall-3.2.0-1.1.noarch
    Maybe you have to reinstall the firewall. Is it possible that other packages are damaged, too? Have there been any changes to the system leading to a rpm-database corruption?

  5. #5

    Re: firewall failed

    Hello,

    THe output for the following command is empty. Nothing returned.

    Code:
    rpm -qa | grep firewall
    Here is something for the last two commands

    Code:
    >rpm -V SuSEfirewall2-3.6.312.333-4.1.noarch
    package SuSEfirewall2-3.6.312.333-4.1.noarch is not installed
    >rpm -V yast2-firewall-3.2.0-1.1.noarch
    package yast2-firewall-3.2.0-1.1.noarch is not installed
    It is a little bit confused me that I use command line "zypper se firewall", it seems that it had been installed. See the attached screenshot.

    firewall.jpg

  6. #6

    Re: firewall failed

    Since your rpm-db seems to be corrupted, the output of
    Code:
    rpm -qa | grep firewall
    is expected. In the rpm -V command you need to provide *your* package version, I just added mine to make it clearer what it expects. To find your version run zypper info SuSEfirewall2 and use that version number or just take a look into your pasted output . But this won't reveal anything due to the corrupted rpm-db. Are you sure that the
    Code:
    rpm -v --rebuilddb
    command worked? Did you see any warning or error messages? Is the directory "/sbin/" okay? Are all your mountpoints mounted? All searches for your error message lead to a broken rpm-db, so maybe try to run those steps again (as root) and verify that the rebuild was ok. But don't overwrite the first backup of Packages (Packages.orig) and try to recover from that.

Bookmarks

Posting Permissions

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