UNSOLVED

jszhao-jgt6X

updated

16 years ago

0

1718

November 11th, 2009 00:00

SAM Server Tools Telnet doesn't run

Run the server tools telnet on windows 2003,
the error message is the:

C:\WINDOWS\system32>start /wait cmd /c "telnet 10.10.10.253 "
ICS-W-ACTION_TIMEOUT-Timer expired for action 'ics-telnet.cmd'.
ICS-E-ACTION_CMD_STATUS-Action 'ics-telnet.cmd' failed with status '-1'.

But we run the command { start /wait cmd /c "telnet 10.10.10.253 " } on the windows command promote, it is successful the following is the debug messages.

Any suggestion will be appreciated.
the following the debug information,

Action: ics-telnet.cmd will be invoked against the target:Switch::10.10.10.253

Executing the action asynchronously...

The environment is updated with the following:
ALLUSERSPROFILE=C:\Documents and Settings\All Users
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
COMPUTERNAME=SMARTS
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
LM_LICENSE_FILE=C:/InCharge8/SAM/smarts/local/conf/smarts.lic
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:/InCharge8/SAM/smarts/local/bin/system;C:/InCharge8/SAM/smarts/local/bin/system;C:/InCharge8/SAM/smarts/bin/system;C:/InCharge8/SAM/smarts/local/lib;C:/InCharge8/SAM/smarts/local/lib;C:/InCharge8/SAM/smarts/lib;/dev/null/bin/system;/dev/null/lib;C:/InCharge8/SAM/smarts/jre/bin/server;C:/InCharge8/SAM/smarts/jre/bin;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;C:/InCharge6/SI/smarts/lib
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=EM64T Family 6 Model 15 Stepping 11, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0b
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
SM_BROKER=10.10.10.45:426
SM_BROKER_DEFAULT=10.10.10.45:426
SM_DEF=/dev/null
SM_DEFHOME=/dev/null
SM_FIXED=C:/InCharge8/SAM/smarts;/dev/null
SM_HOME=C:/InCharge8/SAM/smarts
SM_INCOMING_PROTOCOL=1,0
SM_LICENSE=C:\InCharge8\SAM\smarts\local\conf\smarts.lic
SM_OUTGOING_PROTOCOL=1,0
SM_PIPEDIR=\\\\.\\pipe\\smarts\\
SM_POP_1=PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\InCharge6\SI\smarts\lib
SM_POP_2=LM_LICENSE_FILE=
SM_POP_3=SM_LIBPATH=
SM_POP_4=SM_BROKER=
SM_POP_5=SM_BROKER_DEFAULT=
SM_SITEMOD=C:/InCharge8/SAM/smarts/local;C:/InCharge8/SAM/smarts
SM_SNMP_BUG_COMPATIBLE=TRUE
SM_SYMBOL_PATH=C:/InCharge8/SAM/smarts/local/symbols;C:/InCharge8/SAM/smarts/symbols;C:/WINDOWS/symbols/dll;C:/WINDOWS/system32
SM_WRITEABLE=C:/InCharge8/SAM/smarts/local
SystemDrive=C:
SystemRoot=C:\WINDOWS
TCL_LIBRARY=/dev/null/lib/tcl
TEMP=C:\WINDOWS\TEMP
TMP=C:\WINDOWS\TEMP
USERPROFILE=C:\Documents and Settings\Default User
windir=C:\WINDOWS
DISPLAY=smarts:0.0
SM_OBJ_ManagedState=MANAGED
SM_OBJ_PrimaryOwnerContact=
SM_OBJ_SystemName=10.10.10.253
SM_OBJ_IsManaged=true
SM_OBJ_Description=Cisco Internetwork Operating System Software \\X0D\\X0AIOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5.3)WC(1), MAINTENANCE INTERIM SOFTWARE\\X0D\\X0ACopyright (c) 1986-2001 by cisco Systems, Inc.\\X0D\\X0ACompiled Mon 30-Apr-01 07:51 by devgoyal
SM_OBJ_ServiceName=
SM_OBJ_Name=10.10.10.253
SM_OBJ_PrimaryOwnerName=
SM_OBJ_ParentSystemIsManaged=true
SM_OBJ_RemoveComponents=true
SM_OBJ_Type=SWITCH
SM_OBJ_Certification=CERTIFIED
SM_OBJ_Vendor=CISCO
SM_OBJ_Model=3548XL
SM_OBJ_Location=
SM_OBJ_IsMonitored=false
SM_OBJ_IsReconciled=false
SM_OBJ_CreationClassName=Switch
SM_OBJ_DisplayName=10.10.10.253
SM_OBJ_DisplayClassName=Switch
SM_OBJ_ElementId=
SM_OBJ_Discoverer=
SM_REMOTE_USER=admin
SM_REMOTE_HOST=smarts
SM_REMOTE_DESC=IC Console - V8.0.0.2
SM_REMOTE_DISPLAY=smarts:0.0
SM_SERVER_NAME=INCHARGE-SA

Executing the program:
C:\InCharge8\SAM\smarts\local\actions\server\ics-telnet.cmd

C:\WINDOWS\system32>rem ################################################################

C:\WINDOWS\system32>rem

C:\WINDOWS\system32>rem Copyright (C) 2001, System Management ARTS (SMARTS)

C:\WINDOWS\system32>rem All Rights Reserved

C:\WINDOWS\system32>rem

C:\WINDOWS\system32>rem ################################################################

C:\WINDOWS\system32>rem

C:\WINDOWS\system32>rem --ics-telnet.cmd --

C:\WINDOWS\system32>rem

C:\WINDOWS\system32>rem telnet communicates with another host using the TELNET protocol.

C:\WINDOWS\system32>rem ################################################################

C:\WINDOWS\system32>echo start
start

C:\WINDOWS\system32>rem if SM_OBJ_Name isn't set in environment

C:\WINDOWS\system32>if not defined SM_OBJ_Name (
echo Invaild SM_OBJ_NAME
exit 0
)

C:\WINDOWS\system32>echo just me


C:\WINDOWS\system32>start /wait cmd /c "telnet 10.10.10.253 "
ICS-W-ACTION_TIMEOUT-Timer expired for action 'ics-telnet.cmd'.
ICS-E-ACTION_CMD_STATUS-Action 'ics-telnet.cmd' failed with status '-1'.