2016-09-14 114 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? –

相关问题