IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

Intelligent Management Center - switch config backup failing

 
milty1017
Occasional Advisor

Intelligent Management Center - switch config backup failing

I have all HP switches - 3800 and 3500. I am able to backup the 3800's configs but not 3500. I perform the configure using SSH with the user and password credentials successfully. When I run the backup - "failed to execute script" - I  have checked below line items - all are set correctly. 

1. Use the display startup command to check whether the startup configuration file exists on the device. If not, execute the save command. 
2. Check that the TFTP user has high-enough access right to the iMC/server/tmp directory. The TFTP user should have the read and write right at least. 
3. The iMC failed to send the GetNext response. Capture packets to verify the condition. 
4. Check that if exist firewall.
5. Check that if the TFTP Server is running.
6. Check that if the device TFTP Client IP address is correct.

Any ideas? 

 

4 REPLIES
LindsayHill
Honored Contributor

Re: Intelligent Management Center - switch config backup failing

What file transfer mode are you using? If you're using SCP/SFTP, is the device configured for it?

You can also try going through the imccfgbakdm logs to see where it's failing.

milty1017
Occasional Advisor

Re: Intelligent Management Center - switch config backup failing

I use TFTP. I am reviewing the log now. I attempted to attach the log to this post but it appears only image files are allowed.

milty1017
Occasional Advisor

Re: Intelligent Management Center - switch config backup failing

Here's the log:

2017-11-21 01:30:04.858 [WARNING (0)] [THREAD(6236)] [CQvDBReaderADP::~CQvDBReaderADP] Cancel current SQL when data have not be fetched out.
2017-11-21 01:30:07.079 [INFO (0)] [THREAD(6236)] [CBakCfgFileMgrTask::deleteExpiredBckupHistory] No expired backup history need to delete.
2017-11-21 09:29:17.329 [ERROR (1)] [THREAD(6552)] [imcdm::decryptString()] Failed to decryptStringAes.
2017-11-21 09:29:17.331 [ERROR (1)] [THREAD(6552)] [CProcurveConfigMgmt::CProcurveConfigMgmt()] Failed to call qvdm::getLocalConnectIP(),dev_ip = 10.100.0.2
2017-11-21 09:29:17.334 [INFO (0)] [THREAD(6552)] [CProcurveConfigMgmt::backupConfig()] Begin.
2017-11-21 09:29:17.334 [INFO (0)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Begin.
2017-11-21 09:29:17.348 [ERROR (-1)] [THREAD(6552)] [CSSHExecutor::login()] File :C:\Program Files\iMC\server\bin\..\..\server\conf\ssh_v1_devices.cfg can't open.
2017-11-21 09:29:30.166 [ERROR (2)] [THREAD(6552)] [CSSHService::receive()] Failed to call getresponse()
2017-11-21 09:29:30.178 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:30.178 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:30.182 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:30.182 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:30.185 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:30.185 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:30.189 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:30.189 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:30.193 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:30.193 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:30.194 [INFO (9)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] End.
2017-11-21 09:29:30.194 [INFO (0)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Begin.
2017-11-21 09:29:30.205 [ERROR (-1)] [THREAD(6552)] [CSSHExecutor::login()] File :C:\Program Files\iMC\server\bin\..\..\server\conf\ssh_v1_devices.cfg can't open.
2017-11-21 09:29:43.530 [ERROR (2)] [THREAD(6552)] [CSSHService::receive()] Failed to call getresponse()
2017-11-21 09:29:43.533 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.533 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.537 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.537 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.541 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.542 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.545 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.545 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.549 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.550 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.554 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.554 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:43.554 [INFO (9)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] End.
2017-11-21 09:29:43.559 [INFO (6103)] [THREAD(6552)] [CProcurveConfigMgmt::backupConfig()] End.
2017-11-21 09:29:44.565 [ERROR (1)] [THREAD(6552)] [imcdm::decryptString()] Failed to decryptStringAes.
2017-11-21 09:29:44.568 [ERROR (1)] [THREAD(6552)] [CProcurveConfigMgmt::CProcurveConfigMgmt()] Failed to call qvdm::getLocalConnectIP(),dev_ip = 10.100.0.2
2017-11-21 09:29:44.570 [INFO (0)] [THREAD(6552)] [CProcurveConfigMgmt::backupConfig()] Begin.
2017-11-21 09:29:44.571 [INFO (0)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Begin.
2017-11-21 09:29:44.580 [ERROR (-1)] [THREAD(6552)] [CSSHExecutor::login()] File :C:\Program Files\iMC\server\bin\..\..\server\conf\ssh_v1_devices.cfg can't open.
2017-11-21 09:29:58.659 [ERROR (2)] [THREAD(6552)] [CSSHService::receive()] Failed to call getresponse()
2017-11-21 09:29:58.662 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:58.662 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:58.667 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:58.667 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:58.670 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:58.670 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:58.674 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:58.674 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:58.679 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:58.679 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:29:58.680 [INFO (9)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] End.
2017-11-21 09:29:58.680 [INFO (0)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Begin.
2017-11-21 09:29:58.694 [ERROR (-1)] [THREAD(6552)] [CSSHExecutor::login()] File :C:\Program Files\iMC\server\bin\..\..\server\conf\ssh_v1_devices.cfg can't open.
2017-11-21 09:30:11.941 [ERROR (2)] [THREAD(6552)] [CSSHService::receive()] Failed to call getresponse()
2017-11-21 09:30:11.945 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.945 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.949 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.949 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.953 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.953 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.956 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.956 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.962 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.962 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.967 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.967 [ERROR (-1)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] Invalid resp.
2017-11-21 09:30:11.967 [INFO (9)] [THREAD(6552)] [CProcurveConfigMgmt::execCmdList()] End.
2017-11-21 09:30:11.972 [INFO (6103)] [THREAD(6552)] [CProcurveConfigMgmt::backupConfig()] End.
2017-11-21 09:30:12.973 [INFO (0)] [THREAD(1172)] [CCfgFileRestoreTask::processBackupTransferTaskResult()]Process backup transfer task result: { -- SEQUENCE --
result { -- SEQUENCE --
operStep 'ff'H --
,
result '00'H --
,
stepDetail ''H -- "" --
}
,
devID '015e'H --
,
strSession ''H -- "" --,
devDescr '4d432d544f574e2d4d4446322831302e3130302e302e3229'H -- "MC-TOWN-MDF2(10.100.0.2)" --,
transferResultList { -- AsnDevFileTransferResultSeqOf SEQUENCE OF AsnTransferCfgFileResult
{ -- SEQUENCE --
resultList { -- AsnCfgBakOprResultList SEQUENCE OF AsnCfgBakOprResult
{ -- SEQUENCE --
operStep '00'H --
,
result '17d7'H --
,
stepDetail ''H -- "" --
}
}
,
fileType '00'H --
,
cfgFileID '30'H --
,
hostFileName '72756e6e696e675f323232373834333638322e636667'H -- "running_2227843682.cfg" --,
devFileNamePath '31302e3130302e302e325f72756e6e696e675f32303137313132313039323931372e636667'H -- "10.100.0.2_running_20171121092917.cfg" --
}
{ -- SEQUENCE --
resultList { -- AsnCfgBakOprResultList SEQUENCE OF AsnCfgBakOprResult
{ -- SEQUENCE --
operStep '00'H --
,
result '17d7'H --
,
stepDetail ''H -- "" --
}
}
,
fileType '01'H --
,
cfgFileID '31'H --
,
hostFileName '737461727475705f323232373834333935322e636667'H -- "startup_2227843952.cfg" --,
devFileNamePath '31302e3130302e302e325f737461727475705f32303137313132313039323934342e636667'H -- "10.100.0.2_startup_20171121092944.cfg" --
}
}

}

2017-11-21 09:30:12.977 [WARNING (2023)] [THREAD(1172)] [CScriptTool::getDevAdapterNameFromDB()] reader no data, sql: select vendor_name,adapter_name,error_code from tbl_dev_adapter where component_name = 'Custom' and dev_id = 350 and adapter_type = 1
2017-11-21 09:30:12.986 [ERROR (18)] [THREAD(1172)] [CComponentAdapter::getDevAdapterName()] fail to call discoverDeviceAdapter()
2017-11-21 09:30:12.986 [ERROR (18)] [THREAD(1172)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=350,ServiceName = ConfigBackup
2017-11-21 09:30:12.987 [WARNING (2023)] [THREAD(1172)] [CScriptTool::getDevAdapterNameFromDB()] reader no data, sql: select vendor_name,adapter_name,error_code from tbl_dev_adapter where component_name = 'Custom' and dev_id = 350 and adapter_type = 0
2017-11-21 09:30:12.993 [ERROR (18)] [THREAD(1172)] [CComponentAdapter::getDevAdapterName()] fail to call discoverDeviceAdapter()
2017-11-21 09:30:12.993 [ERROR (18)] [THREAD(1172)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=350,ServiceName = ConfigBackup
2017-11-21 09:30:12.994 [WARNING (2023)] [THREAD(1172)] [CScriptTool::getDevAdapterNameFromDB()] reader no data, sql: select vendor_name,adapter_name,error_code from tbl_dev_adapter where component_name = 'ICC' and dev_id = 350 and adapter_type = 1
2017-11-21 09:30:12.996 [INFO (0)] [THREAD(1172)] [CComponentAdapter::parseVendorAdapter()] Begin to parse ...
2017-11-21 09:30:12.996 [INFO (0)] [THREAD(1172)] [CComponentAdapter::parseVendorAdapter]Vendor existed in memory.Do not need to parse again.vendor name = Hewlett Packard
2017-11-21 09:30:13.005 [WARNING (1)] [THREAD(1172)] [CComponentAdapter::getSupportAdapter()] Device Vrp can not match,devID=350,devSeries=HP3500ylSwitch,devVRPVer=HPE,devReleaseNo=K.14.65,devCategoryID=1
2017-11-21 09:30:13.006 [WARNING (18)] [THREAD(1172)] [CComponentAdapter::discoverDeviceAdapter()] fail to call getSupportAdapter(),devID=350
2017-11-21 09:30:13.016 [ERROR (18)] [THREAD(1172)] [CComponentAdapter::getDevAdapterName()] fail to call discoverDeviceAdapter()
2017-11-21 09:30:13.016 [ERROR (18)] [THREAD(1172)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=350,ServiceName = ConfigBackup
2017-11-21 09:30:13.017 [WARNING (2023)] [THREAD(1172)] [CScriptTool::getDevAdapterNameFromDB()] reader no data, sql: select vendor_name,adapter_name,error_code from tbl_dev_adapter where component_name = 'ICC' and dev_id = 350 and adapter_type = 0
2017-11-21 09:30:13.019 [INFO (0)] [THREAD(1172)] [CComponentAdapter::parseVendorAdapter()] Begin to parse ...
2017-11-21 09:30:13.019 [INFO (0)] [THREAD(1172)] [CComponentAdapter::parseVendorAdapter]Vendor existed in memory.Do not need to parse again.vendor name = Hewlett Packard
2017-11-21 09:30:13.022 [INFO (0)] [THREAD(1172)] [CComponentAdapter::isDevSupportServiceAction] dev_id: 350, adapter_name: HPProcurve3500
2017-11-21 09:30:18.068 [ERROR (18)] [THREAD(6588)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=350,ServiceName = ConfigBackup
2017-11-21 09:30:18.069 [ERROR (18)] [THREAD(6588)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=350,ServiceName = ConfigBackup
2017-11-21 09:30:18.071 [ERROR (18)] [THREAD(6588)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=350,ServiceName = ConfigBackup
2017-11-21 09:30:18.072 [INFO (0)] [THREAD(6588)] [CComponentAdapter::isDevSupportServiceAction] dev_id: 350, adapter_name: HPProcurve3500
2017-11-21 09:30:18.137 [WARNING (102)] [THREAD(6588)] [CFileTransferTask::transferCfgFile] Fail to get item[ ConfFileSuffix ] in file[ C:\Program Files\iMC\server\bin\..\..\server\conf\adapters\ICC\Hewlett Packard\HPProcurve3500\HPProcurve3500.conf ]
2017-11-21 09:30:18.140 [INFO (0)] [THREAD(6588)] [CThirdPartCfgfileMgr::backupRunning()] Begin to backup running cfgfile ...
2017-11-21 09:30:18.144 [INFO (0)] [THREAD(6588)] [CScriptProcessor::exec()] Begin to execute, data: ServiceName = ConfigBackup
ActionName = backup_running_config
InputParam = TFTPFile=running_2227844292.cfg?_?TFTPServer=10.125.0.100?_?UnitList=?_?VpnName=
OutputParam =
CmdResp =
ErrorMessage =
ActionResult = 19

2017-11-21 09:30:18.145 [ERROR (18)] [THREAD(6588)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=350,ServiceName = ConfigBackup
2017-11-21 09:30:18.150 [ERROR (18)] [THREAD(6588)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=350,ServiceName = ConfigBackup
2017-11-21 09:30:18.156 [ERROR (18)] [THREAD(6588)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=350,ServiceName = ConfigBackup
2017-11-21 09:30:18.158 [INFO (0)] [THREAD(6588)] [CComponentAdapter::isDevSupportServiceAction] dev_id: 350, adapter_name: HPProcurve3500
2017-11-21 09:30:18.158 [INFO (0)] [THREAD(6588)] [CScriptProcessor::exec()] Begin to execute by cli.
2017-11-21 09:30:18.160 [INFO (0)] [THREAD(6588)] [CScriptProcessor::exec()] Case_no: 8568_2227844293, service_name: ConfigBackup, action_name: backup_running_config, input_vars: DevName=MC-Town-MDF2?_?TFTPFile=running_2227844292.cfg?_?TFTPServer=10.125.0.100?_?UnitList=?_?VpnName=
2017-11-21 09:30:18.473 [INFO (0)] [THREAD(6588)] [CScriptProcessor::exec()] Success to spawn process, pid: 7492
2017-11-21 09:30:29.008 [INFO (0)] [THREAD(6588)] [CScriptProcessor::exec()] Success to execute process, pid: 7492
2017-11-21 09:30:29.008 [INFO (0)] [THREAD(6588)] [CScriptProcessor::exec()] Check result file: C:\Program Files\iMC\server\bin\..\..\server/tmp/scripttool_8568_2227844293.cfg
2017-11-21 09:30:30.023 [INFO (0)] [THREAD(6588)] [imcscriptttol] log: =============================== Begin=============================
2017-11-21 09:30:30.023 [INFO (0)] [THREAD(6588)]
2017-11-21 09:30:20.917 [INFO (0)] [THREAD(4972)] [qvdm::QvGetLogFileSize] get file size from qvdm.conf: 50
2017-11-21 09:30:20.917 [INFO (0)] [THREAD(4972)] [ScriptTool::execScriptAction()] component_name: ICC, service_name: ConfigBackup, action_name: backup_running_config, input_vars: DevName=MC-Town-MDF2?_?TFTPFile=running_2227844292.cfg?_?TFTPServer=10.125.0.100?_?UnitList=?_?VpnName=
2017-11-21 09:30:20.958 [INFO (2001)] [THREAD(4972)] [CCLIScriptProcessor::init()] Device login type is 2,dev_id=350,AdaptName=HPProcurve3500
2017-11-21 09:30:20.965 [INFO (-100)] [THREAD(4972)] [CSSHScriptProcessor::init()] Fail to call CSysPara::getPara() to get ssh_client.AdaptName=HPProcurve3500
2017-11-21 09:30:20.966 [INFO (-100)] [THREAD(4972)] [CSSHScriptProcessor::init()] Fail to call CSysPara::getPara() to get sftp_client.AdaptName=HPProcurve3500
2017-11-21 09:30:20.967 [INFO (0)] [THREAD(4972)] [CComponentAdapter::parseVendorAdapter()] Begin to parse ...
2017-11-21 09:30:21.004 [INFO (0)] [THREAD(4972)] [CComponentAdapter::parseVendorAdapter()] Finished to parse!
2017-11-21 09:30:23.037 [INFO (0)] [THREAD(4972)] [CCLIScriptProcessor::login_impl()] Begin ...
2017-11-21 09:30:23.037 [INFO (0)] [THREAD(4972)] [CCLIScriptProcessor::login()] Begin ...
2017-11-21 09:30:23.037 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Begin to exec: spawn plink.exe -P 22 manager@10.100.0.2
2017-11-21 09:30:23.173 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Finished.
2017-11-21 09:30:23.173 [INFO (0)] [THREAD(4972)] [CTelnetScriptProcessor::gotoMode()] Begin, ip: 10.100.0.2, current mode: connect, new mode: initialize
2017-11-21 09:30:23.174 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/clearup.tcl
2017-11-21 09:30:23.190 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Finished.
2017-11-21 09:30:23.191 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/save.tcl
2017-11-21 09:30:23.195 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Finished.
2017-11-21 09:30:23.195 [INFO (0)] [THREAD(4972)] [CTelnetScriptProcessor::gotoMode()] Begin, ip: 10.100.0.2, current mode: connect, new mode: exec
2017-11-21 09:30:23.195 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/initialize.tcl
2017-11-21 09:30:23.214 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Finished.
2017-11-21 09:30:23.225 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/enter_exec.tcl
2017-11-21 09:30:26.311 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Finished.
2017-11-21 09:30:26.311 [INFO (0)] [THREAD(4972)] [CCLIScriptProcessor::login()] End.
2017-11-21 09:30:26.311 [INFO (0)] [THREAD(4972)] [CTelnetScriptProcessor::gotoMode()] Begin, ip: 10.100.0.2, current mode: exec, new mode: enable
2017-11-21 09:30:26.311 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/enter_enable.tcl
2017-11-21 09:30:27.553 [ERROR (1)] [THREAD(4972)] [CTclExecutor::exec_impl()] Failed to exec cmd: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/enter_enable.tcl, error message: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/enter_enable.tcl(69): error: invalid command name "cleanup"
2017-11-21 09:30:27.553 [ERROR (11)] [THREAD(4972)] [CTelnetScriptProcessor::enterToMode()] Fail to call oTclExecutor.execFile().AdaptName=HPProcurve3500.file_name = enter_enable.tcl,DevIP =10.100.0.2
2017-11-21 09:30:27.553 [ERROR (11)] [THREAD(4972)] [CTelnetScriptProcessor::gotoMode()] Fail to call enterToMode().AdaptName=HPProcurve3500.DevIP =10.100.0.2.this mode=exec,go to mode = enable
2017-11-21 09:30:27.553 [ERROR (11)] [THREAD(4972)] [CSSHScriptProcessor::exec_step()] Fail to call enterRequireMode.AdaptName=HPProcurve3500,ServiceName=ConfigBackup,RequiredMode=enable
2017-11-21 09:30:27.553 [INFO (0)] [THREAD(4972)] [CCLIScriptProcessor::login_impl()] Begin ...
2017-11-21 09:30:27.553 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Begin to exec:
2017-11-21 09:30:27.555 [INFO (0)] [THREAD(4972)] [CTelnetScriptProcessor::gotoMode()] Begin, ip: 10.100.0.2, current mode: exec, new mode: enable
2017-11-21 09:30:27.556 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/enter_enable.tcl
2017-11-21 09:30:28.771 [ERROR (1)] [THREAD(4972)] [CTclExecutor::exec_impl()] Failed to exec cmd: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/enter_enable.tcl, error message: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/enter_enable.tcl(69): error: invalid command name "cleanup"
2017-11-21 09:30:28.771 [ERROR (11)] [THREAD(4972)] [CTelnetScriptProcessor::enterToMode()] Fail to call oTclExecutor.execFile().AdaptName=HPProcurve3500.file_name = enter_enable.tcl,DevIP =10.100.0.2
2017-11-21 09:30:28.771 [ERROR (11)] [THREAD(4972)] [CTelnetScriptProcessor::gotoMode()] Fail to call enterToMode().AdaptName=HPProcurve3500.DevIP =10.100.0.2.this mode=exec,go to mode = enable
2017-11-21 09:30:28.771 [ERROR (11)] [THREAD(4972)] [CSSHScriptProcessor::exec_step()] Fail to call enterRequireMode.AdaptName=HPProcurve3500,ServiceName=ConfigBackup,RequiredMode=enable
2017-11-21 09:30:28.771 [INFO (11)] [THREAD(4972)] [CSSHScriptProcessor::exec_impl()] Fail to call exec_step(). AdaptName = HPProcurve3500, ServiceName = ConfigBackup.
2017-11-21 09:30:28.771 [ERROR (11)] [THREAD(4972)] [CTelnetScriptProcessor::exec()] Fail to call exec_impl(). DevIP =10.100.0.2, AdaptName = HPProcurve3500,service name = ConfigBackup, action name = backup_running_config.
2017-11-21 09:30:28.771 [INFO (0)] [THREAD(4972)] [CTelnetScriptProcessor::logout()] Begin, DevIP = 10.100.0.2
2017-11-21 09:30:28.771 [INFO (0)] [THREAD(4972)] [CTelnetScriptProcessor::gotoMode()] Begin, ip: 10.100.0.2, current mode: exec, new mode:
2017-11-21 09:30:28.783 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve3500/exit_exec.tcl
2017-11-21 09:30:28.795 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Finished.
2017-11-21 09:30:28.795 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Begin to exec: close
2017-11-21 09:30:28.797 [INFO (0)] [THREAD(4972)] [CTclExecutor::exec_impl()] Finished.
2017-11-21 09:30:28.797 [INFO (0)] [THREAD(4972)] [CTelnetScriptProcessor::logout()] End.

2017-11-21 09:30:30.024 [INFO (0)] [THREAD(6588)] [imcscriptttol] log: =============================== End===============================
2017-11-21 09:30:30.024 [ERROR (11)] [THREAD(6588)] [CScriptProcessor::exec()] Failed to execute by cli method.
2017-11-21 09:30:30.024 [INFO (11)] [THREAD(6588)] [CScriptProcessor::exec()] Finished to execute, result:
ServiceName = ConfigBackup
ActionName = backup_running_config
InputParam = DevName=MC-Town-MDF2?_?TFTPFile=running_2227844292.cfg?_?TFTPServer=10.125.0.100?_?UnitList=?_?VpnName=
OutputParam =
CmdResp = The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 39:7a:65:98:c6:aa:d9:b4:67:57:21:94:cd:48:4a:38
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n)

LindsayHill
Honored Contributor

Re: Intelligent Management Center - switch config backup failing

Something's going wrong at the "enable" step. It's a bit unclear exactly what it is. You could debug it further, but since you are using SSH, you should change your file transfer mode to SCP or SFTP (whatever it is that Procurve supports, can't remember right now), and make sure it's enabled on the switch.

That should make for more reliable and secure file transfers