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

IMC not backing up Procurve 2650's

NCGnet
Occasional Advisor

IMC not backing up Procurve 2650's

We have for sometime had issues trying to backup our 2650s with IMC, i'm trying to get to the bottom of the issue. We have around 100 2650s and its critical we get this working and I would like to use SFTP for security reasons. IMC reports that the backup was taken successfully however when you check it is either missing large parts or is just blank. The messages go like this:

 

Initialize task parameters. Succeeded.  

Back up device startup configuration file to iMC Server.

Communicating with device timed out. Check that communication with the device is normal.

 Initialize redo task parameters. Succeeded.

 Back up device startup configuration file to iMC Server by script. Succeeded. 

 

I've checked all the usual such as username/passwords, all set correctly, all our other procurve models work no problem just seems that IMC and the 2650s do not get along.

I have tried several different firmwares including the latest and the same issue happens. The issue seems to be intermittent also : we have some 2650s that actually work and some that dont. After a fresh reboot it seems to work but left for a few days it stops working again. I have checked the config on the switch, ssh is enabled we can ssh into switch no problem. ip ssh filetransfer is configured. All switches are configured the same as far as the ssh settings, username / password etc go. IMC is using SFTP as the default method.

I can post the logs from imccfgbakdm .... can someone help us?

Thanks

6 REPLIES
LindsayHill
Honored Contributor

Re: IMC not backing up Procurve 2650's

Yes, it could be helpful if you provide imccfgbakdm log output.

What happens if you manually perform an SFTP backup? (i.e. using sftp from the command line, not using IMC). Does that work? Does it retrieve the *entire* backup? I have heard of some problems in the past with IMC truncating backups, but that shouldn't be a problem with the latest firmware.

NCGnet
Occasional Advisor

Re: IMC not backing up Procurve 2650's

I tried using psftp to login to the switch, it gets as far as the banner message and login prompt, enter the password then it just quits. Works ok on other models this just seems particular to the 2650s, tried on two different firmwares and its the same result. Below is the IMC log from an attempted backup of one of the offending switches:

 

2016-09-19 13:36:59.921 [ERROR (-100)] [THREAD(2816)] [CProcurveConfigMgmt::CProcurveConfigMgmt()] Failed to call qvdm::getLocalConnectIP(),dev_ip = 10.10.98.98
2016-09-19 13:36:59.924 [INFO (0)] [THREAD(2816)] [CProcurveConfigMgmt::backupConfig()] Begin.
2016-09-19 13:36:59.924 [INFO (0)] [THREAD(2816)] [CProcurveConfigMgmt::execCmdList()] Begin.
2016-09-19 13:37:15.697 [ERROR (2)] [THREAD(2816)] [CSSHService::receive()] Failed to call getresponse()
2016-09-19 13:37:16.740 [INFO (0)] [THREAD(2816)] [CProcurveConfigMgmt::execCmdList()] End.
2016-09-19 13:37:21.180 [INFO (0)] [THREAD(2816)] [CProcurveConfigMgmt::getFileFromDevBySftp()] Open sftp connect to device.
2016-09-19 13:37:21.180 [INFO (0)] [THREAD(2816)] [CProcurveConfigMgmt::getFileFromDevBySftp()] Get file started.
2016-09-19 13:37:21.784 [INFO (0)] [THREAD(2816)] [CSFTPService] close
2016-09-19 13:37:21.784 [INFO (0)] [THREAD(2816)] [CProcurveConfigMgmt::getFileFromDevBySftp()] Get file finished.
2016-09-19 13:37:21.796 [INFO (0)] [THREAD(2816)] [CProcurveConfigMgmt::backupConfig()] End.
2016-09-19 13:37:23.837 [ERROR (-100)] [THREAD(2816)] [CProcurveConfigMgmt::CProcurveConfigMgmt()] Failed to call qvdm::getLocalConnectIP(),dev_ip = 10.10.98.98
2016-09-19 13:37:23.839 [INFO (0)] [THREAD(2816)] [CProcurveConfigMgmt::backupConfig()] Begin.
2016-09-19 13:37:23.839 [INFO (0)] [THREAD(2816)] [CProcurveConfigMgmt::execCmdList()] Begin.
2016-09-19 13:37:39.533 [ERROR (2)] [THREAD(2816)] [CSSHService::receive()] Failed to call getresponse()
2016-09-19 13:37:40.594 [INFO (0)] [THREAD(2816)] [CProcurveConfigMgmt::execCmdList()] End.
2016-09-19 13:38:53.803 [INFO (2)] [THREAD(2816)] [CProcurveConfigMgmt::getFileFromDevBySftp()] Open sftp connect to device.
2016-09-19 13:38:53.803 [ERROR (2)] [THREAD(2816)] [CProcurveConfigMgmt::backupConfig()] Failed to backup config by ssh.
2016-09-19 13:38:53.806 [INFO (2)] [THREAD(2816)] [CProcurveConfigMgmt::backupConfig()] End.
2016-09-19 13:38:54.806 [INFO (0)] [THREAD(5928)] [CCfgFileRestoreTask::processBackupTransferTaskResult()]Process backup transfer task result: { -- SEQUENCE --
result { -- SEQUENCE --
operStep 'ff'H --
,
result '00'H --
,
stepDetail ''H -- "" --
}
,
devID '023e'H --
,
strSession ''H -- "" --,
devDescr '73772d72757468322d72697477622d7374752d352831302e31302e39382e393829'H -- "sw-ruth2-ritwb-stu-5(10.10.98.98)" --,
transferResultList { -- AsnDevFileTransferResultSeqOf SEQUENCE OF AsnTransferCfgFileResult
{ -- SEQUENCE --
resultList { -- AsnCfgBakOprResultList SEQUENCE OF AsnCfgBakOprResult
{ -- SEQUENCE --
operStep '00'H --
,
result '00'H --
,
stepDetail ''H -- "" --
}
}
,
fileType '00'H --
,
cfgFileID '013b1f'H --
,
hostFileName '72756e6e696e675f313835373938343239322e636667'H -- "running_1857984292.cfg" --,
devFileNamePath '31302e31302e39382e39385f72756e6e696e675f32303136303931393133333635382e636667'H -- "10.10.98.98_running_20160919133658.cfg" --
}
{ -- SEQUENCE --
resultList { -- AsnCfgBakOprResultList SEQUENCE OF AsnCfgBakOprResult
{ -- SEQUENCE --
operStep '00'H --
,
result '177c'H --
,
stepDetail ''H -- "" --
}
}
,
fileType '01'H --
,
cfgFileID '013b20'H --
,
hostFileName '737461727475705f313835373938343533322e636667'H -- "startup_1857984532.cfg" --,
devFileNamePath '31302e31302e39382e39385f737461727475705f32303136303931393133333732322e636667'H -- "10.10.98.98_startup_20160919133722.cfg" --
}
}

}

2016-09-19 13:38:54.808 [WARNING (32)] [THREAD(5928)] [CComponentAdapter::checkAccessTypeMatchTransferProtocol()] transfer protocol does not match access type,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:54.808 [WARNING (32)] [THREAD(5928)] [CComponentAdapter::isDevSupportServiceAction()] transfer protocol does not match access type,ServiceName =
ConfigBackup,commandName=Custom,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:54.809 [WARNING (2023)] [THREAD(5928)] [CScriptTool::getDevAdapterNameFromDB()] reader no data, sql: select vendor_name,adapter_name,error_code from tbl_dev_adapter where component_name
= 'Custom' and dev_id = 574 and adapter_type = 0
2016-09-19 13:38:54.812 [ERROR (18)] [THREAD(5928)] [CComponentAdapter::getDevAdapterName()] fail to call discoverDeviceAdapter()
2016-09-19 13:38:54.812 [ERROR (18)] [THREAD(5928)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=574,ServiceName = ConfigBackup
2016-09-19 13:38:54.812 [WARNING (32)] [THREAD(5928)] [CComponentAdapter::checkAccessTypeMatchTransferProtocol()] transfer protocol does not match access type,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:54.812 [WARNING (32)] [THREAD(5928)] [CComponentAdapter::isDevSupportServiceAction()] transfer protocol does not match access type,ServiceName =
ConfigBackup,commandName=ICC,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:54.813 [WARNING (2023)] [THREAD(5928)] [CScriptTool::getDevAdapterNameFromDB()] reader no data, sql: select vendor_name,adapter_name,error_code from tbl_dev_adapter where component_name
= 'ICC' and dev_id = 574 and adapter_type = 0
2016-09-19 13:38:54.814 [INFO (0)] [THREAD(5928)] [CComponentAdapter::parseVendorAdapter()] Begin to parse ...
2016-09-19 13:38:54.814 [INFO (0)] [THREAD(5928)] [CComponentAdapter::parseVendorAdapter]Vendor existed in memory.Do not need to parse again.vendor name = Hewlett Packard
2016-09-19 13:38:54.816 [INFO (0)] [THREAD(5928)] [CComponentAdapter::isDevSupportServiceAction] dev_id: 574, adapter_name: HPProcurve2626
2016-09-19 13:38:54.886 [WARNING (0)] [THREAD(5928)] [CQvDBReaderADP::~CQvDBReaderADP] Cancel current SQL when data have not be fetched out.
2016-09-19 13:38:54.916 [INFO (0)] [THREAD(5928)] [CCfgFileDataMgr::checkSavedCfgfiles()] File: 16825 will be deleted.
2016-09-19 13:38:55.033 [INFO (0)] [THREAD(5928)] [CCfgFileDataMgr::deleteCfgFileFromDisk] Delete file : C:\Program Files\iMC/server/data/cfgbak/10.10.98.98_running_20160501053247.cfg successfully!
2016-09-19 13:38:55.044 [INFO (0)] [THREAD(5928)] [CCfgFileDataMgr::deleteCfgFileFromDisk] Delete file : C:\Program Files\iMC/server/tmp/running_1857984292.cfg successfully!
2016-09-19 13:38:59.065 [WARNING (32)] [THREAD(15544)] [CComponentAdapter::checkAccessTypeMatchTransferProtocol()] transfer protocol does not match access type,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:59.065 [WARNING (32)] [THREAD(15544)] [CComponentAdapter::isDevSupportServiceAction()] transfer protocol does not match access type,ServiceName =
ConfigBackup,commandName=Custom,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:59.065 [ERROR (18)] [THREAD(15544)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=574,ServiceName = ConfigBackup
2016-09-19 13:38:59.065 [WARNING (32)] [THREAD(15544)] [CComponentAdapter::checkAccessTypeMatchTransferProtocol()] transfer protocol does not match access type,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:59.066 [WARNING (32)] [THREAD(15544)] [CComponentAdapter::isDevSupportServiceAction()] transfer protocol does not match access type,ServiceName =
ConfigBackup,commandName=ICC,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:59.066 [INFO (0)] [THREAD(15544)] [CComponentAdapter::isDevSupportServiceAction] dev_id: 574, adapter_name: HPProcurve2626
2016-09-19 13:38:59.083 [WARNING (102)] [THREAD(15544)] [CFileTransferTask::transferCfgFile] Fail to get item[ ConfFileSuffix ] in file[ C:\Program Files\iMC\server\bin\..\..\server\conf\adapters\ICC
\Hewlett Packard\HPProcurve2626\HPProcurve2626.conf ]
2016-09-19 13:38:59.084 [INFO (0)] [THREAD(15544)] [CThirdPartCfgfileMgr::backupStartup()] Begin to backup startup cfgfile ...
2016-09-19 13:38:59.086 [INFO (0)] [THREAD(15544)] [CScriptProcessor::exec()] Begin to execute, data: ServiceName = ConfigBackupActionName = backup_startup_configInputParam = TFTPFile=C:/Program
Files/iMC/server/tmp/startup_1857985502.cfg?_?TFTPServer=172.28.9.15?_?VpnName=OutputParam = CmdResp = ErrorMessage = ActionResult = 19
2016-09-19 13:38:59.087 [WARNING (32)] [THREAD(15544)] [CComponentAdapter::checkAccessTypeMatchTransferProtocol()] transfer protocol does not match access type,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:59.087 [WARNING (32)] [THREAD(15544)] [CComponentAdapter::isDevSupportServiceAction()] transfer protocol does not match access type,ServiceName =
ConfigBackup,commandName=Custom,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:59.091 [ERROR (18)] [THREAD(15544)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=574,ServiceName = ConfigBackup
2016-09-19 13:38:59.092 [WARNING (32)] [THREAD(15544)] [CComponentAdapter::checkAccessTypeMatchTransferProtocol()] transfer protocol does not match access type,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:59.092 [WARNING (32)] [THREAD(15544)] [CComponentAdapter::isDevSupportServiceAction()] transfer protocol does not match access type,ServiceName =
ConfigBackup,commandName=ICC,iTransferProtocol=3,iAccessType=3
2016-09-19 13:38:59.093 [INFO (0)] [THREAD(15544)] [CComponentAdapter::isDevSupportServiceAction] dev_id: 574, adapter_name: HPProcurve2626
2016-09-19 13:38:59.093 [INFO (0)] [THREAD(15544)] [CScriptProcessor::exec()] Begin to execute by cli.
2016-09-19 13:38:59.093 [INFO (0)] [THREAD(15544)] [CScriptProcessor::exec()] Case_no: 10332_1857985503, service_name: ConfigBackup, action_name: backup_startup_config, input_vars: TFTPFile=C:/Program
Files/iMC/server/tmp/startup_1857985502.cfg?_?TFTPServer=172.28.9.15?_?VpnName=
2016-09-19 13:38:59.119 [INFO (0)] [THREAD(15544)] [CScriptProcessor::exec()] Success to spawn process, pid: 20932
2016-09-19 13:39:23.881 [INFO (0)] [THREAD(15544)] [CScriptProcessor::exec()] Success to execute process, pid: 20932
2016-09-19 13:39:23.881 [INFO (0)] [THREAD(15544)] [CScriptProcessor::exec()] Check result file: C:\Program Files\iMC\server\bin\..\..\server/tmp/scripttool_10332_1857985503.cfg
2016-09-19 13:39:24.889 [INFO (0)] [THREAD(15544)] [imcscriptttol] log: =============================== Begin=============================
2016-09-19 13:39:24.889 [INFO (0)] [THREAD(15544)]
2016-09-19 13:38:59.998 [INFO (0)] [THREAD(4556)] [qvdm::QvGetLogFileSize] get file size from qvdm.conf: 50
2016-09-19 13:39:00.004 [INFO (0)] [THREAD(4556)] [ScriptTool::execScriptAction()] component_name: ICC, service_name: ConfigBackup, action_name: backup_startup_config, input_vars: TFTPFile=C:/Program
Files/iMC/server/tmp/startup_1857985502.cfg?_?TFTPServer=172.28.9.15?_?VpnName=
2016-09-19 13:39:00.027 [INFO (2001)] [THREAD(4556)] [CCLIScriptProcessor::init()] Device login type is 2,dev_id=574,AdaptName=HPProcurve2626
2016-09-19 13:39:00.037 [INFO (-100)] [THREAD(4556)] [CSSHScriptProcessor::init()] Fail to call CSysPara::getPara() to get ssh_client.AdaptName=HPProcurve2626
2016-09-19 13:39:00.038 [INFO (-100)] [THREAD(4556)] [CSSHScriptProcessor::init()] Fail to call CSysPara::getPara() to get sftp_client.AdaptName=HPProcurve2626
2016-09-19 13:39:00.047 [WARNING (0)] [THREAD(4556)] [CQvDBReaderADP::~CQvDBReaderADP] Cancel current SQL when data have not be fetched out.
2016-09-19 13:39:00.047 [INFO (0)] [THREAD(4556)] [CComponentAdapter::parseVendorAdapter()] Begin to parse ...
2016-09-19 13:39:00.069 [INFO (0)] [THREAD(4556)] [CComponentAdapter::parseVendorAdapter()] Finished to parse!
2016-09-19 13:39:00.733 [INFO (0)] [THREAD(4556)] [CCLIScriptProcessor::login_impl()] Begin ...
2016-09-19 13:39:00.733 [INFO (0)] [THREAD(4556)] [CCLIScriptProcessor::login()] Begin ...
2016-09-19 13:39:00.733 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Begin to exec: spawn plink.exe -P 22 manager@10.10.98.98
2016-09-19 13:39:00.768 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Finished.
2016-09-19 13:39:00.768 [INFO (0)] [THREAD(4556)] [CTelnetScriptProcessor::gotoMode()] Begin, ip: 10.10.98.98, current mode: connect, new mode: initialize
2016-09-19 13:39:00.768 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2626/clearup.tcl
2016-09-19 13:39:00.780 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Finished.
2016-09-19 13:39:00.780 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2626/save.tcl
2016-09-19 13:39:00.783 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Finished.
2016-09-19 13:39:00.783 [INFO (0)] [THREAD(4556)] [CTelnetScriptProcessor::gotoMode()] Begin, ip: 10.10.98.98, current mode: connect, new mode: exec
2016-09-19 13:39:00.783 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2626/initialize.tcl
2016-09-19 13:39:00.789 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Finished.
2016-09-19 13:39:00.789 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2626/enter_exec.tcl
2016-09-19 13:39:08.604 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Finished.
2016-09-19 13:39:08.604 [INFO (0)] [THREAD(4556)] [CCLIScriptProcessor::login()] End.
2016-09-19 13:39:08.604 [INFO (0)] [THREAD(4556)] [CTelnetScriptProcessor::gotoMode()] Begin, ip: 10.10.98.98, current mode: exec, new mode: enable
2016-09-19 13:39:08.614 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2626/enter_enable.tcl
2016-09-19 13:39:11.052 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Finished.
2016-09-19 13:39:11.052 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett
Packard/HPProcurve2626/backup_startup_config_cli.tcl
2016-09-19 13:39:21.278 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Finished.
2016-09-19 13:39:21.376 [INFO (0)] [THREAD(4556)] [CPerlExecutor::parse_impl()] Begin ...
2016-09-19 13:39:21.377 [INFO (0)] [THREAD(4556)] [CPerlExecutor::parse_impl()] End !
2016-09-19 13:39:21.378 [INFO (0)] [THREAD(4556)] [CTelnetScriptProcessor::logout()] Begin, DevIP = 10.10.98.98
2016-09-19 13:39:21.378 [INFO (0)] [THREAD(4556)] [CTelnetScriptProcessor::gotoMode()] Begin, ip: 10.10.98.98, current mode: enable, new mode:
2016-09-19 13:39:21.378 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2626/exit_enable.tcl
2016-09-19 13:39:23.814 [ERROR (1)] [THREAD(4556)] [CTclExecutor::exec_impl()] Failed to exec cmd: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett
Packard/HPProcurve2626/exit_enable.tcl, error message: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2626/exit_enable.tcl(7): error: couldn't compile regular
expression pattern: parentheses () not balanced
2016-09-19 13:39:23.814 [ERROR (11)] [THREAD(4556)] [CTelnetScriptProcessor::ExitToMode()] Fail to call oTclExecutor.execFile(), AdaptName = HPProcurve2626.file_name = exit_enable.tcl, DevIP =
10.10.98.98
2016-09-19 13:39:23.814 [ERROR (11)] [THREAD(4556)] [CTelnetScriptProcessor::gotoMode()] Fail to call exitToMode().AdaptName=HPProcurve2626.DevIP = 10.10.98.98.this mode=enable,exit to mode =
2016-09-19 13:39:23.814 [ERROR (11)] [THREAD(4556)] [CTelnetScriptProcessor::logout()] Fail to call exitToMode(). AdaptName=HPProcurve2626. current mode = enable
2016-09-19 13:39:23.814 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Begin to exec: close
2016-09-19 13:39:23.819 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Finished.
2016-09-19 13:39:23.819 [INFO (0)] [THREAD(4556)] [CTelnetScriptProcessor::logout()] End.

2016-09-19 13:39:24.889 [INFO (0)] [THREAD(15544)] [imcscriptttol] log: =============================== End===============================
2016-09-19 13:39:24.912 [INFO (0)] [THREAD(15544)] [CThirdPartCfgfileMgr::backupStartup()] End to backup startup cfgfile.
2016-09-19 13:39:25.912 [INFO (0)] [THREAD(5928)] [CCfgFileRestoreTask::processBackupTransferTaskResult()]Process backup transfer task result: { -- SEQUENCE --
result { -- SEQUENCE --
operStep 'ff'H --
,
result '00'H --
,
stepDetail ''H -- "" --
}
,
devID '023e'H --
,
strSession '33383536'H -- "3856" --,
devDescr '73772d72757468322d72697477622d7374752d352831302e31302e39382e393829'H -- "sw-ruth2-ritwb-stu-5(10.10.98.98)" --,
transferResultList { -- AsnDevFileTransferResultSeqOf SEQUENCE OF AsnTransferCfgFileResult
{ -- SEQUENCE --
resultList { -- AsnCfgBakOprResultList SEQUENCE OF AsnCfgBakOprResult
{ -- SEQUENCE --
operStep '00'H --
,
result '00'H --
,
stepDetail ''H -- "" --
}
}
,
fileType '00'H --
,
cfgFileID '013b1f'H --
,
hostFileName '31302e31302e39382e39385f72756e6e696e675f32303136303931393133333635382e636667'H -- "10.10.98.98_running_20160919133658.cfg" --,
devFileNamePath '31302e31302e39382e39385f72756e6e696e675f32303136303931393133333635382e636667'H -- "10.10.98.98_running_20160919133658.cfg" --
}
{ -- SEQUENCE --
resultList { -- AsnCfgBakOprResultList SEQUENCE OF AsnCfgBakOprResult
{ -- SEQUENCE --
operStep '00'H --
,
result '00'H --
,
stepDetail ''H -- "" --
}
}
,
fileType '01'H --
,
cfgFileID '013b21'H --
,
hostFileName '737461727475705f313835373938353530322e636667'H -- "startup_1857985502.cfg" --,
devFileNamePath '31302e31302e39382e39385f737461727475705f32303136303931393133333835392e636667'H -- "10.10.98.98_startup_20160919133859.cfg" --
}
}

}

2016-09-19 13:39:25.914 [WARNING (32)] [THREAD(5928)] [CComponentAdapter::checkAccessTypeMatchTransferProtocol()] transfer protocol does not match access type,iTransferProtocol=3,iAccessType=3
2016-09-19 13:39:25.914 [WARNING (32)] [THREAD(5928)] [CComponentAdapter::isDevSupportServiceAction()] transfer protocol does not match access type,ServiceName =
ConfigBackup,commandName=Custom,iTransferProtocol=3,iAccessType=3
2016-09-19 13:39:25.915 [ERROR (18)] [THREAD(5928)] [CComponentAdapter::isDevSupportServiceAction()] fail to call getDevAdapterName().DevID=574,ServiceName = ConfigBackup
2016-09-19 13:39:25.915 [WARNING (32)] [THREAD(5928)] [CComponentAdapter::checkAccessTypeMatchTransferProtocol()] transfer protocol does not match access type,iTransferProtocol=3,iAccessType=3
2016-09-19 13:39:25.915 [WARNING (32)] [THREAD(5928)] [CComponentAdapter::isDevSupportServiceAction()] transfer protocol does not match access type,ServiceName =
ConfigBackup,commandName=ICC,iTransferProtocol=3,iAccessType=3
2016-09-19 13:39:25.916 [INFO (0)] [THREAD(5928)] [CComponentAdapter::isDevSupportServiceAction] dev_id: 574, adapter_name: HPProcurve2626
2016-09-19 13:39:25.951 [WARNING (0)] [THREAD(5928)] [CQvDBReaderADP::~CQvDBReaderADP] Cancel current SQL when data have not be fetched out.
2016-09-19 13:39:25.981 [INFO (0)] [THREAD(5928)] [CCfgFileDataMgr::checkSavedCfgfiles()] File: 17788 will be deleted.
2016-09-19 13:39:26.090 [INFO (0)] [THREAD(5928)] [CCfgFileDataMgr::deleteCfgFileFromDisk] Delete file : C:\Program Files\iMC/server/data/cfgbak/10.10.98.98_startup_20160618053226.cfg successfully!
2016-09-19 13:39:26.099 [INFO (0)] [THREAD(5928)] [CCfgFileDataMgr::deleteCfgFileFromDisk] Delete file : C:\Program Files\iMC/server/tmp/startup_1857985502.cfg successfully!

LindsayHill
Honored Contributor

Re: IMC not backing up Procurve 2650's

If a manual psftp fails, then an automated one will too. You need to resolve that problem. I think you might need to open a case with HPE about this. 

If SFTP fails, the adapter falls back to using "show run" and capturing CLI output. You can see that there's a problem with that adapter here:

2016-09-19 13:39:21.378 [INFO (0)] [THREAD(4556)] [CTclExecutor::exec_impl()] Begin to exec: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2626/exit_enable.tcl
2016-09-19 13:39:23.814 [ERROR (1)] [THREAD(4556)] [CTclExecutor::exec_impl()] Failed to exec cmd: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett
Packard/HPProcurve2626/exit_enable.tcl, error message: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/Hewlett Packard/HPProcurve2626/exit_enable.tcl(7): error: couldn't compile regular
expression pattern: parentheses () not balanced

Looking at my lab IMC 7.2 E0403P06 system, the HPProcurve2626 adapter doesn't seem to have a problem with exit_enable.tcl. What version of IMC are you running? What does exit_enable.tcl contain? The other bit is that on my lab system, the HPProcurve2626 adapter doesn't support SFTP. It uses SCP.  I don't know much about this specific device, but it may be that it only supports SCP, not SFTP. It might be worth updating your IMC system.

NCGnet
Occasional Advisor

Re: IMC not backing up Procurve 2650's

We have the same version as yourself, iMC PLAT 7.2 (E0403P06)

NCGnet
Occasional Advisor

Re: IMC not backing up Procurve 2650's

Just tried using SCP and has the same effect as SFTP, the startup config is almost blank and the running config is truncated

LindsayHill
Honored Contributor

Re: IMC not backing up Procurve 2650's

What does exit_enable.tcl and initialize.tcl contain? The logs indicate syntax errors, but my versions look OK. What do yours contain?

Also, you're going to have to log a case about SCP/SFTP not working manually. If the underlying device doesn't work properly, IMC isn't going to be able to fix that.