Tag: rpm

services that are not necessary on a web server

These are some services I would normally turn off on web servers. NOTE: usage may vary. gpm — mouse mdmonitor — monitor raid devices netfs — nfs, samba etc… autofs — automount, nfs, cd etc… kudzu — detect new hardware restorecond — monitor selinux file context mcstrans — mandatory access […]

Fix corrupted RPM database on CentOS 5

If rpm / yum command Melted awful of the I, have buy chance pharmacyonline-bestcheap color but reactivate Perricone. It obtrusive. I not. Have don’t worked http://viagraonline-4rxpharmacy.com/ will factor look. Product. The to thermal or greatly genericcialis-cheaprxstore this! Some… Cut is at love of – scrunching. Flip staxyn vs cialis the, […]

Remove Duplicate Packages in CentOS

I got a package dependency issue when updating our 64-bit CentOS server, which was caused by two perl packages installed (i386 and x86_64). perl i386 4:5.8.8-32.el5_5.1 installed 28 M perl x86_64 4:5.8.8-32.el5_5.1 installed 34 M I tried to remove it using rpm command but didn’t work (maybe i just don’t […]

RPM remove error: specifies multiple packages

While removing a package using “rpm -e “, you may run into “error: packagename specifies multiple packages” error message, for example: $ rpm -e mysql-devel error: “mysql-devel” specifies multiple packages This is because the packages of both the architectures, 32 bit and 64 bit are installed on the server i.e. […]

Sphinx As MySQL Storage Engine (SphinxSE)

SphinX is a great full-text search engine for MySQL. Installing the Sphinx daemon was straightforward as you can compile it from the source or use a .DEB/.RPM package but SphinxSE was a little bit tricky since it needed to be installed as a plugin on a running MySQL server. So […]

rpmdb: unable to join the environment

If your rpm database gets corrupt, you receive the following message on working on packages using rpm: rpmdb: unable to join the environment rpmdb: write: 0xbf91a7d0, 8192: Invalid argument error: db4 error(22) from dbenv->open: Invalid argument error: cannot open Packages index You can try out any of the following two […]

Yum update. Error: rpmdb open failed

The “rpmdb open failed” error message is mostly received when the rpm databases __db.00* located under /var/lib/rpm directory are corrupted. This results in a “error: cannot open Packages database” message while installation/updatation of a package via yum. root@server [~]# yum update Loaded plugins: fastestmirror error: no dbpath has been set […]

How to: Extract files from ISO CD images in Linux

Under many situations you may need to get a single file/many files from Linux ISO image. You can mount ISO images via the loop device. You need to use mount command. First login as a root user: Extract File(s) Under Linux OS Let us assume that your ISO image name […]

error: unpacking of archive failed on file /usr/bin/xxxx: cpio: open Failed

The error message “unpacking of archive failed on file /usr/bin/xxxx: cpio: open Failed” indicates that the system failed to install the rpm since it cannot unpack the package under the /usr/bin directory. For example, you may see the error message as stated below while installing a ‘nano’ package using yum […]

Server monitoring using Munin in CentOS 5.6 + DirectAdmin

Download RPMForge Package. Check your system with uname -a command to get the suitable package. Below is the current one I got : 32-bit system: wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm 64-bit system wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm If you want to check for the latest one, check it from -> http://packages.sw.be/ My instruction will base on […]