yum quited unexpectedly

Issue:

Run:

Yum install postgreSQL

for SQL-Ledger, but appear:

unable to find pid

then the shell running yum as root quited unexpectedly

Solution:

Run:

rpm –rebuilddb; yum clean all

Tricks:

After the weird behaviour of yum being quited unexpectedly, there are 0 Highmem, 0 free page messages in /var/log/messages, but it finally seems that there is nothing wrong with the memory management. The reason why rpm db corrupt may be due to interruption of a running yum process.

Configuration:

  • HW: Dell SC1425 w/ Xeon 2.8GHz x1, 512MB x2 memory
  • OS: CentOS 3.4