Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Cannot upgrade ACS 5.2 transfer failed (code 1)

Hello,

I am facing an issue with several ACS appliances (some other work well) when upgrading to version 5.2.0.26.8.

When I launch the command acs patch install, I receive the following error message (we use FTP):

Failed to copy file '5-2-0-26-8.tar.gpg' from repository PatchRepository

(Error -302)

% Error: patch install 5-2-0-26-8.tar.gpg from repository PatchRepository - transfer failed (code 1)

This happens on three appliances but I could successfully upgrade 4 other appliances.

What is the reason behind this error code ? What could I do solve it ? I have already tried to create another repository on another server, without success.

Thanks for your help.

5 REPLIES

Cannot upgrade ACS 5.2 transfer failed (code 1)

When you use the command "show repository " are you able to see the files? Also if you telnet to port 21 to the ip of the ftp server is it open?

thanks,

Tarik Admani

Tarik Admani *Please rate helpful posts*
New Member

Cannot upgrade ACS 5.2 transfer failed (code 1)

Hello,

When I do this, I obtain the reply: % Error reading directory on remote server

I then configured another Repository pointing on another server and then the download starts but stops after few Mb of download.

I think it is because of the disk full.

show disks

disk: 1% used (86080 of 65539868)
temp. space 1% used (51412 of 8063408)

Internal filesystems:
  warning - /opt is 100% used (362840208 of 362854908)

Can you help me in freeing some space on the internal filesystems ?

Thanks a lot,

David

Cannot upgrade ACS 5.2 transfer failed (code 1)

There is a command you can use to free up some space.

It is acs delete log ..

http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.2/command/reference/cli_app_a.html#wp1887380

When you issue the command show acs-logs you will see a ton of logs here. You can only delete the logs that have rolled over ie...acsRuntime.log.1 and not acsRuntime.log which is still in use or being written to.

Best thing i have found is to copy all the logs to notepad and then append the "acs delete log" to the front and copy and paste them in at about 10 at a time.

You are also hitting a bug where may have to reimage.

Keep in mind you will lose those logs.

thanks,

Tarik Admani

Tarik Admani *Please rate helpful posts*
New Member

Cannot upgrade ACS 5.2 transfer failed (code 1)

Hello,

After having removed some logs, the upgrade could begin and the has been fully downloaded from the FTP server. However, the install does not complete and we see the error message:

chmod: cannot access `*.sh': No such file or directory Invalid patch '5-2-0-26-8.tar.gpg' - missing install.sh

% Error: Failure to open / validate the patch

We have found some similar issues by some people but they were using TFTP and using FTP solved their issues. However, we are already using FTP...

Note that the same file has already been used to upgrade our 7 other ACS servers so the file is not faulty.

Any suggestions ?

Thanks a lot.

New Member

Cannot upgrade ACS 5.2 transfer failed (code 1)

Even if we delete all the log files we still have

gvecsl0001acs/admin# show disks

disk: 1% used (86080 of 65539868)
temp. space 1% used (59072 of 8063408)

Internal filesystems:
  warning - /opt is 100% used (362785688 of 362854908)

The remaining logs are very small:

gvecsl0001acs/admin# show acs-logs details

Filesize (kb)   Date   Time   Filename

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2990            Dec 7  16:20  ACSADAgent.log

1               Dec 6  10:25  acsbackup_instance.log

25              Dec 7  10:54  acsLogForward.log

769             Dec 7  11:00  ACSManagementAudit.log

20618           Dec 7  16:10  ACSManagement.log

1144            Dec 7  10:55  acsRuntime.log

370             Dec 7  10:55  acsupgrade.log

347             Dec 7  16:17  monit.log

2609            Dec 7  16:20  MonitoringAndReportingAlert.log

2280            Dec 1  13:55  MonitoringAndReportingAlert.log.1

2072            Dec 1  15:06  MonitoringAndReportingCollector.log

5122            Dec 1  15:05  MonitoringAndReportingCollector.log.1

7               Dec 7  16:15  MonitoringAndReportingDatabase.log

1001            Dec 7  14:45  MonitoringAndReportingDatabase.log.old

189             Aug 11 16:46  MonitoringAndReportingExpertTroubleshooting.log

2427            Dec 7  16:20  MonitoringAndReportingProcess.log

7722            Aug 9  13:04  MonitoringAndReportingProcess.log.1

0               May 13 2011   MonitoringAndReportingScheduler.log

3276            Dec 7  10:48  MonitoringAndReportingUI.log

11              Dec 7  10:56  reportService.0.gvecsl0001acs.2011Dec07_01_55_48_Pacific_Standard_Time.0.log

17              Dec 7  13:43  acsLocalStore.log

32              Dec 7  10:57  catalina.2011-12-07.log

567             Dec 7  11:00  catalina.out

6192            Nov 29 07:27  catalina.out.1

3483            Dec 7  16:10  dberr.log

Can anyone help me doing a lot of free space on the internal disks ? I cannot upgrade.

Thanks a lot for your help,

David

3662
Views
0
Helpful
5
Replies
CreatePlease to create content