2 Replies Latest reply on Feb 2, 2010 8:22 AM by greg@solarwinds.net

    TFTP Server service won't stay up

    rolson
      We just installed the free SolarWinds TFTP server(10.4.0.10) on our Windows 2003 server system. We can not get the TFTP service to stay up. It starts and then immediately stops. I suspect that this has something to do with port 8099. We set the service to start automatically and then rebooted the server but still had the same problem. The existing TFTPD32 TFTP server service runs without a problem when started.

      Any help would be greatly appreciated.

      ***** The contents of the SolarWinds TFTP log file is:

      2010-02-02 06:00:48,812 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - ******************************************
      2010-02-02 06:00:48,843 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper -  startup
      2010-02-02 06:00:48,843 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - Tuesday, February 02, 2010  6:00:48 AM
      2010-02-02 06:00:48,843 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - NetBIOS Computer: GBURNIE-NSG2
      2010-02-02 06:00:48,843 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - OS: Microsoft Windows NT 5.2.3790 Service Pack 2
      2010-02-02 06:00:48,843 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - CPU count: 4
      2010-02-02 06:00:48,859 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - IP Address: 10.92.36.12
      2010-02-02 06:00:48,859 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - Current user: NT AUTHORITY\SYSTEM
      2010-02-02 06:00:48,859 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - Current Culture: English (United States) - en
      2010-02-02 06:00:48,859 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - Current UI Culture: English (United States) - en
      2010-02-02 06:00:48,859 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - Is Running as Administrator: True
      2010-02-02 06:00:48,859 [Main UI Thread] INFO  SolarWinds.Logging.LoggingHelper - ******************************************
      2010-02-02 06:00:48,968 [6] ERROR TFTPServer.Service.TFTPService - TFTP Server failed to start, due to the following error
      System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
         at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Bind(EndPoint localEP)
         at System.Net.Sockets.TcpListener.Start(Int32 backlog)
         at System.Net.Sockets.TcpListener.Start()
         at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)
         at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)
         at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
         at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(Int32 port)
         at TFTPServer.Service.TFTPServer..ctor()
         at TFTPServer.Service.TFTPServer.get_Current()
         at TFTPServer.Service.TFTPService.OnStart(String[] args)
      2010-02-02 06:00:49,203 [6] ERROR TFTPServer.Service.TFTPService - TFTP Server failed to stop, due to the following error
      System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
         at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
         at System.Net.Sockets.Socket.Bind(EndPoint localEP)
         at System.Net.Sockets.TcpListener.Start(Int32 backlog)
         at System.Net.Sockets.TcpListener.Start()
         at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)
         at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)
         at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
         at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(Int32 port)
         at TFTPServer.Service.TFTPServer..ctor()
         at TFTPServer.Service.TFTPServer.get_Current()
         at TFTPServer.Service.TFTPService.OnStop()

      ***** The output from the netstat command is:

      Active Connections

        Proto  Local Address          Foreign Address        State           PID
        TCP    0.0.0.0:21             0.0.0.0:0              LISTENING       1492
        [inetinfo.exe]

        TCP    0.0.0.0:25             0.0.0.0:0              LISTENING       1492
        [inetinfo.exe]

        TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4
        [System]

        TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       692
        RpcSs
        [svchost.exe]

        TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
        [System]

        TCP    0.0.0.0:515            0.0.0.0:0              LISTENING       2016
        [tcpsvcs.exe]

        TCP    0.0.0.0:1042           0.0.0.0:0              LISTENING       1612
        [tmcsvc.exe]

        TCP    0.0.0.0:1050           0.0.0.0:0              LISTENING       1492
        [inetinfo.exe]

        TCP    0.0.0.0:1077           0.0.0.0:0              LISTENING       448
        [lsass.exe]

        TCP    0.0.0.0:1078           0.0.0.0:0              LISTENING       1492
        [inetinfo.exe]

        TCP    0.0.0.0:1080           0.0.0.0:0              LISTENING       1656
        [NMWebService.exe]

        TCP    0.0.0.0:1088           0.0.0.0:0              LISTENING       1492
        [inetinfo.exe]

        TCP    0.0.0.0:1179           0.0.0.0:0              LISTENING       820
        ShellHWDetection
        [svchost.exe]

        TCP    0.0.0.0:1189           0.0.0.0:0              LISTENING       4976
        [wmiprvse.exe]

        TCP    0.0.0.0:1433           0.0.0.0:0              LISTENING       2184
        [sqlservr.exe]

        TCP    0.0.0.0:1723           0.0.0.0:0              LISTENING       4
        [System]

        TCP    0.0.0.0:2393           0.0.0.0:0              LISTENING       2248
        [msmdsrv.exe]

        TCP    0.0.0.0:2394           0.0.0.0:0              LISTENING       2248
        [msmdsrv.exe]

        TCP    0.0.0.0:2725           0.0.0.0:0              LISTENING       2248
        [msmdsrv.exe]

        TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING       4808
        TermService
        [svchost.exe]

        TCP    0.0.0.0:6050           0.0.0.0:0              LISTENING       1220
        [UnivAgent.exe]

        TCP    0.0.0.0:8081           0.0.0.0:0              LISTENING       2028
        [FrameworkService.exe]

        TCP    0.0.0.0:8098           0.0.0.0:0              LISTENING       4
        [System]

        TCP    0.0.0.0:8099           0.0.0.0:0              LISTENING       4
        [System]

        TCP    0.0.0.0:9393           0.0.0.0:0              LISTENING       1744
        [NMService.exe]

        TCP    0.0.0.0:9535           0.0.0.0:0              LISTENING       1860
        [issuser.exe]

        TCP    0.0.0.0:9593           0.0.0.0:0              LISTENING       1236
        [residentagent.exe]

        TCP    0.0.0.0:9594           0.0.0.0:0              LISTENING       1236
        [residentagent.exe]

        TCP    0.0.0.0:9595           0.0.0.0:0              LISTENING       1236
        [residentagent.exe]

        TCP    0.0.0.0:33354          0.0.0.0:0              LISTENING       1612
        [tmcsvc.exe]

        TCP    0.0.0.0:41523          0.0.0.0:0              LISTENING       1180
        [casdscsvc.exe]

        TCP    10.92.36.12:139        0.0.0.0:0              LISTENING       4
        [System]

        TCP    10.92.36.12:2301       0.0.0.0:0              LISTENING       3860
        [hpsmhd.exe]

        TCP    10.92.36.12:2381       0.0.0.0:0              LISTENING       3860
        [hpsmhd.exe]

        TCP    127.0.0.1:1041         0.0.0.0:0              LISTENING       1236
        [residentagent.exe]

        TCP    127.0.0.1:2301         0.0.0.0:0              LISTENING       3860
        [hpsmhd.exe]

        TCP    127.0.0.1:2381         0.0.0.0:0              LISTENING       3860
        [hpsmhd.exe]

        TCP    127.0.0.1:5152         0.0.0.0:0              LISTENING       1956
        [jqs.exe]

        TCP    127.0.0.1:9592         0.0.0.0:0              LISTENING       1236
        [residentagent.exe]

        TCP    127.0.0.1:21584        0.0.0.0:0              LISTENING       2396
        [collector.exe]

        TCP    10.92.36.12:1089       170.93.12.35:135       ESTABLISHED     2184
        [sqlservr.exe]

        TCP    10.92.36.12:1090       170.93.12.35:1025      ESTABLISHED     2184
        [sqlservr.exe]

        TCP    10.92.36.12:1116       170.93.12.35:445       ESTABLISHED     4
        [System]

        TCP    10.92.36.12:1131       10.92.36.12:1433       ESTABLISHED     3224
        [sqlagent.exe]

        TCP    10.92.36.12:1155       10.92.36.12:1433       ESTABLISHED     3224
        [sqlagent.exe]

        TCP    10.92.36.12:1215       10.92.36.12:1433       ESTABLISHED     1744
        [NMService.exe]

        TCP    10.92.36.12:1221       10.92.36.12:1433       ESTABLISHED     1744
        [NMService.exe]

        TCP    10.92.36.12:1433       10.92.36.12:4720       ESTABLISHED     2184
        [sqlservr.exe]

        TCP    10.92.36.12:1433       10.92.36.12:4719       ESTABLISHED     2184
        [sqlservr.exe]

        TCP    10.92.36.12:1433       10.92.36.12:2387       ESTABLISHED     2184
        [sqlservr.exe]

        TCP    10.92.36.12:1433       10.92.36.12:1155       ESTABLISHED     2184
        [sqlservr.exe]

        TCP    10.92.36.12:1433       10.92.36.12:1215       ESTABLISHED     2184
        [sqlservr.exe]

        TCP    10.92.36.12:1433       10.92.36.12:1221       ESTABLISHED     2184
        [sqlservr.exe]

        TCP    10.92.36.12:1433       10.92.36.12:1131       ESTABLISHED     2184
        [sqlservr.exe]

        TCP    10.92.36.12:2387       10.92.36.12:1433       ESTABLISHED     1744
        [NMService.exe]

        TCP    10.92.36.12:3389       10.95.224.211:2438     ESTABLISHED     4808
        TermService
        [svchost.exe]

        TCP    10.92.36.12:4648       170.93.12.35:389       ESTABLISHED     820
        RemoteAccess
        [svchost.exe]

        TCP    10.92.36.12:4669       10.92.40.5:8080        ESTABLISHED     5500
        [jusched.exe]

        TCP    10.92.36.12:4719       10.92.36.12:1433       ESTABLISHED     1744
        [NMService.exe]

        TCP    10.92.36.12:4720       10.92.36.12:1433       ESTABLISHED     1744
        [NMService.exe]

        TCP    127.0.0.1:1119         127.0.0.1:9393         ESTABLISHED     1744
        [NMService.exe]

        TCP    127.0.0.1:1120         127.0.0.1:9393         ESTABLISHED     1744
        [NMService.exe]

        TCP    127.0.0.1:1123         127.0.0.1:9535         ESTABLISHED     5236
        [rcgui.exe]

        TCP    127.0.0.1:1186         127.0.0.1:9393         ESTABLISHED     5220
        [NMTASK~1.EXE]

        TCP    127.0.0.1:1187         127.0.0.1:9393         ESTABLISHED     5220
        [NMTASK~1.EXE]

        TCP    127.0.0.1:9393         127.0.0.1:1187         ESTABLISHED     1744
        [NMService.exe]

        TCP    127.0.0.1:9393         127.0.0.1:1119         ESTABLISHED     1744
        [NMService.exe]

        TCP    127.0.0.1:9393         127.0.0.1:1120         ESTABLISHED     1744
        [NMService.exe]

        TCP    127.0.0.1:9393         127.0.0.1:1186         ESTABLISHED     1744
        [NMService.exe]

        TCP    127.0.0.1:9535         127.0.0.1:1123         ESTABLISHED     1860
        [issuser.exe]

        TCP    10.92.36.12:1080       10.92.57.20:1640       TIME_WAIT       0
        TCP    10.92.36.12:1080       10.92.57.20:1736       TIME_WAIT       0
        TCP    10.92.36.12:1080       10.92.57.20:1638       TIME_WAIT       0
        TCP    10.92.36.12:1080       10.92.57.20:1740       TIME_WAIT       0
        TCP    10.92.36.12:1080       10.92.57.20:1639       TIME_WAIT       0
        TCP    10.92.36.12:1080       10.92.57.20:1737       TIME_WAIT       0
        TCP    10.92.36.12:4645       170.93.12.35:135       TIME_WAIT       0
        TCP    10.92.36.12:4646       170.93.12.35:1025      TIME_WAIT       0
        TCP    10.92.36.12:4672       170.93.12.35:135       TIME_WAIT       0
        TCP    10.92.36.12:4673       170.93.12.35:1025      TIME_WAIT       0
        TCP    10.92.36.12:4682       10.92.36.12:1433       TIME_WAIT       0
        TCP    10.92.36.12:4691       10.92.36.12:1433       TIME_WAIT       0
        TCP    10.92.36.12:4715       10.92.36.12:1433       TIME_WAIT       0
        TCP    10.92.36.12:4717       10.92.36.12:1433       TIME_WAIT       0
        TCP    10.92.36.12:4718       10.92.36.12:1433       TIME_WAIT       0
        TCP    10.92.36.12:4721       10.92.36.12:1433       TIME_WAIT       0
        TCP    10.92.36.12:4722       10.92.36.12:1433       TIME_WAIT       0
        TCP    10.92.36.12:4723       10.92.36.12:1433       TIME_WAIT       0
        TCP    10.92.36.12:4724       10.92.36.12:1433       TIME_WAIT       0
        TCP    10.92.36.12:4725       10.92.36.12:1433       TIME_WAIT       0
        TCP    10.92.36.12:4726       10.92.36.12:1433       TIME_WAIT       0
        UDP    0.0.0.0:162            *:*                                    1744
        [NMService.exe]

        UDP    0.0.0.0:1037           *:*                                    1180
        [casdscsvc.exe]

        UDP    0.0.0.0:38293          *:*                                    1544
        [pds.exe]

        UDP    0.0.0.0:1092           *:*                                    2600
        [snmp.exe]

        UDP    0.0.0.0:69             *:*                                    5676
        [tftpd32.exe]

        UDP    0.0.0.0:500            *:*                                    448
        [lsass.exe]

        UDP    0.0.0.0:9595           *:*                                    1236
        [residentagent.exe]

        UDP    0.0.0.0:8081           *:*                                    2028
        [FrameworkService.exe]

        UDP    0.0.0.0:3456           *:*                                    1492
        [inetinfo.exe]

        UDP    0.0.0.0:8082           *:*                                    2028
        [FrameworkService.exe]

        UDP    0.0.0.0:33355          *:*                                    1612
        [tmcsvc.exe]

        UDP    0.0.0.0:33354          *:*                                    1612
        [tmcsvc.exe]

        UDP    0.0.0.0:4500           *:*                                    448
        [lsass.exe]

        UDP    0.0.0.0:6050           *:*                                    1220
        [UnivAgent.exe]

        UDP    0.0.0.0:445            *:*                                    4
        [System]

        UDP    0.0.0.0:41524          *:*                                    1180
        [casdscsvc.exe]

        UDP    0.0.0.0:1091           *:*                                    968
        [spoolsv.exe]

        UDP    0.0.0.0:161            *:*                                    2600
        [snmp.exe]

        UDP    0.0.0.0:1701           *:*                                    4
        [System]

        UDP    0.0.0.0:1434           *:*                                    2184
        [sqlservr.exe]

        UDP    10.92.36.12:123        *:*                                    804
        W32Time
        [svchost.exe]

        UDP    10.92.36.12:137        *:*                                    4
        [System]

        UDP    10.92.36.12:138        *:*                                    4
        [System]

        UDP    127.0.0.1:4647         *:*                                    820
        RemoteAccess
        [svchost.exe]

        UDP    127.0.0.1:1025         *:*                                    448
        [lsass.exe]

        UDP    127.0.0.1:1102         *:*                                    2072
        [Mcshield.exe]

        UDP    127.0.0.1:1107         *:*                                    388
        [winlogon.exe]

        UDP    127.0.0.1:1129         *:*                                    820
        RemoteAccess
        [svchost.exe]

        UDP    127.0.0.1:1130         *:*                                    820
        RemoteAccess
        [svchost.exe]

        UDP    127.0.0.1:3456         *:*                                    1492
        [inetinfo.exe]

        UDP    127.0.0.1:123          *:*                                    804
        W32Time
        [svchost.exe]

        UDP    127.0.0.1:1163         *:*                                    968
        [spoolsv.exe]
        • Re: TFTP Server service won't stay up
          JasonKV

          This error is most likely caused by the TFTP service interfereing with MS IIS Admin website which runs on port 8099. If you configured the Admin site to use another port from 8099 you should not longer have this socket error.

          Question for SW: What is happening behind the scenes on TFTP that it requires port 8099. Most other TFTP applications that I have used only requires port 69? Understanding why this product needs additional ports may help others in the community as well as myself understand why certain work arounds are needed. In addition to this why did SW choose a port that was already commonly used in MS webservers?

            • Re: TFTP Server service won't stay up

              Great questions Jason - and a good suggested solution, thanks.

              The TFTP server is comprised of two pieces, the service itself, and the controlling systray application.  Port 8099 is used to by the controlling application to communicate with the service process.  It was a poor choice of ports, and needs a way of adjusting to allow for conflicts; we are aware of the issue and have created a tracking item so that the feature can be added in a future release.

              --Greg