Archive for the ‘Centos’ Category

I tried to run a corporate client on centos the following error occured

[root@localhost crclient]# ./crclient -u xxx
-bash: ./crclient: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Problem :

This error occured due to excuting a 32 bit application which does not find the library /lib/ld-linux.so.2.

This is because the 64-bit operating system have excluded the 32-bit packages during installaion process, when try to excute the third party binaries you get above error.

Solution :

Install glibc.i686 using yum.

[root@localhost centos6]# yum install glibc.i686
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.aol.in
* extras: centos.aol.in
* updates: centos.aol.in
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:14
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 1.4 MB 00:06
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package glibc.i686 0:2.12-1.132.el6 will be installed
–> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.132.el6.i686
–> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.132.el6.i686
–> Running transaction check
—> Package nss-softokn-freebl.i686 0:3.14.3-9.el6 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size
glibc i686 2.12-1.132.el6 base 4.3 M
Installing for dependencies:
nss-softokn-freebl i686 3.14.3-9.el6 base 147 k

Transaction Summary
Install 2 Package(s)

Total download size: 4.5 M
Installed size: 14 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): glibc-2.12-1.132.el6.i686.rpm | 4.3 MB 00:12
(2/2): nss-softokn-freebl-3.14.3-9.el6.i686.rpm | 147 kB 00:00
Total 361 kB/s | 4.5 MB 00:12
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : nss-softokn-freebl-3.14.3-9.el6.i686 1/2
Installing : glibc-2.12-1.132.el6.i686 2/2
Verifying : glibc-2.12-1.132.el6.i686 1/2
Verifying : nss-softokn-freebl-3.14.3-9.el6.i686 2/2

glibc.i686 0:2.12-1.132.el6

Dependency Installed:
nss-softokn-freebl.i686 0:3.14.3-9.el6


Thus the problem solved after this installation and able to work on my corporate client without any issue.

Read Full Post »

1. Download the pam_auth source from http://svn.php.net/viewvc/pecl/pam/trunk/ (or for convenience a zipped latest files, available click here)

2. Change into the directory you’ve downloaded/unzipped/etc the files into, and run the following commands:

make install

3. Add extension=pam.so to your php.ini

4. Restart Apache; use phpinfo() to ensure the PAM module is running.

verify via phpinfo() .


Above information taken from serverfault.com

Read Full Post »

Today I tried to install fonts for GNome desktop and unable to install due yum lock in my server that is load with centos

Error :

[root@localhost ~]# yum install xorg-x11-font*
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 2600.
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 21 M RSS (1.2 GB VSZ)
Started: Mon Oct 14 12:19:29 2013 – 08:47 ago
State : Sleeping, pid: 2600

First i attempt to kill the process

# kill -9 2600

the process could not be stopped

Second i attempt to kill all yum process

# killall -9 yum

still the process could not be stopped

then i shutdown my server and switched on again and still the same result.

finally i remove the yum.pid 2600

after this yum started working fine.

Final solution if you fail to stop the process :

#rm -f /var/run/yum.pid 2600


then update your yum

# yum -y update


Make sure that yum-updatesd is started :

#/etc/init.d/yum-updatesd status

# /etc/init.d/yum-updatesd start

Read Full Post »