Translated message

A translation of this page exists in English.

Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Red Hat Enterprise Linux 6 で RPM のインストールに失敗し、db3 error(12) from dbcursor->c_put: Cannot allocate memory エラーが発生する

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 6

Issue

  • rpm インストール時にコマンドが失敗し、以下のエラーが発生します。
error: db3 error(12) from dbcursor->c_put:Cannot allocate memory
  • 問題が発生したあと rpm コマンドが失敗し、コアダンプが取得され、rpm データベースが破損する場合があります。

Resolution

  • この問題は db4-4.7.25-20.el6_7 で修正され、RHEL 6.8 でに同梱されました。
  • grub2 パッケージをアップデートするとこの問題が修正されます。

Root Cause

Diagnostic Steps

/var/lib/rpm/Packages に以下のエラーが含まれます。

`'rpmdb_verify:/var/lib/rpm/Packages:DB_VERIFY_BAD:Database verification failed'` upon rpmdb_verify
  • Component
  • db4

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments