<br><br><div class="gmail_quote">On Tue, Jul 28, 2009 at 11:15 PM, Mahendra Kutare <span dir="ltr"><<a href="mailto:mahendra.kutare@gmail.com">mahendra.kutare@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br><br>I am using collectd 4.5.3 on RHEL5 with Xen 3.1.2.<br><br>I have the following configuration in /etc/collectd.conf file -<br><br>LoadPlugin unixsock<br><br>400 <Plugin unixsock><br>401 SocketFile "/var/run/collectd-unixsock"<br>
402 SocketGroup "collectd"<br>403 SocketPerms "0775"<br>404 </Plugin><br><br>I created this file /var/run/collectd-unixsock and it has permissions -<br><br>[root@samoa2 collectd 11:14 PM]$ ls -l /var/run/collectd-*<br>
<b>-rw-rw-rw- 1 root root 0 Jul 28 22:43 /var/run/collectd-unixsock<br></b><br>I also created group <b>collectd</b> and can be seen as -<br><br>[root@samoa2 collectd 11:11 PM]$ cat /etc/group | grep collectd<br>collectd:x:2731:<br>
<br>When I start the collectd it shows up in the /var/lib/collectd.log file the following error -<br>
<br>
[2009-07-28 23:07:44] unixsock plugin: bind failed: Address already in use<br>
<br>Is there anything missing in configuration of unixsock plugin ?<br></blockquote><div><br>I also tried adding Port param in <br><br>400 <Plugin unixsock><br>401 SocketFile "/var/run/collectd-unixsock"<br>
Port "7634"<br>
402 SocketGroup "collectd"<br>403 SocketPerms "0775"<br>404 </Plugin><br><br>but it still says in the log file -<br><br>[2009-07-28 23:18:15] Plugin `unixsock' did not register for value `Port'.<br>
[2009-07-28 23:18:15] unixsock plugin: bind failed: Address already in use<br><br><br></div></div>