Hi,
I am trying to get td-agent up and running as a syslog collector. Some of my machines don't give a choice of port they send to, so I tried to change the port to 514. td-agent version is 2.3.5-1.el7.
If I run it from systemd with ports > 1024, it runs fine. If I run it from systemd with ports < 1024, it dies. I went to run it from the command line with debugging, only ti find it runs fine with ports < 1024 from the command line,
<source>
@type syslog
port 514
bind 0.0.0.0
tag in_syslog
keep_time_key true
include_source_host true
protocol_type "udp"
</source>
<source>
@type syslog
port 5140
bind 0.0.0.0
tag in_syslog
keep_time_key true
include_source_host true
protocol_type "tcp"
</source>
syslog output is not useful:
Jun 21 13:09:29 stagegw-a-1 systemd: Starting LSB: data collector for Treasure Data...
Jun 21 13:09:30 stagegw-a-1 td-agent: Starting td-agent: [ OK ]#015td-agent[ OK ]
Jun 21 13:09:30 stagegw-a-1 systemd: Started LSB: data collector for Treasure Data.
Jun 21 13:09:30 stagegw-a-1 td-agent: Stopping td-agent: td-agent[FAILED]
Jun 21 13:09:30 stagegw-a-1 systemd: td-agent.service: control process exited, code=exited status=1
Jun 21 13:09:30 stagegw-a-1 systemd: Unit td-agent.service entered failed state.
Jun 21 13:09:30 stagegw-a-1 systemd: td-agent.service failed.
I hope someone can help me on this.
thanks in advance,
jerry