Category Archives: CentOS

CentOS is Linux based Operating System

How to recover RPMDB in RHEL / CentOS / Fedora

You can see below is the error while updating RHEL/CentOS/Fedora using yum update

[root@babar rpm]# yum update

rpmdb: Thread/process 8367/457660786 failed: Thread died in Berkeley DB library
error: db4 error(-41638) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 – (-30575)
error: cannot open Packages database in /var/lib/rpm

Error: rpmdb open failed

New Please check RPMDB file and rebuild if corrupted using below commands

Continue reading

Published by:

Nagios Installation on Production server via Source code compilation

We have CentOS Linux Operating System as a Server OS

[root@nagiosprod nagios]# yum install httpd php gcc glibc glibc-common gd gd-devel
[root@nagiosprod nagios]# yum install httpd php gcc glibc glibc-common gd gd-devel openssl-devel wget perl make
[root@nagiosprod nagios]# /usr/sbin/groupadd -g 310 nagios
[root@nagiosprod nagios]# /usr/sbin/useradd -g 310 -u 310 -c "Nagios" -d /home/nagios nagios
[root@nagiosprod nagios]# passwd -x nagios
[root@nagiosprod nagios]# wget
 Continue reading 
Published by:

Highly Available Linux Cluster for (LAMP) Apache, MySQL, PHP using DRBD and HeartBeat on CentOS / RedHat / Fedora

centos    mysql      images

The following steps are performed on Virtual machines and tested successfully.
It is advised to test first on raw / virtual machines and then in production environment.

We will setup for Apache Webserver and MySQL on High Availability Cluster (2 Nodes).

Test Scenario: Continue reading

Published by: