Help!

RPM scriptlets keep failing with exit status of 255 when I..

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management RSS
Next:  Auto-generation of .spec files?  
Author Message
Rivitir
External


Since: Jul 12, 2006
Posts: 1



PostPosted: Wed Jul 12, 2006 5:36 am    Post subject: RPM scriptlets keep failing with exit status of 255 when I -i or -e
Archived from groups: linux>redhat>rpm (more info?)

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.
Back to top
andts



Joined: Sep 19, 2007
Posts: 1



PostPosted: Wed Sep 19, 2007 4:05 pm    Post subject: Re: RPM scriptlets keep failing with exit status of 255 when [Login to view extended thread Info.]

I have the same error on my Linux workstations. Was there ever a resolution to this problem.
Back to top
wa0tko



Joined: Jan 30, 2008
Posts: 1



PostPosted: Wed Jan 30, 2008 6:59 pm    Post subject: Re: RPM scriptlets keep failing with exit status of 255 [Login to view extended thread Info.]

Disabled SELINUX on our Redhat el4 boxes and no more failed scriptlets.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum