StephanW.

Q: Raid Admin 1.5.1 not running on Yosemite

Hi everybody,

unfertunately and not unexpected RAID Admin 1.5.1 isn't running on Yosemite Mac OSx 10.10. I am sure this is a Java problem, but as I am forces by 10.10 to install the latest version ( I think it is something like 8.25) I do not have a clue how to work around this...

 

Does anyone have an idea how to solve this problem? I just need to start and shut down the RAID with Raid Admin, no special tasks etc. but it is a bit of a hazel to alway step down to server room to start up and evening again to shut down, especially as it is rack mounted and kind of trick to find the button...

 

Greetings stephan

Posted on Oct 29, 2014 6:41 AM

Close

Q: Raid Admin 1.5.1 not running on Yosemite

  • All replies
  • Helpful answers

  • by VCRDesign,

    VCRDesign VCRDesign Oct 29, 2014 9:58 PM in response to StephanW.
    Level 1 (0 points)
    Oct 29, 2014 9:58 PM in response to StephanW.

    I am having the same problem as you.  I have installed the latest Java Runtime but it will not launch.  With Mavericks you had to "Show Package Contents" for the RAID Admin tool and copy the JAR file (from the Resources > Java folder) to a folder.  You could then launch the JAR with the Java JAR launcher.

     

    This work around no longer works for me under Yosemite.

     

    I hope someone can help to resolve the issue.

     

    Thanks.

  • by VCRDesign,

    VCRDesign VCRDesign Oct 30, 2014 12:39 PM in response to StephanW.
    Level 1 (0 points)
    Oct 30, 2014 12:39 PM in response to StephanW.

    I managed to get the RAID Admin Tools (1.5.1) working under Yosemite.

     

    I did a clean install of Yosemite so there was previous version of Java installed at all.  I then installed the last official version of Java that Apple released.  You can download it here... Java for OS X 2014-001

     

    From the description...

    Java for OS X 2014-001 includes installation improvements, and supersedes all previous versions of Java for OS X. This package installs the same version of Java 6 included in Java for OS X 2013-005.

     

    Once you install the RAID Admin tool you will have to copy the RAID_Admin.jar file from the RAID Admin.app.

    1. Control-click (or right click) on the RAID Admin.app
    2. On the menu, select Show Package Contents
    3. Navigate to Contents > Resources > Java
    4. Copy RAID_Admin.jar to a folder (I saved it to the default XSERVE RAID folder in Applications > Utilities)
    5. Now you can just launch the JAR file.

     

    Note:  I have not tried the latest version of Java from Oracle (version 8u25), but would be interested in knowing if it works before I upgrade it.

  • by Piers Walter,

    Piers Walter Piers Walter Jan 4, 2015 7:50 AM in response to VCRDesign
    Level 1 (0 points)
    Jan 4, 2015 7:50 AM in response to VCRDesign

    FYI: Java 8 will not work because RAID_Admin.jar uses internal Java API (sun.io.MalformedInputException) that was removed from Java 8.

     

    If you install Java 8 on top of Java for OS X 2014-001, your previous JRE 6 in /Library/Internet Plug-Ins/JavaAppletPlugin.plugin will be replaced by JRE 8.

    Since Jar Launcher will then use JRE 8, it will no longer be able to start RAID Admin.

     

    OS X 2014-001's JDK 6 will still be available though, so you can still start RAID_Admin.jar if you make sure to use a tool from JDK 6.

    To do this, I wrote the following small shell script, which I saved as Start RAID Admin.sh next to RAID_Admin.jar.

     

    #!/bin/sh

    #

    # Starts Xserve RAID_Admin.jar using JRE 1.6

    # (RAID_Admin.jar uses internal Java API that was removed in JRE 1.8,

    #  so it can no longer be started by Jar Launcher after JRE 8 has been installed)

    #

     

    LAUNCHED_AS=$0

    MYFOLDER=$( dirname "$LAUNCHED_AS" )

    JAVA_1_6=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/ja va

     

    $JAVA_1_6 -jar "$MYFOLDER/RAID_Admin.jar" &

     

    I then made the file executable (chmod 755 "RAID_Admin.jar).

    Finally, I selected the file in Finder, hit Cmd-I, and set Terminal.app as the application to launch this file with.

     

    I can now double click on Start RAID Admin.sh in order to start RAID Admin

  • by Lopezzi,

    Lopezzi Lopezzi Jan 23, 2015 12:45 PM in response to Piers Walter
    Level 1 (5 points)
    Jan 23, 2015 12:45 PM in response to Piers Walter

    Thanks Piers, it worked perfectly, however there is a small typo I believe in the code you pasted.  On the 10th line, there is a space between the "a" and the "v".  This should be one word "java".  Once I did that, it worked perfectly!

     

    JAVA_1_6=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/ja va

     

  • by CLTappleuserBDL,

    CLTappleuserBDL CLTappleuserBDL Oct 18, 2015 4:59 PM in response to VCRDesign
    Level 1 (4 points)
    Oct 18, 2015 4:59 PM in response to VCRDesign

    This incredibly helpful piece of software kept me in connected with my XRaid. Will this be updated for El Capitan? Please? Thank you.

  • by JLG89,

    JLG89 JLG89 Dec 17, 2015 12:08 PM in response to StephanW.
    Level 1 (53 points)
    Servers Enterprise
    Dec 17, 2015 12:08 PM in response to StephanW.

    To get RAID Admin running on El Capitan...

     

    Download & install Java for OS X 2015-001:

    https://support.apple.com/kb/DL1572?locale=en_US

     

    Right-click on "RAID Admin.app” and select “Show Package Contents”.

    Navigate to Contents/MacOS and delete the “RAID Admin” file that folder.

     

    Open another Finder window.

    Navigate to the "/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/“ folder.

    Copy the “JavaApplicationStub” file from that folder into the "RAID Admin.app/Contents/MacOS/” folder.

     

    In the “RAID Admin.app/Contents/MacOS” folder, rename “JavaApplicationStub" to “RAID Admin”.

     

    Right-click on the “RAID Admin” file and select “Make alias”. Or, if you just want RAID Admin in your Dock, drag it to the Dock.

     

    Move the "RAID Admin alias” file to a convenient location, where you can double-click it when you want to launch RAID Admin.

  • by JGSmeuk,

    JGSmeuk JGSmeuk Dec 27, 2015 9:23 AM in response to JLG89
    Level 1 (0 points)
    Dec 27, 2015 9:23 AM in response to JLG89

    We didn't try that on this occasion, skipped it given headaches that causes with Raritan clients etc.

     

    The below applies for 10.11 (El Capitan). For anything older, we already have closed administrative jumpboxes in place, so kinda already have working solutions - well, until the hardware breaks and we can finally upgrade systems.

     

    We manage client devices in tight admin groups, so programatically pushed out Java 2015-001 (https://support.apple.com/kb/DL1572?locale=en_US) follow by a script to /Users/Shared and adding the item as a Dock entry (either through MCX or playing with the default user template) - given everyone who has admin rights does so from their named accounts.

     

    As you can see, this doesn't handle modified paths very well, but why should it...? Given how old RAID Admin is, and the implications of installing an aged version of Java, you're already accepting various security issues and therefore the boxes should be offline or through filtered/protected net access.

     

    <--

     

    #!/bin/bash

    # /thirtytwo (https://www.slash32.co.uk)

    # Apple Consultancy & Direction

     

    # Don't forget to check out http://www.xsanity.com too!

    # /thirtytwo are proud sponsors :-)

     

    /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java -jar /Applications/Utilities/Xserve\ RAID\ Update/RAID\ Admin.app/Contents/Resources/Java/RAID_Admin.jar &

     

    -->

  • by snottyboy,

    snottyboy snottyboy Jun 10, 2016 8:20 PM in response to JLG89
    Level 1 (4 points)
    Jun 10, 2016 8:20 PM in response to JLG89

    Thanks this worked exactly as describer under El Capitan with a 2009 intel Xserve connecting to an Xserve RAID from scratch.

  • by CLTappleuserBDL,

    CLTappleuserBDL CLTappleuserBDL Aug 16, 2016 9:39 AM in response to JLG89
    Level 1 (4 points)
    Aug 16, 2016 9:39 AM in response to JLG89

    Thank you.