发生错误 - TFTP 服务器未启动(从 HTTPProvisioning 触发
An error occurred - TFTP server did not start (triggered from HTTPProvisioning
我正在做 tr069 监控系统,但是得到这个错误。我不是专家Java,所以有人可以suggest/advice这个错误是什么意思。错误太多,找不到根本原因
2015-04-12 19:48:04.175 NOTICE HTTP/TFTP-Server and Telnet Provisioning Controller starts...
2015-04-12 19:48:04.192 NOTICE Starting TFTP Server on port 69. Read directory: . Write directory: . Server Mode is GET_ONLY
2015-04-12 19:48:04.239 FATAL An error occurred - TFTP server did not start (triggered from HTTPProvisioning
class java.net.SocketException:No such file or directory
java.net.PlainDatagramSocketImpl.bind0(Native Method)
java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:96)
java.net.DatagramSocket.bind(DatagramSocket.java:396)
java.net.DatagramSocket.<init>(DatagramSocket.java:251)
java.net.DatagramSocket.<init>(DatagramSocket.java:304)
java.net.DatagramSocket.<init>(DatagramSocket.java:276)
org.apache.commons.net.DefaultDatagramSocketFactory.createDatagramSocket(DefaultDatagramSocketFactory.java:59)
org.apache.commons.net.DatagramSocketClient.open(DatagramSocketClient.java:119)
com.owera.xaps.spp.TFTPServer.launch(TFTPServer.java:252)
com.owera.xaps.spp.TFTPServer.<init>(TFTPServer.java:186)
com.owera.xaps.spp.HTTPProvisioning.<clinit>(HTTPProvisioning.java:49)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:526)
java.lang.Class.newInstance(Class.java:379)
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:140)
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
java.util.concurrent.FutureTask.run(FutureTask.java:262)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:745)
下面是此 tftp 服务器 java 文档的 link
https://github.com/freeacs/spp/blob/master/src/com/owera/xaps/spp/TFTPServer.java
https://github.com/freeacs/spp/blob/master/src/com/owera/xaps/spp/HTTPProvisioning.java
我已经在 freeacs 论坛上问过,但没有人回答,所以有人可以帮助我至少了解发生了什么事。
也许第一行回答了它:
class java.net.SocketException:No such file or directory
也许他们在事情发生后就更新了。
祝你好运!
我正在做 tr069 监控系统,但是得到这个错误。我不是专家Java,所以有人可以suggest/advice这个错误是什么意思。错误太多,找不到根本原因
2015-04-12 19:48:04.175 NOTICE HTTP/TFTP-Server and Telnet Provisioning Controller starts...
2015-04-12 19:48:04.192 NOTICE Starting TFTP Server on port 69. Read directory: . Write directory: . Server Mode is GET_ONLY
2015-04-12 19:48:04.239 FATAL An error occurred - TFTP server did not start (triggered from HTTPProvisioning
class java.net.SocketException:No such file or directory
java.net.PlainDatagramSocketImpl.bind0(Native Method)
java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:96)
java.net.DatagramSocket.bind(DatagramSocket.java:396)
java.net.DatagramSocket.<init>(DatagramSocket.java:251)
java.net.DatagramSocket.<init>(DatagramSocket.java:304)
java.net.DatagramSocket.<init>(DatagramSocket.java:276)
org.apache.commons.net.DefaultDatagramSocketFactory.createDatagramSocket(DefaultDatagramSocketFactory.java:59)
org.apache.commons.net.DatagramSocketClient.open(DatagramSocketClient.java:119)
com.owera.xaps.spp.TFTPServer.launch(TFTPServer.java:252)
com.owera.xaps.spp.TFTPServer.<init>(TFTPServer.java:186)
com.owera.xaps.spp.HTTPProvisioning.<clinit>(HTTPProvisioning.java:49)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:526)
java.lang.Class.newInstance(Class.java:379)
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:140)
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
java.util.concurrent.FutureTask.run(FutureTask.java:262)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
java.lang.Thread.run(Thread.java:745)
下面是此 tftp 服务器 java 文档的 link
https://github.com/freeacs/spp/blob/master/src/com/owera/xaps/spp/TFTPServer.java
https://github.com/freeacs/spp/blob/master/src/com/owera/xaps/spp/HTTPProvisioning.java
我已经在 freeacs 论坛上问过,但没有人回答,所以有人可以帮助我至少了解发生了什么事。
也许第一行回答了它:
class java.net.SocketException:No such file or directory
也许他们在事情发生后就更新了。
祝你好运!