Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1007959.1
Update Date:2009-12-29
Keywords:

Solution Type  Problem Resolution Sure

Solution  1007959.1 :   domain_status, run on SSP, fails with Tcl_AppInit errors  


Related Items
  • Sun Enterprise 10000 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>High-End Servers
  •  

PreviouslyPublishedAs
210978


Symptoms
Commands on SSP fail in such a manner:

ssp1:10k-d0% domain_status

+ exec scotty -f /opt/SUNWssp/bin/domain_status --

Tcl_AppInit failed: invalid command name "gettext"

ssp1:10k-d0% fan

+ exec scotty -f /opt/SUNWssp/bin/fan --

Tcl_AppInit failed: invalid command name "gettext"

ssp1:10k-d0% power

Segmentation Fault (core dumped)



Resolution
1). trussing domain_status, for example, might reveal something like this:

...

close(3) = 0

access("/etc/opt/SUNWssp/snmp/Ultra-Enterprise-10000.mib", 0) Err#13 EACCES

open("/opt/SUNWssp/library/scotty/tclIndex", O_RDONLY) = 3

brk(0x0002C320) = 0

brk(0x0002E320)= 0

fstat64(3, 0xEFFFD708)= 0

Verify existance and permissions of Ultra-Enterprise-10000.mib (-r--r--r-- owner: ssp group: staff) and, if OK, verify the permissions of each of the individual /etc/opt/SUNWssp/snmp subdirectories. Example (and working) permissions and ownership follow:

/etc drwxr-xr-x root/sys

/etc/opt drwxr-xr-x root/sys

/etc/opt/SUNWssp drwxr-xr-x root/sys

/etc/opt/SUNWssp/snmp drwxr-xr-x ssp/staff

  1. Verify the SSP can ping the primary control board without issues.



Relief/Workaround




Product
Sun Enterprise 10000 Server

Internal Comments
In my case /etc/opt was 0500 (r-x------) and we needed to chmod it to get the SSP commands to work properly:


# chmod 755 /etc/opt


domain_status, fan, ssp, power
Previously Published As
81833

Change History
Date: 2005-06-21
User Name: 71396
Action: Approved
Comment: Performed final review of article.

No changes required.

Publishing.
Version: 5
Date: 2005-06-16
User Name: 71396
Action: Accept
Comment:
Version: 0
Product_uuid
29ddef46-0a18-11d6-92de-ae47474f0f6c|Sun Enterprise 10000 Server

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback