Guest User!

You are not Sophos Staff.

[9.265][INFO] RPM database corrupted

Got this one now, during the night:

RPM Database is corrupted, attempting to rebuild it.
-- 
System Uptime      : 0 days 6 hours 31 minutes
System Load        : 0.28
System Version     : Sophos UTM 9.265-8

Please refer to the manual for detailed instructions.

Sent from my iPhone using Astaro.org
Parents
  • I'm on 9.301-2, this is what I have found out so far...

    I only received 1 email on Nov 19 warning of corrupt db. My 2 "errors" were the same as other posters above:

    libgpg-error0-1.10-0.7.29.807.g06392a7

    perl-Error-0.17015-1.230.g1d15715.rb2

    I must say the gentleman handling this case was excellent. He had me execute a rebuild in shell (note - it warns "all reporting data will be lost!" but I did not seem to lose any, YMMV):

    _________________________________________________
    Charon:/etc/init.d # /etc/init.d/postgresql92 rebuild
    Rebuilding PostgreSQL database, all reporting data will be lost!
    Enter "yes" to continue...
    yes
    :: Stopping PostgreSQL                                                                                       done
    :: Initializing the PostgreSQL database                                                                      done
    :: Starting PostgreSQL                                                                                       done
    :: Restarting SMTP Proxy
    :: Stopping SMTP Proxy
    [ ok ]
    :: Starting SMTP Proxy
    [ ok ]
    [ ok ]
    _________________________________________________

    Ran another rpm -qa and still listed same two packages with error in their names. Turns out, these are supposed to have the word error in their names, they are packages that deal with errors! This was determined by another command he had me execute:

    _________________________________________________
    Charon:/home/login # rpm -qi libgpg-error0
    Name        : libgpg-error0                Relocations: (not relocatable)
    Version     : 1.10                              Vendor: Astaro GmbH & Co. KG
    Release     : 0.7.29.807.g06392a7           Build Date: Thu 23 Feb 2012 08:29:54 AM CST
    Install Date: Fri 03 Oct 2014 01:08:24 AM CDT      Build Host: axgbuild
    Group       : Development/Libraries/C and C++   Source RPM: libgpg-error-1.10-0.7.29.807.g06392a7.src.rpm
    Size        : 164183                           License: GPL v2 or later; LGPL v2.1 or later
    Signature   : (none)
    Packager    : Astaro GmbH & Co. KG
    URL         : http://www.gnupg.org/
    Summary     : Library That Defines Common Error Values for All GnuPG Components
    Description :
    This is a library that defines common error values for all GnuPG
    components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
    pinentry, SmartCard Daemon, and possibly more in the future.



    Authors:
    --------
        Marcus Brinkmann 
    Distribution: Astaro Security Gateway
    Charon:/home/login # /usr/local/bin/rpmdb_check
    Charon:/home/login #
    _________________________________________________

    &

    _________________________________________________
    Charon:/home/login # rpm -qi perl-Error
    Name        : perl-Error                   Relocations: (not relocatable)
    Version     : 0.17015                           Vendor: Astaro AG
    Release     : 1.230.g1d15715.rb2            Build Date: Tue 10 Nov 2009 05:22:33 AM CST
    Install Date: Fri 03 Oct 2014 01:08:45 AM CDT      Build Host: sles11
    Group       : Development/Libraries         Source RPM: perl-Error-0.17015-1.230.g1d15715.rb2.src.rpm
    Size        : 35763                            License: GPL+ or Artistic
    Signature   : (none)
    Packager    : Astaro AG
    URL         : Shlomi Fish / Error - search.cpan.org
    Summary     : Error/exception handling in an OO-ish way
    Description :
    The Error package provides two interfaces. Firstly Error provides a
    procedural interface to exception handling. Secondly Error is a base class
    for errors/exceptions that can either be thrown, for subsequent catch, or
    can simply be recorded.
    Distribution: Astaro Security Gateway
    _________________________________________________

    He gave me command to check the database and when executed, there was no response, he indicated this was the desired outcome, no response means nothing bad was found:
    _________________________________________________
    Charon:/home/login # /usr/local/bin/rpmdb_check
    Charon:/home/login #
    _________________________________________________

    I believe I misunderstood Tinkerbell's post to mean we would get a followup email, I believe now what was being said is that the script generates the initial alert but does not follow up with an outcome. It would certainly be nice to add a followup status email into the script!

    Oddly, shortly (2 hours) after executing the commands above I have now received another of the "[Charon][WARN-161] RPM Database is corrupted" emails. This is only the 2nd one of these I have received and the 1st was many weeks ago. This makes me wonder if somehow these commands prompted this, it may be entirely coincidence, but given the timing it does seem strange. 

    Hope this helps!

     “Stay paranoid, my friends.”

Reply
  • I'm on 9.301-2, this is what I have found out so far...

    I only received 1 email on Nov 19 warning of corrupt db. My 2 "errors" were the same as other posters above:

    libgpg-error0-1.10-0.7.29.807.g06392a7

    perl-Error-0.17015-1.230.g1d15715.rb2

    I must say the gentleman handling this case was excellent. He had me execute a rebuild in shell (note - it warns "all reporting data will be lost!" but I did not seem to lose any, YMMV):

    _________________________________________________
    Charon:/etc/init.d # /etc/init.d/postgresql92 rebuild
    Rebuilding PostgreSQL database, all reporting data will be lost!
    Enter "yes" to continue...
    yes
    :: Stopping PostgreSQL                                                                                       done
    :: Initializing the PostgreSQL database                                                                      done
    :: Starting PostgreSQL                                                                                       done
    :: Restarting SMTP Proxy
    :: Stopping SMTP Proxy
    [ ok ]
    :: Starting SMTP Proxy
    [ ok ]
    [ ok ]
    _________________________________________________

    Ran another rpm -qa and still listed same two packages with error in their names. Turns out, these are supposed to have the word error in their names, they are packages that deal with errors! This was determined by another command he had me execute:

    _________________________________________________
    Charon:/home/login # rpm -qi libgpg-error0
    Name        : libgpg-error0                Relocations: (not relocatable)
    Version     : 1.10                              Vendor: Astaro GmbH & Co. KG
    Release     : 0.7.29.807.g06392a7           Build Date: Thu 23 Feb 2012 08:29:54 AM CST
    Install Date: Fri 03 Oct 2014 01:08:24 AM CDT      Build Host: axgbuild
    Group       : Development/Libraries/C and C++   Source RPM: libgpg-error-1.10-0.7.29.807.g06392a7.src.rpm
    Size        : 164183                           License: GPL v2 or later; LGPL v2.1 or later
    Signature   : (none)
    Packager    : Astaro GmbH & Co. KG
    URL         : http://www.gnupg.org/
    Summary     : Library That Defines Common Error Values for All GnuPG Components
    Description :
    This is a library that defines common error values for all GnuPG
    components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
    pinentry, SmartCard Daemon, and possibly more in the future.



    Authors:
    --------
        Marcus Brinkmann 
    Distribution: Astaro Security Gateway
    Charon:/home/login # /usr/local/bin/rpmdb_check
    Charon:/home/login #
    _________________________________________________

    &

    _________________________________________________
    Charon:/home/login # rpm -qi perl-Error
    Name        : perl-Error                   Relocations: (not relocatable)
    Version     : 0.17015                           Vendor: Astaro AG
    Release     : 1.230.g1d15715.rb2            Build Date: Tue 10 Nov 2009 05:22:33 AM CST
    Install Date: Fri 03 Oct 2014 01:08:45 AM CDT      Build Host: sles11
    Group       : Development/Libraries         Source RPM: perl-Error-0.17015-1.230.g1d15715.rb2.src.rpm
    Size        : 35763                            License: GPL+ or Artistic
    Signature   : (none)
    Packager    : Astaro AG
    URL         : Shlomi Fish / Error - search.cpan.org
    Summary     : Error/exception handling in an OO-ish way
    Description :
    The Error package provides two interfaces. Firstly Error provides a
    procedural interface to exception handling. Secondly Error is a base class
    for errors/exceptions that can either be thrown, for subsequent catch, or
    can simply be recorded.
    Distribution: Astaro Security Gateway
    _________________________________________________

    He gave me command to check the database and when executed, there was no response, he indicated this was the desired outcome, no response means nothing bad was found:
    _________________________________________________
    Charon:/home/login # /usr/local/bin/rpmdb_check
    Charon:/home/login #
    _________________________________________________

    I believe I misunderstood Tinkerbell's post to mean we would get a followup email, I believe now what was being said is that the script generates the initial alert but does not follow up with an outcome. It would certainly be nice to add a followup status email into the script!

    Oddly, shortly (2 hours) after executing the commands above I have now received another of the "[Charon][WARN-161] RPM Database is corrupted" emails. This is only the 2nd one of these I have received and the 1st was many weeks ago. This makes me wonder if somehow these commands prompted this, it may be entirely coincidence, but given the timing it does seem strange. 

    Hope this helps!

     “Stay paranoid, my friends.”

Children
  • Oddly, shortly (2 hours) after executing the commands above I have now received another of the "[Charon][WARN-161] RPM Database is corrupted" emails. This is only the 2nd one of these I have received and the 1st was many weeks ago. This makes me wonder if somehow these commands prompted this, it may be entirely coincidence, but given the timing it does seem strange. 


    I would bring this up with support.

    Thanks for the other details you posted as well.

    Barry
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?