[collectd] [PATCH] Added the AC_FUNC_STRERROR_R check.

Philipp Giebel newsletter at amb-net.de
Mon Sep 3 13:08:21 CEST 2007


Sebastian Harl schrieb:
> On Mon, Sep 03, 2007 at 12:31:54PM +0200, Philipp Giebel wrote:
>> But why do I have to use the git? 4.1.0 + patch + version-gen.sh +
>> build.sh did the job, the error-messages are being written to syslog so
>> everything is fine but changing the group.. (My original problem..)
> 
> Ah... you never provided any error messages, so I assumed it still did not
> work (please excuse if I simply missed them). So could you please provide
> those. Please be as verbose as possible (sending the relevant parts of your
> syslog might be a good idea). It's hard to tell what's going wrong if you
> don't know the exact error.

For better organisation I did that with the original message-subject
"exec-plugin permission bug (?)" but here it is again.. :)

-----

Sebastian Harl schrieb:
>>> >>>   Exec <user>: <script>
>> >> Tried that, now - did'nt work..
> >
> > Which part failed?

The parte where he should change the group..  ;)  The group stays "root"
even with the colon..

> > Please try again with the patched version of collectd and provide
the error
> > messages. They are so much more helpful than just guessing what
might have
> > gone wrong  ;-)

Okay.. Now it's getting really strange (yes! even stranger than before..
 ;)  )

He complains about not finding the script:

  Sep  3 10:42:41 localhost collectd[4385]: exec plugin: exec failed: \
    No such file or directory

But:

  ~# grep 'postfix' /etc/collectd/collectd.conf
       Exec rrduser:adm "/usr/local/bin/rrdscripts/rrd-postfix.sh"

and:

  ~# ls -lah /usr/local/bin/rrdscripts/rrd-postfix.sh
  -rwxr-xr-x 1 rrduser adm 2,1K 2007-08-27 18:27 \
    /usr/local/bin/rrdscripts/rrd-postfix.sh

...all done using copy/paste - so I didn't correct anything unnoticed...

When removing the "adm" from the config-file, so it only sais: 'Exec
rrduser: "/foo/bar"' the script is found, but doesn't work (as explained
before..)

-----

And the one syslog-message above is not "all relevant messages" but "the
only message".. ;)

Cheers,
  Philipp



More information about the collectd mailing list