2012-10-12 14:52:07 +0900: unexpected error error="Address already in use - bind(2)"
I searched which program was using this port. Yes, as you see it was td-agent(fluentd).
td-agent is supposed to use 24224 port. It's natural behavior.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[xxx]# sudo /usr/sbin/lsof -i:24224 | |
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME | |
ruby 22248 td-agent 14u IPv4 46635887 TCP *:24224 (LISTEN) | |
ruby 22248 td-agent 15u IPv4 46635888 UDP *:24224 |
But I forgot that I booted it by /usr/sbin/td-agent command before.
Yes it's absolutely my mistake. I killed this process and restart fluentd.
No comments:
Post a Comment