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
CRITICAL:yum.main:

Error: rpmdb open failed

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

Continue reading “How to recover RPMDB in RHEL / CentOS / Fedora”

Unable to Access WP-Admin because .htaccess not readable by APACHE user in LAMP

Unable to Access WP-Admin because .htaccess not readable by APACHE user in LAMP

.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

If you are unable to open yourwebportal.com/wp-admin portal please make sure you have corrected the permission of your files.

To check the permissions of directory

Continue reading “Unable to Access WP-Admin because .htaccess not readable by APACHE user in LAMP”

WordPress has Launched Important Security release WordPress 3.8.2 for all WordPress based Websites around the Globe

According to WordPress.org this release will fix important issues:

This release also fixes nine bugs and contains three other security hardening changes:

LibreOffice an Open Source Office Productivity suite a very good alternative to Microsoft office Products

LibreOffice an Open Source Office Productivity suite a very good alternative to Microsoft office Products or any other propriety office productivity suites.

LibreOffice is a office suite as famous Open Source Software being used widely for word processing. It  is a fork of OpenOffice.org  & developed by The Document Foundation in 2010. The LibreOffice suite is set of programs to do word processing, spreadsheets, slideshows, diagrams and drawings, maintain databases, and compose math formulas.

It is perfect alternative to any office productivity suite when it comes to word processing. LibreOffice announced new version of LibreOffice 4.2.2. People who uses Linux as operating system enjoys this office productivity suite as pre-installed application when they install various distributions of Linux on their computers.

We can easily install LibreOffice on: Continue reading “LibreOffice an Open Source Office Productivity suite a very good alternative to Microsoft office Products”

RapidSMS – Configure your own SMS Gateway on Linux

RapidSMS is a free and open-source framework for rapidly building mobile services for scale. RapidSMS is built with Python and Django and is designed for building robust, highly customized mobile services with web-based dashboards. RapidSMS provides a flexible platform and modular components for large-scale data collection, managing complex workflows, and automating data analysis.

For more details: https://www.rapidsms.org/

Installation:

First of all install Epel Repo 

http://opensourceeducation.net/configure-extra-package-eenterprise-linux-epel-repository-centos-fedora-rhel-urdu-cbt/

Continue reading “RapidSMS – Configure your own SMS Gateway on Linux”

Facebook is a big Advocate of Open Source Technologies, actively contributing source code to Open Source community

Facebook is a big advocate of Open Source Technologies,  always contribute to source code to Open Source Community from its big projects.

 

Continue reading “Facebook is a big Advocate of Open Source Technologies, actively contributing source code to Open Source community”

Linux Find Out CPU Architecture Information

How do I find out my CPU architecture information under Linux operating systems?

You can use /proc/cpuinfo file or use the lscpu command to get info about CPU architecture. It will display information like:

Number of CPUs
Threads
Cores
Sockets
NUMA nodes

Continue reading “Linux Find Out CPU Architecture Information”