2016-09-14 113 views
0

當我開始fluentd-UI,我得到了錯誤意外錯誤error_class = errno的:: EADDRINUSE錯誤=#<errno的:: EADDRINUSE:地址已在使用 - 綁定(2)爲 「0.0.0.0」 端口24224

10:23:38 +0000 [info]: listening fluent socket on 0.0.0.0:24224 
2016-09-13 10:23:38 +0000 [error]: unexpected error error_class=Errno::EADDRINUSE error=#<Errno::EADDRINUSE: Address already in use - bind(2) for "0.0.0.0" port 24224> 

但在我的fluent.conf文件中,我沒有源監聽24224,問題在哪裏? fluent.conf文件:

<source> 
@type forward 
@id forward_input 
</source> 
<source> 
    @type http 
    @id http_input                    
    port 8989 
</source> 
<source> 
    @type monitor_agent 
    @id monitor_agent_input 
    port 24229 
</source> 
<source> 
@type debug_agent 
@id debug_agent_input 
bind 127.0.0.1 
port 24239 
</source> 
<match debug.**> 
@type stdout 
@id stdout_output 
</match> 
<match system.**> 
@type forward 
@id forward_output 
<server> 
    host 192.168.0.11 
</server> 
<secondary> 
    <server> 
    host 192.168.0.12 
    </server> 
</secondary> 
</match> 

只是默認的文件,沒有24224,我用ps -ef | grep 24224,得到

work  16759 16539 0 02:16 pts/1 00:00:00 grep --color=auto 24224 

它會開始另一個進程來抓住24224,從來沒有殺死,這是一個紅寶石進程? 即時通訊新的fluentd,不知道該怎麼辦

回答

0

你會強迫端口配置密鑰在第一節? (嘗試:24224,然後24225,有什麼行爲?)

+0

你是什麼意思?寫一個在conf文件中聽24224? –

相關問題