I'm kinda new to rpm and how it works and I need some help. I have been
installing TSM on several Linux RedHat systems, all of which are
installed the same, and all have the same hardware. Every system I have
installed it on works just fine, except for one.
Take a look at the following and you will see what I mean:
As you can see I have the following installed:
[root@hostname tsm]# rpm -qa | grep TIVsm
TIVsm-API-5.3.4-0
TIVsm-BA-5.3.4-0
But it doesn't work:
[root@hostname bin]# dsmc
dsmc: error while loading shared libraries: libgpfs.so: cannot open
shared object file: No su
ch file or directory
Interesting thing is the libgpfs.so file is installed, it's in the
/opt/tivoli/tsm/client/ba/bin folder like it is suppost to be.
So I try and remove TSM:
[root@hostname tsm]# rpm -e TIVsm-BA-5.3.4-0
error: %preun(TIVsm-BA-5.3.4-0.i386) scriptlet failed, exit status 255
[root@hostname bin]# rpm -e TIVsm-API-5.3.4-0
error: Failed dependencies:
libApiDS.so is needed by (installed) TIVsm-BA-5.3.4-0.i386
libct_cu.so is needed by (installed) TIVsm-BA-5.3.4-0.i386
libdmapi.so is needed by (installed) TIVsm-BA-5.3.4-0.i386
libgpfs.so is needed by (installed) TIVsm-BA-5.3.4-0.i386
libha_gs_r.so is needed by (installed) TIVsm-BA-5.3.4-0.i386
libha_gs_r.so(Base) is needed by (installed) TIVsm-BA-5.3.4-0.i386
TIVsm-API = 5.3.4 is needed by (installed) TIVsm-BA-5.3.4-0.i386
Only the following worked to remove the packages:
[root@hostname bin]# rpm -e --noscripts --nodeps TIVsm-BA-5.3.4-0
[root@hostname bin]# rpm -e --noscripts --nodeps TIVsm-API-5.3.4-0
So then I try and reinstall with new rpm's:
[root@hostname tsm]# rpm -i TIVsm-API.i386.rpm
error: %post(TIVsm-API-5.3.4-0.i386) scriptlet failed, exit status 255
It's now installed:
[root@hostname tsm]# rpm -i TIVsm-API.i386.rpm
package TIVsm-API-5.3.4-0 is already installed
So I then tried to install the BA package:
[root@hostname tsm]# rpm -i TIVsm-BA.i386.rpm
error: %post(TIVsm-BA-5.3.4-0.i386) scriptlet failed, exit status 255
Now if I try and reinstall the BA package I get this:
[root@hostname tsm]# rpm -i TIVsm-BA.i386.rpm
package TIVsm-BA-5.3.4-0 is already installed
So it gives me the same error garbage.
So I thought, lemme see if this will work now:
[root@hostname bin]# dsmc
dsmc: error while loading shared libraries: libgpfs.so: cannot open
shared object file: No such file or directory
But yet the libgpfs.so file is installed!!! I'm sitting in the
directory it's located.
[root@hostname bin]# locate libgpfs.so
/opt/tivoli/tsm/client/ba/bin
[root@hostname bin]# pwd
/opt/tivoli/tsm/client/ba/bin
Any idea's on how to fix this issue?
Thanks for any help you can provide.