Issue:
After multiple installations of PowerChute Business Edition on the same Linux server, a rpmdb PANIC can occur, resulting in the following error message, “rpmdb: PANIC: fatal region error detected; run recovery”. This error message is due to the rpm database becoming corrupted, and requiring a rebuild.
Product:
PowerChute Business Edition v9.5
Environment:
Linux operating systems
Solution:
Follow the steps below to rebuild the rpm database and successfully install PowerChute:
- If a yum repository has been configured on the Linux server, clean the cache using the following command:
yum clean-all
- Remove the rpm database packages and rebuild the database:
rm -f/var/lib/rpm/_db*
rpm --rebuilddb
- Install PowerChute Business Edition using the rpm install commands:
- For v9.5
rpm -ivh pbeagent-9.5.0-301.XX.rpm
NOTE: The above command will differ for 32-bit and 64-but Linux operating systems.
32-bit Linux: rpm pbeagent-9.5.0-301.i386.rpm
64-bit Linux: rpm pbeagent-9.5.0-301.x86_64.rpm
- For v10
rpm -ivh pbeagent-10.0.0-301-XX.x86_64.rpm
NOTE: The above command will differ based on your locale.English: rpm -ivh pbeagent-10.0.0-301-EN.x86_64.rpm
Chinese: rpm -ivh pbeagent-10.0.0-301-CN.x86_64.rpm
- PowerChute Business Edition successfully installs without rpm database errors.