On Certain Platforms, Sun Explorer Data Collector Version 5.12 Improperly Removes Collected Data and "sed: command garbled"



Category :Availability
Release Phase :Resolved
Bug Id :6722354, 6725108  
Product :Sun Explorer Data Collector version 5.12  
Date of Workaround Release :19-Aug-2008 
Date of Resolved Release :02-Sep-2008 

When using Sun Explorer Data Collector version 5.12,  (see below for full details)


1. Impact

When using Sun Explorer Data Collector version 5.12, the modules 1280extended, sanextended, scextended, srscextended and t3extended are improperly removing its own collected data for the platforms listed below.

2. Contributing Factors

This issue occurs on the following releases:
  • Sun Explorer Data Collector Explorer 5.12
and only when using the following platforms:

   
Sun Fire Servers with "Remote System Controller" (RSC) functionality
     Sun Fire 3800
     Sun Fire 4800
     Sun Fire 4810
     Sun Fire 6800
     Sun Fire E2900
     Sun Fire E4900
     Sun Fire E6900
     Sun Fire V1280
     Netra 1280
     San Switches
     Sun Storedge T3
     Sun Storedge T3+

To determine version 5.12,  use "pkginfo -l SUNWexplo" or use "/opt/SUNWexplo/bin/explorer -version".

3. Symptoms


When this issue occurs one or more errors from sed(1) can be seen,
for example, "explorer: sed: command garbled".

As a result of the failing sed command, the created output files of the above
named modules will be empty.

4. Workaround

The following workaround can be applied until the final resolution becomes available.

The default installation location of the SUNWexplo package is /opt .
The affected modules are found in a subdirectory of the SUNWexplo package directory "/opt/SUNWexplo/tools".

In the case of a non-default installation location, you can find the basedir of the SUNWexplo package by running the command "pkginfo -l SUNWexplo", and look for BASEDIR.

Please find below the lines to fix per module. Make sure to use the vi-editor,
to be able to enter the "^M" character.

Module 1280extended
  
The lines 298 and 299 look like this:

    298            sed -e 's/
    299  $//' ${file} > ${file}.tmp

Join these two lines, delete the space character in the sed statement
and then insert in that place the "^M" character by typing "ctrl-v" and "ctrl-m".

The new combined line should look like this:

    298            sed -e 's/^M$//' ${file} > ${file}.tmp

Module sanextended
   
The  lines 217 and 218 look like this:

    217    sed -e 's/
    218  //g' ${EXP_TARGET}/san/${SAN_NAME}/$1 > ${EXP_TARGET}/san/${SAN_NAME}/$1.tmp

Join these two lines, delete the space character in the sed statement
and then insert in that place the "^M" character by typing "ctrl-v" and "ctrl-m".


The new combined line should look like this:

217 
sed -e 's/^M//g' ${EXP_TARGET}/san/${SAN_NAME}/$1 > ${EXP_TARGET}/san/${SAN_NAME}/$1.tmp

Module scextended

The lines 318 and 319 look like this:

     318   sed -e 's/
     319  $//' ${file} > ${file}.tmp

Join these two lines, delete the space character in the sed statement
and then insert in that place the "^M" character by typing "ctrl-v" and "ctrl-m".

The new combined line should look like this:

    318    sed -e 's/^M$//' ${file} > ${file}.tmp

Module srscextended

The lines 154 and 155 look like this:

    154    sed -e 's/
    155  $//' ${file} > ${file}.tmp

Join these two lines, delete the space character in the sed statement
and then insert in that place the "^M" character by typing "ctrl-v" and "ctrl-m".

The new combined line should look like this:

    154    sed -e 's/^M$//' ${file} > ${file}.tmp

Module t3extended

The  lines 432 and 433 look like this:

     432    sed -e 's/
     433  $//' ${file} > ${file}.tmp

Join these two lines, delete the space character in the sed statement
and then insert in that place the "^M" character by typing "ctrl-v" and "ctrl-m".


The new combined line should look like this:

    432    sed -e 's/^M$//' ${file} > ${file}.tmp


5. Resolution

 This issue is addressed in the following releases:
  • Sun Explorer Data Collector Explorer 5.13

Note: Explorer can be downloaded as part of the Sun Service Tools bundle
at http://www.sun.com/service/stb/index.jsp .


This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.

Copyright 2000-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.


Modification History

02-Sep-2008: Updated Resolution section. Resolved.




Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 240786
Article Type : Sun Alert
Last reviewed : 2008-09-02
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article
 
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright Sun Microsystems, Inc. | SunSolve Version 7.4.0 #1