[collectd] collectd-4.0.0 problems

a.shubnik at btis.by a.shubnik at btis.by
Fri Jun 8 13:03:48 CEST 2007


    Hi Florian,
    Thank you very much for quick and detail answer.

> Hi Alex,
>
> On Thu, Jun 07, 2007 at 03:37:14PM +0300, a.shubnik at btis.by wrote:
>> i see follow messages in /var/log/messages:
>>
>> Jun  7 15:16:41 backup-srv collectd: cpufreq plugin: Found 0 CPUs
>
> I apparently your CPU doesn't have any speed-stepping feature (or
> something like that). If you don't load the plugin, you won't get this
> message..

    Yes, i understand but don't remove this string for full information.

>> Jun  7 15:16:41 backup-srv collectd[29928]: email: No such group:  
>> `collectd'
>
> If collectd is run as root, is does a `chgrp' after creating the UNIX
> domain socket, so unprivileged processes may access it. Configure a
> group that exists here and you'll be fine.

     I add group 'groupadd collectd' and message disapper.
     Now i have such 'messages':

Jun  8 14:00:31 backup-srv collectd: cpufreq plugin: Found 0 CPUs
Jun  8 14:00:31 backup-srv collectd[15529]: unixsock plugin: bind failed:  
No such file or directory
Jun  8 14:00:31 backup-srv collectd[15529]: hddtemp: getaddrinfo  
(127.0.0.1, 7634.000000): Servname not supported for ai_socktype
Jun  8 14:00:31 backup-srv collectd[15529]: read-function of plugin  
`hddtemp' failed. Will syspend it for 10 seconds.
Jun  8 14:00:31 backup-srv collectd[15529]: ntpd plugin: getaddrinfo  
(localhost, 123.000000): Servname not supported for ai_socktype
Jun  8 14:00:31 backup-srv collectd[15529]: read-function of plugin `ntpd'  
failed. Will syspend it for 10 seconds.


>> Jun  7 15:16:41 backup-srv collectd[29928]: hddtemp: getaddrinfo  
>> (127.0.0.1, 7634.000000): Servname not supported for ai_socktype
>> Jun  7 15:16:41 backup-srv collectd[29928]: read-function of plugin  
>> `hddtemp' failed. Will syspend it for 10 seconds.
>
> Ugh, that's not good.. The number in the configfile is parsed as a
> floating point number which is an illegal port (/service). Since you're
> using the default port just comment that line. I'll fix this in the next
> patch release.
>
>> Jun  7 15:16:41 backup-srv collectd[29928]: unixsock plugin: bind  
>> failed: Address already in use
>
> Apparently `/usr/local/stow/collectd-4.0.0/var/run/collectd-unixsock'
> still exists. Did the daemon crash before or something? Normally the
> file should be removed during shutdown.
>
>> Jun  7 15:16:41 backup-srv collectd[29928]: ntpd plugin: getaddrinfo  
>> (localhost, 123.000000): Servname not supported for ai_socktype
>> Jun  7 15:16:41 backup-srv collectd[29928]: read-function of plugin  
>> `ntpd' failed. Will syspend it for 10 seconds.
>
> Same problem as above.
>
>> but when i enter in browser on 'collection.cgi' url i don't see
>> anything.
>
> Do you get any warnings/errors in the servers error-log?

   I attached 'error_log' and as i understand 'our $Config =  
"/usr/local/etc/collectd.conf";'
this is not 'our $Config = "/etc/collection.conf";' but i don't found what  
is "collection.conf".


> Regards,
> -octo

     Thank you Octo,
     Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error_log
Type: application/octet-stream
Size: 7931 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070608/b32fb0d7/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd.conf
Type: application/octet-stream
Size: 3631 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070608/b32fb0d7/attachment-0001.obj 


More information about the collectd mailing list