tar /x tftp rror opening flash/xxx.bin (No such file or directory

Unanswered Question
May 13th, 2010

Switch#tar /x tftp://ip address/c3500xl-c3h2s-tar.120-5.WC17.tar flash

Loading c3500xl-c3h2s-tar.120-5.WC17.tar from 152.10.168.3 (via VLAN1): !

extracting c3500xl-c3h2s-mz.120-5.WC17.bin (1811552 bytes)

%Error opening flash/c3500xl-c3h2s-mz.120-5.WC17.bin (No such file or directory

I have tried on two 3512-XL-EN,same problem  so I've no idea how to upgrade ios in a normal way,at this point my solution is copy all the files one by one using copy tftp flash  (fortunately there are less than 20 files)

---------------------------------------

tftp server log:Solar WInds tftp server 10.4.0.10

2010-05-13 04:05:34,250 [3] INFO  TFTPServer.Service.PacketParser.RequestPacket - Received request packet, file name: c3500xl-c3h2s-tar.120-5.WC17.tar, transfer mode: binary, block size: , tsize: , timeout:

2010-05-13 04:05:34,250 [6] INFO  TFTPServer.Service.ConnectionPool - Beginning processing GET request from 152.10.168.11:57520, file name: c3500xl-c3h2s-tar.120-5.WC17.tar, transfer mode: binary,

2010-05-13 04:05:34,281 [3] INFO  TFTPServer.Service.PacketParser.ErrorPacket - <log4net.Error>Exception during StringFormat: Input string was not in a correct format. <format>Received error packet, code: {0}, message: {1w}.</format><args>{Disk full or allocation exceeded, Buffer overflow}</args></log4net.Error>

2010-05-13 04:05:34,359 [5] INFO  TFTPServer.Service.PacketParser.RequestPacket - Received request packet, file name: c3500xl-c3h2s-tar.120-5.WC17.tar, transfer mode: binary, block size: , tsize: , timeout:

2010-05-13 04:05:34,390 [3] INFO  TFTPServer.Service.TransmissionGet - Received error packet, tearing down connection. Error code: Disk full or allocation exceeded, message: Buffer overflow

2010-05-13 04:05:34,390 [6] INFO  TFTPServer.Service.ConnectionPool - Beginning processing GET request from 152.10.168.11:55369, file name: c3500xl-c3h2s-tar.120-5.WC17.tar, transfer mode: binary,

2010-05-13 04:05:34,406 [3] INFO  TFTPServer.Service.PacketParser.ErrorPacket - <log4net.Error>Exception during StringFormat: Input string was not in a correct format. <format>Received error packet, code: {0}, message: {1w}.</format><args>{Unknown, Session terminated}</args></log4net.Error>

2010-05-13 04:05:34,406 [3] INFO  TFTPServer.Service.TransmissionGet - Received error packet, tearing down connection. Error code: Unknown, message: Session terminated

-----------------------------

Using WIreShark,I see 2 error packages every time I do this

first one is buffer overflow code 3

and the second one is unknown error code 0 and session terminated

------------------------------------------------

I think something might cause this problem is flash directory

Switch#dir

Directory of flash:/

  2  -rwx     1811584   Jan 01 1970 00:09:34  c3500xl-c3h2s-mz.120-5.WC17.bin

  3  -rwx       94680   Jul 18 2000 01:47:40  c3500XL-diag-mz-120.5.2-XU

  4  drwx          64   Mar 01 1993 00:32:11  html

  6  -rwx         437   Jan 01 1970 00:03:38  env_vars

  8  -rwx         809   Mar 01 1993 00:10:23  config.text

3612672 bytes total (1703424 bytes free)

Switch#dir flash

Directory of flash:/flash

No such file

3612672 bytes total (1703424 bytes free)

weird? in the documents it shouldn't be no such file.... dir works as dir flash and dir flash doesn't work?

--------------------

I also tried Tftpd32,still same problem

any cure? Thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
spremkumar Thu, 05/13/2010 - 07:35

hi

I see you tried with tar /x tftp://ip address/c3500xl-c3h2s-tar.120-5.WC17.tar flash

can you try tar /x tftp://ip address/c3500xl-c3h2s-tar.120-5.WC17.tar flash:

regds

ganeshh.iyer Fri, 05/14/2010 - 04:13

Switch#tar /x tftp://ip address/c3500xl-c3h2s-tar.120-5.WC17.tar flash

Loading c3500xl-c3h2s-tar.120-5.WC17.tar from 152.10.168.3 (via VLAN1): !

extracting c3500xl-c3h2s-mz.120-5.WC17.bin (1811552 bytes)

%Error opening flash/c3500xl-c3h2s-mz.120-5.WC17.bin (No such file or directory

I have tried on two 3512-XL-EN,same problem  so I've no idea how to upgrade ios in a normal way,at this point my solution is copy all the files one by one using copy tftp flash  (fortunately there are less than 20 files)

---------------------------------------

tftp server log:Solar WInds tftp server 10.4.0.10

2010-05-13 04:05:34,250 [3] INFO  TFTPServer.Service.PacketParser.RequestPacket - Received request packet, file name: c3500xl-c3h2s-tar.120-5.WC17.tar, transfer mode: binary, block size: , tsize: , timeout:

2010-05-13 04:05:34,250 [6] INFO  TFTPServer.Service.ConnectionPool - Beginning processing GET request from 152.10.168.11:57520, file name: c3500xl-c3h2s-tar.120-5.WC17.tar, transfer mode: binary,

2010-05-13 04:05:34,281 [3] INFO  TFTPServer.Service.PacketParser.ErrorPacket - Exception during StringFormat: Input string was not in a correct format. Received error packet, code: {0}, message: {1w}.{Disk full or allocation exceeded, Buffer overflow}

2010-05-13 04:05:34,359 [5] INFO  TFTPServer.Service.PacketParser.RequestPacket - Received request packet, file name: c3500xl-c3h2s-tar.120-5.WC17.tar, transfer mode: binary, block size: , tsize: , timeout:

2010-05-13 04:05:34,390 [3] INFO  TFTPServer.Service.TransmissionGet - Received error packet, tearing down connection. Error code: Disk full or allocation exceeded, message: Buffer overflow

2010-05-13 04:05:34,390 [6] INFO  TFTPServer.Service.ConnectionPool - Beginning processing GET request from 152.10.168.11:55369, file name: c3500xl-c3h2s-tar.120-5.WC17.tar, transfer mode: binary,

2010-05-13 04:05:34,406 [3] INFO  TFTPServer.Service.PacketParser.ErrorPacket - Exception during StringFormat: Input string was not in a correct format. Received error packet, code: {0}, message: {1w}.{Unknown, Session terminated}

2010-05-13 04:05:34,406 [3] INFO  TFTPServer.Service.TransmissionGet - Received error packet, tearing down connection. Error code: Unknown, message: Session terminated

-----------------------------

Using WIreShark,I see 2 error packages every time I do this

first one is buffer overflow code 3

and the second one is unknown error code 0 and session terminated

------------------------------------------------

I think something might cause this problem is flash directory

Switch#dir

Directory of flash:/

  2  -rwx     1811584   Jan 01 1970 00:09:34  c3500xl-c3h2s-mz.120-5.WC17.bin

  3  -rwx       94680   Jul 18 2000 01:47:40  c3500XL-diag-mz-120.5.2-XU

  4  drwx          64   Mar 01 1993 00:32:11  html

  6  -rwx         437   Jan 01 1970 00:03:38  env_vars

  8  -rwx         809   Mar 01 1993 00:10:23  config.text

3612672 bytes total (1703424 bytes free)

Switch#dir flash

Directory of flash:/flash

No such file

3612672 bytes total (1703424 bytes free)

weird? in the documents it shouldn't be no such file.... dir works as dir flash and dir flash doesn't work?

--------------------

I also tried Tftpd32,still same problem

any cure? Thanks

As suggested by premkumar try with the following command switch# tar /x tftp://server_ip_address//path/filename.tar flash: and make sure to have insert a single space after tar, after /x, and before flash:

Hope to help !!

Ganesh.H

Remember to rate the helpful post

Actions

Login or Register to take actions

This Discussion

Posted May 13, 2010 at 2:33 AM
Stats:
Replies:2 Avg. Rating:
Views:2520 Votes:0
Shares:0

Related Content

Discussions Leaderboard

Rank Username Points
1 15,007
2 8,150
3 7,730
4 7,083
5 6,742
Rank Username Points
160
77
70
69
50