cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15140
Views
20
Helpful
19
Replies

WLC 5508 - WebAuth Bundle tar error 256

karloulmi
Level 1
Level 1

Hi all,

I have a new fresh 5508 release 7.0.98.0

When I try to download (I mean upload to the controller) a customized Webauth bundle in .tar format I have the following message error in the syslog :

*TransferTask: Oct 29 12:56:08.894: %UPDATE-3-UNTAR_CMD_FAIL: updcode.c:2832 Error during untar of webauth bundle. Tar returned 256.

If someon could help me...

Thanks

19 Replies 19

CCATTEAU_2
Level 1
Level 1

I run into same issue.

In my case, problem was files rights.They are like this when you download it:

-rw-r--r--  1 278783   25  4967 aoû 24  2005 chassis4402.gif

-rw-r--r--  1 278783   25  3656 déc  9  2005 login.html

Notice owner "278783" and group "25". It should be like this when you upload it.

Tar software I tried under Windows modified it to

-rwxrwxrwx  1 root root  4967 aoû 24  2005 chassis4402.gif
-rwxrwxrwx  1 root root  3656 déc  9  2005 login.html

and transert gives an INVALID_TAR_FILE answer.

I finaly made it work by modifying it under Linux.

Regards

Christophe

superjay007
Level 1
Level 1

Still appears to be a problem on version 7.0.230.0 of the WCS. I used 7zip to open the file, overwritten the login.html file with the one I doctored and added in a picture of a different file name and the upload was sucessful. I'm not sure whether it is hit and miss because the first time I tried this, I received an error message stating that the tar was in an invalid format.

Hi everyone,

I have used 7zip and work but you must enter the following parameters: tar -cvf login.tar ... as advice Tiago Antunes in a earlier answer.

For example, if you want dowload login.html file, for create the package you will enter: tar -cvf login.tar

Regards

tiengkeun
Level 1
Level 1

I can upload to WLC by use 7zip (Windows 7 32bit)

Note - WLC version 7.6.130.30

Old thread, but just hit this problem with 8.3.133.0

 

Solution: Tar the files in Linux (Ubuntu Matte 16.04 worked for me).

 

I kept running into this error on OS X (10.13.2 - High Sierra). You can modify and copy the tar file up just fine from OS X, but only AFTER tar-ing on Linux. I used SFTP throughout.

 

I also replicated this error by downloading the Cisco WebAuth bundle (http://software.cisco.com/download/release.html?mdfid=283848165&flowid=24841&softwareid=282791507&release=1.0.2&relind=AVAILABLE&rellifecycle=&reltype=latest) - the original tar files upload just fine to the controller through OS X. It's only AFTER I extracted and then tar-ed them again (without modifying any content) that the controller then rejects them. 

 

Cheers!

 

Controller ver: 8.3.133.0

 

SFTP transfer of Web authentication bundle starting.
*TransferTask: Jan 12 12:19:37.865: sftp operation returns error code:0 error:Transfer Successful

*TransferTask: Jan 12 12:19:37.891: RESULT_STRING: SFTP receive complete... extracting webauth files.


SFTP receive complete... extracting webauth files.
*TransferTask: Jan 12 12:19:37.892: RESULT_CODE:17

*TransferTask: Jan 12 12:19:41.894: upd_extract_webauth_components

*TransferTask: Jan 12 12:19:41.928: tar_file_name = /mnt/application/webauth.tar

*TransferTask: Jan 12 12:19:41.929: prsnt_strg = tar -C /mnt/application/webauth_ramdisk/ -xf /mnt/application/webauth.tar

*TransferTask: Jan 12 12:19:41.941: tar returned 256

*TransferTask: Jan 12 12:19:41.977: RESULT_STRING: Error extracting webauth files.


Error extracting webauth files.
*TransferTask: Jan 12 12:19:41.978: RESULT_CODE:19

Review Cisco Networking for a $25 gift card