09-10-2012 09:34 AM - edited 03-10-2019 07:31 PM
I am trying to apply patch 5.2.0.26.10 to a newly installed Cisco Secure ACS Server. When I run the acs patch install command it fails.
Here is my repos config:
repository Update
url sftp://10.134.52.115/
user id4sftp password removed
sh repo Update - output
5-2-0-26-10.tar.gpg
Command Execution:
acs patch install 5-2-0-26-10.tar.gpg repository Update
Response:
Failed to copy file '5-2-0-26-10.tar.gpg' from repository Update
(Error -306)
% Error: patch install 5-2-0-26-10.tar.gpg from repository Update - transfer failed (code 1)
Debugs: (debug transfer 7, debug copy 7) Response
6 [20989]: transfer: cars_xfer.c[47] [admin]: sftp copy in of 5-2-0-26-10.tar.gpg requested
6 [20989]: transfer: cars_xfer_util.c[480] [admin]: resolved server to 10.134.52.115
7 [20989]: transfer: cars_xfer_util.c[487] [admin]: copying /home/id4sftp/5-2-0-26-10.tar.gpg from remote server: 10.134.52.115
7 [20990]: transfer: sftp_copy.c[70] [daemon]: Executing SFTP command: /usr/bin/scp -o StrictHostKeyChecking=no id4sftp@10.134.52.115:/home/id4sftp/5-2-0-26-10.tar.gpg /opt/CSCOacs/patches/5-2-0-26-10.tar.gpg
3 [20989]: transfer: sftp_copy.c[137] [admin]: sftp_copy ERROR: timeout!
Failed to copy file '5-2-0-26-10.tar.gpg' from repository Update
(Error -306)
% Error: patch install 5-2-0-26-10.tar.gpg from repository Update - transfer failed (code 1)
3 [20989]: transfer: sftp_copy.c[230] [admin]: sftp_copy ERROR: command execution failed
Thank you very much for your assistance
David
09-10-2012 09:41 AM
Hi,
There is a bug in the 5.2 code so that when a sftp file transfer takes over 60 seconds it will cause errors, can you try with ftp?
Thanks,
Tarik Admani
*Please rate helpful posts*
09-10-2012 09:47 AM
I will work on trying FTP now. Are there any other options? I am running this in a VM instance, so not exactly sure if I can create an ISO and try to copy from it over to the server then run it.
Thank you
09-10-2012 10:08 AM
Your best bet is to use filezilla server and run it on your host machine that has acs connectivity.
Thanks,
Tarik Admani
*Please rate helpful posts*
09-10-2012 12:59 PM
Tarik,
Thank you very much for your replies.
I was able to perform the update via FTP.
Thank you again
01-12-2016 12:32 PM
I have this problem also, however, I am not allowed to use ftp. I have to use sftp, any help with this will be appreciated.
acs patch install 5-2-0-26-10.tar.gpg repository Update
Response:
Failed to copy file '5-2-0-26-10.tar.gpg' from repository Update
(Error -306)
% Error: patch install 5-2-0-26-10.tar.gpg from repository Update - transfer failed (code 1)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide