[collectd] collectd[3112]: write_graphite plugin: Connecting to localhost:2003 via tcp failed

Leo Liu sdl.web at gmail.com
Sun Oct 19 10:57:50 CEST 2014


On 2014-10-19 15:29 +0700, Ville Ojamo wrote:
> Have you tried setting SELinux to permissive mode (`setenforce 0`) and/or
> check /var/log/audit/audit.log for AVC messages?
>
>
> Best regards,
>
> Ville Ojamo

Thank you very much, I see:

        type=AVC msg=audit(1413708873.964:3272): avc:  denied  { name_connect } for  pid=2708 comm="collectd" dest=2003 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:lmtp_port_t:s0 tclass=tcp_socket

I am on my way to fix it. Not a professional admin I am a victim of
selinux.

Leo



More information about the collectd mailing list