Error:: exim rpmdb: PANIC: fatal region error

Sometimes we receive the following error in WHM>> Service Status option for exim service.

Main >> Server Status >> Service Status
Error:: exim rpmdb: PANIC: fatal region error

For the solution we may rebuild the rpm database (rpmdb) by using the following commands :

rpm --rebuilddb 
rpm --initdb

If this does not help at all and if rpm won’t restore we can try the following:
We need to Edit the file /etc/profile  search the export line and add thefollowing line after that.
export LD_ASSUME_KERNEL=2.2.5
After that Save the file.Login to the server again and execute the command

rpm --rebuilddb

This should fix the rmpdb error.