- Community Home
- >
- Networking
- >
- IMC
- >
- Deploy Device Software - Failed - SSH or SFTP CLI ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2013 09:37 AM
09-11-2013 09:37 AM
Deploy Device Software - Failed - SSH or SFTP CLI error
I am fairly new to IMC and I am unable to update my switch's (2910al-24G POE) software via IMC.
Below are the details of the failed task.
Upload software to device from iMC Server by script. SSH or SFTP CLI error. Check the following: 1. The SSH and SFTP configuration is correct. 2. The CLI format in file /iMC/server/conf/ssh_sftp_client.cfg is correct. 3. The SSH and FTP client names are the same as those in file ssh_sftp_client.cfg
I do not believe it is an SSH issue as I am able to import software from the same switch into my Software Library.
Below are the details of my ssh_sftp_client.cfg
#windows putty ssh-cmd = plink.exe [-i $key-file] $user-name@$device-ip sftp-cmd = psftp.exe [-i $key-file] $user-name@$device-ip
Both executables are located in my iMC\server\bin directory.
Any thoughts or suggestions?
Thanks in advance for any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2013 02:00 PM
09-19-2013 02:00 PM
Re: Deploy Device Software - Failed - SSH or SFTP CLI error
So it looks like it was a user error. I had a typo in the SFTP CLient setting located under System Settings.
I am now able to deploy the software to the switch but it fails to reboot and actually update it as the startup software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2013 03:08 PM
09-19-2013 03:08 PM
Re: Deploy Device Software - Failed - SSH or SFTP CLI error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2013 08:14 AM
09-20-2013 08:14 AM
Re: Deploy Device Software - Failed - SSH or SFTP CLI error
I don't recall why, it's been a while since we installed IMC and now. I think because we initially had the Putty files located in a seperate directory and not the iMC\server\bin directory.
Any thoughts on why the switch fails to reboot during the softwre upgrade? I see another user has the same issue.
Also - when I am attempting to test a "Restore Device Software" from IMC, I get a message "Device "IP address" operation timed out" even though I am sitting here pinging that device the entire time.
IMC appears to have tons of bugs compared to PCM, and not a lot of answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2013 06:27 PM
09-21-2013 06:27 PM
Re: Deploy Device Software - Failed - SSH or SFTP CLI error
@weird_harold wrote:I don't recall why, it's been a while since we installed IMC and now. I think because we initially had the Putty files located in a seperate directory and not the iMC\server\bin directory.
Any thoughts on why the switch fails to reboot during the softwre upgrade? I see another user has the same issue.
Also - when I am attempting to test a "Restore Device Software" from IMC, I get a message "Device "IP address" operation timed out" even though I am sitting here pinging that device the entire time.
IMC appears to have tons of bugs compared to PCM, and not a lot of answers.
Couple of things:
* It doesn't matter where you install PuTTy - iMC ships with its own binaries. You should only change the sftp client config if you have a very specific reason for using something else.
* Pinging the device is irrelevant - it's the operation that's timing out (i.e. it does something, and doesn't get an acceptable response in the right timeframe) - this usually isn't related to device reachability.
* PCM is a very, very limited product, with a narrow set of features aimed at a small range of devices. It's not surprising that iMC has more issues - it's trying to do far more, with a far wider range to managed devices.
Try looking in the logs in <IMC>/server/conf/log to see what's going on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2013 01:39 PM
09-30-2013 01:39 PM
Re: Deploy Device Software - Failed - SSH or SFTP CLI error
This may help your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2015 01:39 AM
01-06-2015 01:39 AM
Re: Deploy Device Software - Failed - SSH or SFTP CLI error
hello
Have the same problem here.
IMC 7.1 (E0303)
I just want only manage ProCurve devices.
There seems to be a fundamental problem.
I can directly access each switch with Putty.
An update of the device software with IMC does not work.
Does anyone have an idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2015 05:19 AM
11-06-2015 05:19 AM
Re: Deploy Device Software - Failed - SSH or SFTP CLI error
Having the same problem.
We are using iMC 7.1 (E0303P06) and are unable to Deploy Device Software...
every thing else seem to work fine, ive also tried to connect to the switch (2810) with psftp.exe from the cmd console of the imc server, which works...
but when i try to deploy new firmware from IMC i get error:
'SSH or SFTP CLI error
Check the following:
1. The SSH and SFTP configuration is correct.
2. The CLI format in file /iMC/server/conf/ssh_sftp_client.cfg is correct.
3. The SSH and FTP client names are the same as those in file ssh_sftp_client.cfg.'
I've checked ssh_sftp_client and as far as i can see, it seems to be the default values?
#windows putty
ssh-cmd = plink.exe [-i $key-file] $user-name@$device-ip
sftp-cmd = psftp.exe [-i $key-file] $user-name@$device-ip
I've also checked the log directory (C:\Program Files\iMC\server\conf\log) for any changes to the log files.
Not quite sure which log file i should take a clooser look at, but from the timestamp it seems to bee imcacldm.2015-11-06..
heres a little snip of the log:
2015-11-06 03:41:53.872 [ERROR (2)] [THREAD(5304)] [CSSHService::receive()] Failed to call getresponse()
2015-11-06 03:41:53.928 [INFO (0)] [THREAD(5304)] call getConfigFromDev, The dev ID is :455
2015-11-06 03:41:54.163 [INFO (0)] [THREAD(5304)] end call getConfigFromDev, The dev ID is :455
2015-11-06 03:41:54.163 [INFO (0)] [THREAD(5304)] CACLOptDev::switchACLParasetToSnacc() paraset ANALYSEACL is not have
2015-11-06 03:41:54.163 [INFO (0)] [THREAD(5304)] call getConfigFromDev, The dev ID is :455
2015-11-06 03:41:55.020 [INFO (0)] [THREAD(5304)] end call getConfigFromDev, The dev ID is :455
2015-11-06 03:41:55.082 [ERROR (0)] [THREAD(5304)] [CACLDevMgrTask::processPollMsg()] Update acl pool error, dev_id = 455
2015-11-06 03:42:30.197 [INFO (0)] [THREAD(5404)] [CACLTaskMgr::createTask()] Task manager 0 receive 1062
2015-11-06 03:42:30.197 [INFO (0)] [THREAD(5404)] [CACLTask::reqMsgProcess()] 1062
2015-11-06 03:42:40.990 [INFO (0)] [THREAD(5404)] [CACLTaskMgr::createTask()] Task manager 0 receive 20034
2015-11-06 03:42:54.594 [ERROR (2)] [THREAD(5392)] [CSSHService::receive()] Failed to call getresponse()
2015-11-06 03:42:54.650 [INFO (0)] [THREAD(5392)] call getConfigFromDev, The dev ID is :480
2015-11-06 03:42:54.820 [INFO (0)] [THREAD(5392)] end call getConfigFromDev, The dev ID is :480
2015-11-06 03:42:54.820 [INFO (0)] [THREAD(5392)] CACLOptDev::switchACLParasetToSnacc() paraset ANALYSEACL is not have
2015-11-06 03:42:54.820 [INFO (0)] [THREAD(5392)] call getConfigFromDev, The dev ID is :480
2015-11-06 03:42:56.578 [INFO (0)] [THREAD(5392)] end call getConfigFromDev, The dev ID is :480
2015-11-06 03:42:56.588 [ERROR (0)] [THREAD(5392)] [CACLDevMgrTask::processPollMsg()] Update acl pool error, dev_id = 480
Hoping someone in here can help. tried google but havnt found anything helpfull as of yet...