[collectd] Troubleshoot starting up collectd service

Mark Moseley moseleymark at gmail.com
Wed Apr 20 18:22:31 CEST 2011


On Wed, Apr 20, 2011 at 8:39 AM, Pander <pander at users.sourceforge.net> wrote:
> On 2011-04-20 17:33, Pander wrote:
>> Hi all,
>>
>> I have installed collectd on Ubuntu server and would like to run its
>> service for receiving data from clients.
>>
>> I have enabled network plugin and uncommented and changed this part:
>>
>>         <Listen "127.0.0.1" "25826">
>>                 SecurityLevel Encrypt
>>                 AuthFile "/etc/collectd/passwd"
>>                 Interface "eth0"
>>         </Listen>
>>
>> and created the passwd file with 'username: password' as contents.
>
> and /var/log/syslog says nothing interesting:
>
> Apr 20 17:34:12 hostname collectd[32172]: Exiting normally.
> Apr 20 17:34:12 hostname collectd[32172]: collectd: Stopping 5 read threads.
> Apr 20 17:34:12 hostname collectd[32172]: rrdtool plugin: Shutting down
> the queue thread. This may take a while.
> Apr 20 17:34:12 hostname collectd[32172]: network plugin: Stopping
> receive thread.
> Apr 20 17:34:12 hostname collectd[32172]: network plugin: Stopping
> dispatch thread.
> Apr 20 17:34:12 hostname collectdmon[32171]: Info: collectd terminated
> with exit status 0
> Apr 20 17:34:12 hostname collectdmon[32171]: Info: shutting down collectdmon
> Apr 20 17:34:14 hostname collectd[5836]: Initialization complete,
> entering read-loop.
>
> and I have checked the ports with nmap (tcp and udp).
>
>> After restarting collectd I don't see a service on port 25826. What
>> should I do to find the problem?
>>
>> Thanks,

It might not like that you've configured it to try to listen to
127.0.0.1 on eth0. Does it listen correctly if you change Interface to
"lo"?



More information about the collectd mailing list