cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 9

TFTP server error

Attempting to transfer file to Cisco 2924 XL switch of 8mb ram from server 192.168.0.102 to switch address 192.168.0.10

Configured TFTP ok..

Both devices can ping each other ok

When attempting to copy file to switch..gets error of timed out

Below are commands used..

On the switch (Logged in as admin)

Switch#copy tftp flash:

Address or name of remote host [192.168.0.102]?

Source filename [cp7912080003sccp070409a.sbin]?

Destination filename [cp7912080003sccp070409a.sbin]?

Accessing tftp://192.168.0.102/cp7912080003sccp070409a.sbin...

%Error opening tftp://192.168.0.102/cp7912080003sccp070409a.sbin (Timed out)

Switch#

The log for TFTP server shows no ip address in range of allowed addresses..

Any ideas are greatly appreciated...

26 Replies
Level 7

For other people who encounter this issue as well on Cisco devices, note that most Cisco platforms by default source TFTP traffic from a management interface (look for something like this in the configuration: ip tftp source-interface GigabitEthernet0). If this interface is not configured and running, TFTP traffic to/from this device will fail. The easy fix is to change the source interface to one with a valid IP that is operational.

I had this issue as well and the problem was the TFTP server itself. Under File, Configure, Security, under the IP Address Restrictions section there's a radial option that says "Allow all IP addresses to send/receive files" or "Only allow the following IP addresses to send/receive files" and for some reason the latter button was clicked and therefore my transfer wouldn't work because it wasn't in that specified range! I clicked allow all and it worked after that. Sorry for such a delayed reply to this but I stumbled across this question hoping it had a solution, and when I found out for myself what had caused it I thought I should post my answer and resolve the question (hopefully!). Hope this helps! Cheers!

0 Kudos
Level 10

I'm also having issues with TFTP server.  I am running ETS 10.9.  I'm trying to pull a FTOS bin image file from my TFTP directory to a Force10 S50N.  I've done it tons of times before.  Not sure if .Net update broke something.  The I either get a time out of the TFTP server GUI crashes.  Now that I look at the output I'm wondering if I have multiple versions of TFTP server screwing things up.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at TFTPServer.GUI.ConfigForm.LoadServerBinding(String input)
   at TFTPServer.GUI.ConfigForm.ConfigForm_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TFTPServer
    Assembly Version: 10.8.1.19
    Win32 Version: 10.8.1.19
    CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/TFTP%20Server/TFTPServer.exe
----------------------------------------
SolarWinds.Logging
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/TFTP%20Server/SolarWinds.Logging.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.F...
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SolarWinds.Net.ApplicationImprovementProgramLibrary
    Assembly Version: 10.8.1.19
    Win32 Version: 10.8.1.19
    CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/TFTP%20Server/SolarWinds.Net.ApplicationImprovementPro...
----------------------------------------
TFTPServerRemoteObject
    Assembly Version: 10.8.1.19
    Win32 Version: 10.8.1.19
    CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/TFTP%20Server/TFTPServerRemoteObject.DLL
----------------------------------------
TranslationManager
    Assembly Version: 10.8.1.19
    Win32 Version: 10.8.1.19
    CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/TFTP%20Server/TranslationManager.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configura...
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
log4net
    Assembly Version: 1.2.10.0
    Win32 Version: 1.2.10.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/TFTP%20Server/log4net.DLL
----------------------------------------
TFTPServerStringResources
    Assembly Version: 10.8.1.19
    Win32 Version: 10.8.1.19
    CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/TFTP%20Server/TFTPServerStringResources.DLL
----------------------------------------
TFTPServerStringResources.resources
    Assembly Version: 10.8.1.19
    Win32 Version: 10.8.1.19
    CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/TFTP%20Server/ja-JP/TFTPServerStringResources.resource...
----------------------------------------
DataStorage
    Assembly Version: 10.8.1.19
    Win32 Version: 10.8.1.19
    CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/TFTP%20Server/DataStorage.DLL
----------------------------------------
ToolSet.Banner
    Assembly Version: 10.8.1.19
    Win32 Version: 10.8.1.19
    CodeBase: file:///C:/Program%20Files%20(x86)/SolarWinds/TFTP%20Server/ToolSet.Banner.DLL
----------------------------------------
System.ServiceProcess
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceP...
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


0 Kudos

That was the problem.  Uninstalled and then downloaded/installed latest version from SolarWinds.  Now it works.

0 Kudos

This is probably obvious but is the TFTP Server service started? At the bottom of the Solarwinds TFTP Server window it should have "TFTP Server service status : Started". It doesn't start by default.

And is the file you are trying to copy located in the TFTP Server Root Directory? This is configured on the General tab in Configure.

And lastly on the Security Tab is Permitted Transfer Types set to either 'Send files' or 'Send and Receive files'? And in IP Address Restrictions is 'Allow all IP addresses to send/receive files' selected.

0 Kudos

Thanks for the reponse...Yes to each of these..

On Mon, Feb 11, 2013 at 3:04 PM, superfly99 <

Can you send or receive files from this TFTP server to other network devices?

0 Kudos

Thanks for your response.

Other devices are ok. To confirm each of your questions.

There is also another Tab called Server bindings..that appears ok.

There error log shows ok.

I ran netstat -an |find ":69" from CLI

Output is...

TCP :53 :0 LISTENING

UDP :53 :

UDP :88 :

UDP :389 :

UDP :464 :

I am running vmware server version 2 with Ubuntu linux (but that isnt

operational..ie running) which may account for some of these..

I deleted existing entry in wf.msc (server 2008) of solarwinds tftp

and created new entry..

All to no affect..

I had thought this was an easy program to setup...

Your help is appreciated..

0 Kudos

For me this program has always worked and was easy to setup. And it obviously works for you as well except for this one device.

So that concludes that your TFTP setup must be ok. That only leaves the device you are trying to TFTP with.

What is different about this device? ACL's? How is it connected to the network? Tried a direct connection with your TFTP server? Cleared the startup config of the device and rebooted and then try again?

Thanks superfly..at this stage this is for a SOHO. Each device..server and

2924 switch can ping each other ok..connected via ethernet..

Have erased config but left vlan configs as are..and rebooted

Not done ACL yet..wasnt aware ...will get back to u..cheers..

0 Kudos

As superfly99 noted, since this works for all your devices but one, it has to be something with the device. It does not necessarily need to be wrong, but there may be something incompatible with our TFTP Server (and it may actually work with another TFTP server solution). You may want to compare IOS versions between the devices that work and the one that does not. IOS upgrade/downgrade often helps. You may also want to contact Cisco about this issue.

If you bought TFTP as part of Engineer's Toolset and you have valid maintenance, definitely contact our support and reference this thread. Someone from our support or development team may be able to help you.

0 Kudos

As mentioned before ..here is the link I found re the Cisco catalyst 2924

XL switches..these aren't compliant with the ACL's that apparently are

required for TFTP connectivity

http://www.networking-forum.com/viewtopic.php?t=14870

0 Kudos

I guess you'll have to either upload it via serial or you could try FTP if that's available to you.

0 Kudos

Upload via serial?..I wasnt aware of this please?

On Thu, Feb 14, 2013 at 11:31 AM, superfly99 <

0 Kudos

Just console into the router and use xmodem. It's the last resort when a router has binned itself as it's a very slow process! I did a 3Mb file to a 2950 yesterday, and it took an hour.

Anyways here are some instructions on how to use xmodem.

http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800946e5.shtml#xmode...

0 Kudos

Thanks superfly99,

I just wanted to transfer a sbin file to the switch for call manager

express..Cisco..this seems to be for updating/uploading switch binary

file...

On Thu, Feb 14, 2013 at 12:20 PM, superfly99 <

0 Kudos

It should work for any file. Try it and let us know.

0 Kudos

Hi superfly99,

Tried the xmodem command...

Set up via hyperterminal the transfer and Send File..selected file

etc..then Close

below is output...

Switch#copy xmodem flash:cme-full-4.1.0.2.tarflash:cme-full-4.1.0.2.tar

Destination filename ?

Begin the Xmodem or Xmodem-1K transfer now...

CCCCCCCCCC BB0BB0

%Error opening xmodem: (I/O error)

Switch#copy xmodem flash:cme-full-4.1.0.2.tarflash:cme-full-4.1.0.2.tar

Destination filename ?

Begin the Xmodem or Xmodem-1K transfer now...

CCCCCCCCCC BB0BB0

%Error opening xmodem: (I/O error)

Switch#

With thanks again..:)

0 Kudos

One last thing you can try is to do it the other way round. Issue the xmodem command first and then select upload file. Follow the instruction about half way down the page on this link. Start from the bit beginning with "The next example shows an Xmodem procedure on a 2955 with the use of HyperTerminal"

http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml

I hope that works. If not, then I'm out of ideas sorry. Might be time to upgrade the switch to a new model

0 Kudos

Thanks for the update superfly99 ..tried that already.. time to update I

believe..

On Fri, Feb 15, 2013 at 11:57 AM, superfly99 <

0 Kudos