APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Posted: 2021-06-30 06:18 AM . Last Modified: 2024-03-08 01:18 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 06:18 AM . Last Modified: 2024-03-08 01:18 AM
I'm trying to update the firmware for several AP8965 PDUs, using scp. I am running into the following error:
apc-scp: file open error
None of the other firmware update methods are practical. I'm sure that I have the right authentication. Some info about one of the PDUs:
Schneider Electric Network Management Card AOS v6.5.6
(c) Copyright 2018 All Rights Reserved RPDU 2g APP v6.5.6
-------------------------------------------------------------------------------
Name : apc1A8E03 Date : 03/08/2021
Contact : Unknown Time : 17:14:22
Location : Unknown User : Super User
Up Time : 5 Days 0 Hours 36 Minutes Stat : P+ N4? N6+ A+
Type ? for command listing
Use tcpip command for IP address(-i), subnet(-s), and gateway(-g)
apc>about
E000: Success
Hardware Factory
---------------
Model Number: AP8965
Serial Number: 5A1910E00185
Hardware Revision: 02
Manufacture Date: 03/04/2019
MAC Address: 28 29 86 1A 8E 03
Management Uptime: 5 Days 0 Hours 36 Minutes
Network Management Card
---------------
Model Number: AP9538
Serial Number: 5A1909E13152
Hardware Revision: 05
Manufacture Date: 03/03/2019
Application Module
---------------
Name: rpdu2g
Version: v6.5.6
Date: Apr 24 2018
Time: 11:42:41
APC OS(AOS)
---------------
Name: aos
Version: v6.5.6
Date: Mar 30 2018
Time: 16:51:08
APC Boot Monitor
---------------
Name: bootmon
Version: v1.0.8
Date: Apr 8 2014
Time: 10:59:40
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 06:18 AM . Last Modified: 2024-03-08 01:17 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 06:18 AM . Last Modified: 2024-03-08 01:17 AM
The thing I was doing wrong was not specifying the destination filename, which your comment above helped clarify. The other thing I found was after the first 2 scp commands (bootmon and os) I had to specify the cipher aes256-cbc to transfer the application. Thank you for your help!
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 06:18 AM . Last Modified: 2024-03-08 01:17 AM
Hi Owen,
I would always recommend using FTP but note that some firewall configurations will interfere with FTP.
First you need to log into the device via SSH or Serial and enable FTP using this command:
ftp -S enable
Next you need to download the correct files:
https://www.se.com/ww/en/faqs/FA410359/
Extract the files and the go into the bin folder
Connect to the NMC using FTP, I recommend the WinSCP client,
Upload "apc_hw05_bootmon_109.bin" to the root,
The NMC will reboot,
Reconnect via FTP,
Upload "apc_hw05_aos_696.bin" to the root,
The NMC will reboot,
Reconnect via FTP,
Upload "apc_hw05_xx_696.bin" to the root, (xx is stand in to the appropriate application name)
The NMC will reboot for the final time.
-Gavan
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 06:18 AM . Last Modified: 2024-03-08 01:17 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 06:18 AM . Last Modified: 2024-03-08 01:17 AM
I work at a large company and yes, ftp is blocked by firewalls. It would be basically impossible for me to get that changed. Is there no way to get a better diagnosis on why scp won't work? The manual clearly says its supported.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 06:18 AM . Last Modified: 2024-03-08 01:17 AM
Well it's an identical process except you use SCP instead of FTP
Extract the files and the go into the bin folder
Run the following commands:
scp apc_hw05_bootmon_109.bin apc@IP-OF-NMC:apc_hw05_bootmon_109.bin
Accept the host key
Enter the password
The NMC will reboot,
scp apc_hw05_aos_696.bin apc@IP-OF-NMC:apc_hw05_aos_696.bin
Enter the password
The NMC will reboot,
scp apc_hw05_xx_696.bin apc@10.216.253.71:apc_hw05_xx_696 (xx is stand in to the appropriate application name)
Enter the password
The NMC will reboot for the final time.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 06:18 AM . Last Modified: 2024-03-08 01:17 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 06:18 AM . Last Modified: 2024-03-08 01:17 AM
The thing I was doing wrong was not specifying the destination filename, which your comment above helped clarify. The other thing I found was after the first 2 scp commands (bootmon and os) I had to specify the cipher aes256-cbc to transfer the application. Thank you for your help!
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.