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 […]

Graylog2 Installation & Configuration for Log Management on CentOS /RHEL 6.x with MongoDB

Graylog2 is for data analysis Field-tested open source data analytics system used and trusted all around the world. Search your logs, create charts, send reports and be alerted when something happens. All running on the existing JVM in your datacenter. Features

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 […]

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

          Disclaimer: 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: