set SCO_SA_ERRHANDLER_MSGS(@catalog@) {sysadm.cat@sa 23}
set SCO_SA_ERRHANDLER_MSGS(ERR_CONNECT_FAIL) {1 {%1$s failed to connect to %2$s.\n\nPlease check the following:\n * your network configuration\n * your network connection\n * remote access (rhost) permissions on the remote site\n * that SCOadmin is installed at the remote site}}
set SCO_SA_ERRHANDLER_MSGS(ERR_UNEXPECTED) {2 {Unexpected error:\n%s}}
set SCO_SA_ERRHANDLER_MSGS(ERR_UNEXPECTED_DT) {3 {\n%s}}
set SCO_SA_ERRHANDLER_MSGS(MSG_ERROR) {4 Error}
set SCO_SA_ERRHANDLER_MSGS(MSG_DETAILS) {5 Details...}
set SCO_SA_ERRHANDLER_MSGS(MSG_ERROR_DT) {6 {Error Details}}
set SCO_SA_ERRHANDLER_MSGS(MSG_NO_AUTHS) {7 {You are not authorized to run %1$s on %2$s}}
set SCO_SA_ERRHANDLER_MSGS(MSG_SAVE_BUTTON) {8 Save...}
set SCO_SA_ERRHANDLER_MSGS(MSG_SAVE_TITLE) {9 {Save Error Details}}
set SCO_SA_ERRHANDLER_MSGS(MSG_NOT_ROOT) {10 {You must be root to run %1$s on %2$s}}
proc SaEH:GetManagedHostName {} {
return "remote host"
}
proc SaMakeObjectCall {objectCall} {
global errorCode
set result [catch { eval $objectCall } returnValue]
if { $result } {
case [lindex $errorCode 0] {
ERRORSTACK
{
set errorStack [lindex $errorCode 1]
set topErrorCode [lindex [lindex $errorStack 0] 0]
if {$topErrorCode == "SCO_LOCAL_PIPE_ERR_CLIENT_CONNECT_FAILURE"} {
set localHost [lindex [split [SaHostGetLocalName] .] 0]