Friday, October 15, 2010

error while loading shared libraries: libc.so.

unknowly libc.so.6 file is removed., recreate the soft link as show below.....

cd /usr/lib or /lib
ln -s libc-2.5.so libc.so.6
ls -ltr libc.so.6*

error while loading shared libraries: libdb.so.3:
ln -s /usr/lib/libdb.so.2 /usr/lib/libdb.so.3


RunInstaller fails with java.lang.UnsatisfiedLinkError 

$cd /usr/lib 
$ln -s libXpm.so.4.11.0 libXp.so.6

ln –s /usr/lib/libgdbm.so.2.0.0 libdb.so.2
ln -s /usr/lib/libdb.so.2 /usr/lib/libdb.so.3 ---Error: libdb.so.3: can't open shared object file
ln -s libc-2.5.so  libc.so.6 --- ls -tlr libc.so.6*


ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
chmod 755 /usr/lib/libgdbm.so.2.0.0
chmod 755 /usr/lib/libdb.so.2

Saturday, October 9, 2010

Enable SSH in Linux env

Linux password-less login
configuring password less between two linux system

workstation#1
ssh-keygen -t rsa
Enter your password
scp ~/.ssh/id_rsa.pub user@remote.server.com:.ssh/authorized_keys
scp user@remote.server.com:.ssh/authorized_keys ~/.ssh

workstation#2
ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
scp ~/.ssh/authorized_keys user@remote.server.com:.ssh/