cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8918
Views
5
Helpful
11
Replies

Permision denied when i m extracting a tar file

Hi, i got this error when im trying to extract a tar file, someone know this message?

thank you

ap: set

DEFAULT_GATEWAY=192.168.0.1

DEFAULT_ROUTER=192.168.0.1

IP_ADDR=192.168.0.100

IP_ADDRESS=192.168.0.100

IP_SUBNET_MASK=255.255.255.0

NETMASK=255.255.255.0

TFTP_FILE=c1240-k9w7-tar.124-10b.JA.tar

TFTP_SERVER=192.168.0.200

ap: tar -xtract tftp://192.168.0.200/ios/c1240-k9w7-tar.124-10b.JA.tar flash:

tftp://192.168.0.200/ios/c1240-k9w7-tar.124-10b.JA.tar: permission denied

ap: tar -xtract tftp://192.168.0.200/ios/c1240-k9w7-tar.124-10b.JA.tar flash:

tftp://192.168.0.200/ios/c1240-k9w7-tar.124-10b.JA.tar: permission denied




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
1 Accepted Solution

Accepted Solutions

In TFTP server, if you set your working directory is IOS, you just need to run the command

ap: tar -xtract tftp://192.168.0.200/c1240-k9w7-tar.124-10b.JA.tar flash:

Without the path ios because it is set to the working directory ios.

View solution in original post

11 Replies 11

Scott Fella
Hall of Fame
Hall of Fame

Have you tried to download the firmware again.  File might be corrupted.  I'm guessing that your TFTP is working and your FW is off.

-Scott
*** Please rate helpful posts ***

Thanks for your prompt response, i will try to download another IOS




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

i have added an image from my tftp server. thank you




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

maldehne
Cisco Employee
Cisco Employee

Also make sure that the file extension is not hidden .

Hi, thanks, the extension on the file is hidden, i added the extension but it is not working




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

are you able to ping the AP from the TFTP server?

Also can u try to check if there is any other application using the TFTP port on your server ?

netstat -a -no

You can try to have TFTP installed on another machine and see how it goes

You have other entries that don't need to be there.  I use 3cdeamon for my tftp.... look at this doc:

https://supportforums.cisco.com/docs/DOC-14636

      

Scroll down to this section Using a TFTP Server to Return to a Previous Release

-Scott
*** Please rate helpful posts ***

im using 3cdaemon, but it is no working i have attached an image when the tftp cannot open the file.




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

In TFTP server, if you set your working directory is IOS, you just need to run the command

ap: tar -xtract tftp://192.168.0.200/c1240-k9w7-tar.124-10b.JA.tar flash:

Without the path ios because it is set to the working directory ios.

YOU ROCK!!!!!

Thank you!!!!!




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Normally If you want to mention the file name directly in the URL you have to make sure that it has been added to the root directory defined on your TFTP server.

Review Cisco Networking products for a $25 gift card