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

Issues upgrading code on WLC

Hi all,

Im having issues uploading code on a WLC in a remote location. The WLC is running 4.0.217.0 and im trying to upgrade to 4.2.209.0. I have checked the upgrade path from current to new version and there is no issue upgrading directly from one to the other.

The issue occurs when I try and upload via TFTP, the Controller starts the code upload and only downloads a portion of the code, starts the extraction then fails with the following messages:

-Sanity check fails

-TFTP failure while storing in Flash

-Failure while storing in Flash.

I've done a debug from the controller and this is the output:

Wed Oct 13 01:56:22 2010: RESULT_STRING: TFTP Code transfer starting.
Wed Oct 13 01:56:22 2010: RESULT_CODE:1
Wed Oct 13 01:56:26 2010: Locking tftp semaphore, pHost=10.198.136.12 pFilename=/AIR-WLC4400-K9-4-2-205-0-ER.aes
Wed Oct 13 01:56:26 2010: Semaphore locked, now unlocking, pHost=10.198.136.12 pFilename=/AIR-WLC4400-K9-4-2-205-0-ER.aes
Wed Oct 13 01:56:26 2010: Semaphore successfully unlocked, pHost=10.198.136.12 pFilename=/AIR-WLC4400-K9-4-2-205-0-ER.aes
Wed Oct 13 01:56:35 2010: tftp rc=0, pHost=10.198.136.12 pFilename=/AIR-WLC4400-K9-4-2-205-0-ER.aes
                                                                                                        pLocalFilename=/mnt/download/local.tgz
Wed Oct 13 01:56:35 2010: tftp = 6, file_name=/AIR-WLC4400-K9-4-2-205-0-ER.aes, ip_address=10.198.136.12, msg=Unknown error - refer to log
Wed Oct 13 01:56:35 2010: upd_get_code_via_tftp = 6 (target=268435457 msg=Unknown error - refer to log)
Wed Oct 13 01:56:35 2010: RESULT_STRING: TFTP receive complete... extracting components.
Wed Oct 13 01:56:35 2010: RESULT_CODE:6
Wed Oct 13 01:56:39 2010: RESULT_STRING: Sanity check failed on file. The file was not downloaded completely!
Wed Oct 13 01:56:43 2010: RESULT_STRING: TFTP Failure while storing in flash!
Wed Oct 13 01:56:43 2010: RESULT_CODE:7

I've tried using a TFTP server (both 3Com and TFTPd) on a local server on site and its still fails. I've also tried using several servers
as the TFTP server and still no luck.

Does anyone have any idea why this is still failing? Could this possibly be a lack of space issue on the flash?

cheers

Rob

Everyone's tags (5)
6 REPLIES
Hall of Fame Super Gold

Re: Issues upgrading code on WLC

Can you try to download the WLC code again?

Community Member

Re: Issues upgrading code on WLC

I've tried many times, from different locations, servers and using differet TFTP server software...

Hall of Fame Super Gold

Re: Issues upgrading code on WLC

I meant your WLC IOS/firmware as I suspect it could be corrupt.

Community Member

Re: Issues upgrading code on WLC

I've downloaded it from Cisco a few times and run an MD5 Hash checker against the code and it comes up fine.

Once I uploaded it to the server I ran the hash check again and its also ok. I tried uploading an older version of the WLC code to the controller and its also failed with the same errors.

Cisco Employee

Re: Issues upgrading code on WLC

Hi,

"Sanity check failed on file. The file was not downloaded completely! "  - This error log is seen only if upgrade path is not right or if TFTP server which you are using does not support transfer of mor ethan 32MB file.

I understand that you have already tried many tftp servers. If in case, you haven't tried tfttpd32 yet, please download it and give it a try as Cisco recommends to use tftpd32 server.

Regards,

Madhuri

Community Member

This error on WLC is sometime

This error on WLC is sometime due to when you are not giving the right path on the tftp server.

There are many more way you can get this error.

2926
Views
0
Helpful
6
Replies
CreatePlease to create content