2015-04-22 15 views
1

,當我進入/usr/cygnus/bin/cygnus-flume-ng agent --conf /usr/cygnus/conf/ -f /usr/cygnus/conf/agent_1.conf -n cygnusagent -Dflume.root.logger=DEBUG,console我得到的輸出:我有失蹤matching_table.conf

2015-04-22 14:45:14,308 (lifecycleSupervisor-1-4) [ERROR - es.tid.fiware.fiwareconnectors.cygnus.interceptors.DestinationExtractor.initialize(DestinationExtractor.java:84)] Runtime error (File not found. Details=/usr/cygnus/conf/matching_table.conf (No such file or directory)) 
2015-04-22 14:45:14,309 (lifecycleSupervisor-1-4) [ERROR - org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:253)] Unable to start EventDrivenSourceRunner: { source:org.apache.flume.source.http.HTTPSource{name:http-source,state:IDLE} } - Exception follows. 
java.lang.IllegalStateException: Running HTTP Server found in source: http-source before I started one.Will not attempt to start. 
at com.google.common.base.Preconditions.checkState(Preconditions.java:145) 
at org.apache.flume.source.http.HTTPSource.start(HTTPSource.java:137) 
at org.apache.flume.source.EventDrivenSourceRunner.start(EventDrivenSourceRunner.java:44) 
at org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:251) 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) 
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:701) 

任何解決失蹤matching_table.conf?

回答

1

好抓!這是一個將在下一個版本中修復的錯誤。 Cygnus安裝程序忘記將/usr/cygnus/conf/matching_table.conf.template重命名爲/usr/cygnus/conf/mathing_table.conf。解決方法與手動重命名該文件一樣簡單。