This discussion is archived
7 Replies Latest reply: Jul 19, 2011 12:36 PM by Nik RSS

Problem clearing logs on 6140

876473 Newbie
Currently Being Moderated
When I try to use */opt/SUNWsefms/bin/service* to clear the logs on my 6140, in preparation for the upgrade from firmware revision 6.x to 7.x, I get this error:

Executing the reset command on <my 6140's name>
Completion Status: ERROR: java.lang.NullPointerException

Anyone have any experience with this? Java version issue?

Thanks.
  • 1. Re: Problem clearing logs on 6140
    Nik Expert
    Currently Being Moderated
    Hi.
    Please show result:

    env | grep -i java
    /opt/SUNWsefms/bin/service
    /opt/SUNWsefms/bin/service -d <array_name> -c list


    Regards.
  • 2. Re: Problem clearing logs on 6140
    876473 Newbie
    Currently Being Moderated
    Huh. I get NOTHING from env concerning java...here it is along with the rest:

    # env | grep -i java
    #
    # /opt/SUNWsefms/bin/service
    ERROR:Unauthorized client connection.
    # /opt/SUNWsefms/bin/service -d abe6140 -c list
    Executing the list command on abe6140
    Available commands:

    service -d <deviceid> -c fail -t <a|b|tXctrlY|tXdriveY>
    service -d <deviceid> -c revive -t <a|b|tXctrlY|tXdriveY>
    service -d <deviceid> -c redistribute -q volumes
    service -d <deviceid> -c locate -t <tXdriveY|tX|array|off>
    service -d <deviceid> -c set -q array <name=newname>
    service -d <deviceid> -c set -q redundancy -t <simplex|duplex>
    service -d <deviceid> -c set -q nvsram <region=0xXX> <offset=0xXX> <value=0xXX> [host=0xXX]
    service -d <deviceid> -c read -q nvsram <region=0xXX> [host=0xXX]
    service -d <deviceid> -c reset -t <a|b|tXctrlY|tXbatY|mel|rls|ddc>
    service -d <deviceid> -c reset -q driveChannel -t <channel>
    Completion Status: Success
    #

    Thanks for looking into this, Nik.
  • 3. Re: Problem clearing logs on 6140
    876473 Newbie
    Currently Being Moderated
    This is what I get out of "java -version" if that is what you are angling for:

    # java -version
    java version "1.5.0_28"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_28-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_28-b04, mixed mode)
  • 4. Re: Problem clearing logs on 6140
    Nik Expert
    Currently Being Moderated
    Hi.
    What CAM version you have ?

    It's look like very old version. You must upgrade CAM and install latest version of 6.x firmware before upgrade to 7.x firmware.

    So you should do step:
    1. Install latest CAM
    2. Install baseline 6.x on array
    3. Using Upgrade tool migrate from 6.x to 7.x
    4. Install baseline 7.x on array


    Regards.
  • 5. Re: Problem clearing logs on 6140
    876473 Newbie
    Currently Being Moderated
    Yep, thats it.

    I have CAM 5.1 on that machine, but have been using much more current versions on my desktop workstation to do the day to day management.

    I'll upgrade on the actual host with the array attached to it, and try to clear the logs.

    Thanks!
  • 6. Re: Problem clearing logs on 6140
    876473 Newbie
    Currently Being Moderated
    Upgraded to CAM 6.8, and it didn't help. Still getting the Nullpointer error.
  • 7. Re: Problem clearing logs on 6140
    Nik Expert
    Currently Being Moderated
    HI.

    Please show results of commands that ask before.


    Regards.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points