Help Running IBM RaidManager on openSUSE 13.2 please

Hi,
I have a problem with an IBM ServeRAID 8k controller. The utilities for manageing this from IBM are available as an rpm on CD for use with Suse operating systems. I have just installed on my 13.2 x86-64 KDE system. The installation went without an error message but when I try and run nothing visible happens. RaidMan is a java program and it is certain that the issue is my not having the correct java environment and libraries. Unfortunately sorting it out is beyond my pay grade so if anybody can please help, here is the log of my two attempts to start RaidMan.sh.

Thu Feb 12 18:01:19 GMT 2015 Launching Serveraid Manager GUI
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/RaidMan/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
Thu Feb 12 18:05:29 GMT 2015 Launching Serveraid Manager GUI
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/RaidMan/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)

Some suggerstions as to what I should do to get this running would be very much appreciated.
Regards,
Budge

Install libXp6-32bit and re-try.

Hi and thanks for the reply. Sadly no joy. Installed as you suggested but still no start and another set of lines in log as before.
Budge

Same error?

The problem was, in the log you posted above, that it was trying to find the library (which you installed - you may need to restart the Java application / Tomcat for it to work). Perhaps there are other dependencies that need to be installed. Unfortunately the only way is to look at the logs and try to install them all.

Come to think of it, make sure libXp6 is installed too - not just the 32bit version. Although I would imagine that this is installed by default already.

Hi Miuku,
Many thanks. libXp6 was not installed by default but now both are installed but I am still getting the same startup error messages.

Regret your mention of /Tomcat is not understood but it seems the script RaidMan.sh expects jre to be up. How do I check what is running and how do I start it if not please?
Budge

No no you misunderstood me - I have no idea what IBM RaidManager is like so I assumed that it would run on something like Tomcat but then again it might just be a standalone Java application.

Anyway, is there somewhere I can download this application so I can test it in a VM myself and see what libraries it requires? Some IBM site? Without registration I hope.

Hi Miuku,
Finding and downloading anything from IBM is a real chore and could require your registration. I shall check this out and get back to you.

Hi Miuku, if you google “IBM serveRAID RaidManager” you should get the link IBM Support. This should get you
IBM ServeRAID Application CD v9.30-17006 - IBM System x and BladeCenter

from where you may download the CD iso without registering. Sorry but I am having difficulty posting urls but you should find it OK. RaidMan installer is on this disk. Sorry I am so ignorant and hope this helps. If this fails I could try and upload the installed directory from my machine.
Regards
Budge

Luckily you have ol’ Miuku to fix really old stuff for you :slight_smile:

The problem is the IBM package unsets JAVA_HOME and tries to use the ancient JRE that it ships with (assuming that libraries are under it) so we’re going to make some changes!

In /usr/RaidMan there is a file called RaidMan.sh , make a backup of this. Then open it as root with nano and find at the very start of the file:

unset JAVA_HOME CLASSPATH JFLAGS

change that to

#unset JAVA_HOME CLASSPATH JFLAGS

Then find


   "Linux")
           INSTDIR=/usr/RaidMan
           Arch=`uname -m`
           if  "$Arch" = "ia64" ];then
              JAVA_HOME="./IBMJava2-ia64-13"
           else
              JAVA_HOME="."
           fi
           JAVA_BIN=$JAVA_HOME/jre/bin
           JAVA_LIB=$JAVA_HOME/jre/lib

and comment out a few lines:

 
  "Linux")
           INSTDIR=/usr/RaidMan
           Arch=`uname -m`
#           if  "$Arch" = "ia64" ];then
#              JAVA_HOME="./IBMJava2-ia64-13"
#           else
#              JAVA_HOME="."
#           fi
#           JAVA_BIN=$JAVA_HOME/jre/bin
#           JAVA_LIB=$JAVA_HOME/jre/lib

Then save and try to fire up RaidMan.sh and you should be one happy camper:
http://i.imgur.com/mQBoIHu.png

If you can’t still make it work, we’ll take another peek :slight_smile:

Hi Miuku,
First a thousand thanks for your help here. You mention “really old stuff” but at the pace IT technology is moving that is not so long ago! In any event I am well out of my comfort zone so am most grateful for your help.

The Raid Manager program now runs but does not report finding any controller. It is looking in 127.0.0.1 localhost. I assume this is the default and since the controller is in the local system something should be found. When I click on local system I get a login screen however I could not log in using my root password. To run RaidMan.sh in the first place I had to run as root. I shall try and find the logs and report back. Meanwhile if anything obvious that I should do comes to mind please let me know.
Regards,
Budge

Hi.

No worries, unfortunately I won’t be able to help until tomorrow as I’m travelling and only have my phone with me.

I am grateful for any time whenever. Meanwhile I have played a bit.

First the login. In the login help they refer to my network login. Because I am only just rebuilding system (which went down I believe now due to a Raid card fault and which is still possibly present, new card on the way,) I do not have any correct network DNS or anything else save root password set up. Even so the login help states that passwords are held in /etc/pam.d/storman. Storman at present doesn’t exist which is logical but perhaps it would if I were able to login!

Of more concern is that even as guest I cannot see any controller, which suggests to me either that there really is a fault or more likely the Raid Manager is looking in the wrong place. I shall keep playing.

Meanwhile I hope you have a safe and pleasant journey and a good weekend.
Regards,
Budge

Let’s try something radical that you should not use if this server is somehow accessible by possibly untrusted 3rd parties:

Go to /usr/RaidMan/
run:
./tweak.pl auth false
or
/usr/RaidMan/tweak.pl auth false

Then try to connect with the RaidMan GUI and use root / password. In fact it should let you in with any account since authentication is disabled.

Hi Miuku,
Tried ./tweak.pl auth false. This stopped and restarted program but I was still asked for password. I believe the problem is deeper that this however as the program does not detect the controller or arrays. From what I have read these should show even if I do not have authority to edit.

I wonder if there are differences between openSUSE 13.2 and the IBM supported SLES 11 which might have the Raid Manager looking in the wrong place for the information? As it is now I am sure the password problem can be overcome but not if the controller is not seen at all. Any views?
Regards and thanks again for your help here.
Budge

I’m running out of suggestions since I don’t have an IBM here to test on - you could just install SLES11 on it and see if it works there.

I was able to login to the system by disabling auth in a VM but naturally it can’t see any controllers since I have none.

Hi Miuku,
OK but I shall wait until I have a new RAID controller which I have secured on eBay as existing one is suspect and I am not VM articulate. Where can I get SLES? I thought it was subscription only!

Regarding the login, did you not get a login screen at all? It still appeared in my system even though I had used your tip. (I have since restored auth to true meanwhile, just in case. Now I know what to do I can always reverse when needed.)

Thanks again for all you help. Will update you when I have tried new controller.
Budge.

You can download ant try it for 30 days I think. The subscription gets you the updates and of course professional help

Yes, I just logged in with my normal root/password though I would suspect that any user/name would do.