HI, i found the solution. On my box rpm, rpm2cpio etc commands were not found. So i copied rpm2cpio and rpm-4.4.2-43.4.x86_64.rpm" and "rpm-devel-4.4.2-43.4.x86_64.rpm from another system of same version(kernel/OS) and extracted the files from the rpms and copied to respective dirs like /bin, /etc/init.d/, /usr/bin,/usr/include/, /usr/lib,/usr/lib64,/usr/sbin,/usr/share, /usr/src,/var/adm,/var/lib/rpm.
Now rpm command is working fine on my box.
Thanks every one.
-SUN
|