Your message dated Thu, 26 Jul 2012 08:26:01 +0200
with message-id <20120726062601.ga16...@chough.tokkee.org>
and subject line Re: Bug#682794: Collectd-core: missing dependency on liboping0
(ping plugin requires it)
has caused the Debian Bug report #682794,
regarding Collectd-core: missing dependency on liboping0 (ping plugin requires
it)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
682794: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682794
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: collectd-core
Version: 5.1.0-2
Severity: grave
Justification: renders package unusable
Dear Maintainer,
After installing the package I got the error below.
# /etc/init.d/collectd restart
Restarting statistics collection and monitoring daemon: collectdERROR:
lt_dlopen ("/usr/lib/collectd/ping.so") failed: file not found. The most common
cause for this problem are missing dependencies. Use ldd(1) to check the
dependencies of the plugin / shared object.
Unable to load plugin ping.
ERROR: lt_dlopen ("/usr/lib/collectd/ping.so") failed: file not found. The most
common cause for this problem are missing dependencies. Use ldd(1) to check the
dependencies of the plugin / shared object.
Unable to load plugin ping.
.
Checking with ldd gave:
ldd /usr/lib/collectd/ping.so
linux-vdso.so.1 => (0x00007fff9c1ff000)
liboping.so.0 => not found
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007feb82b4d000)
libiptc.so.0 => /lib/libiptc.so.0 (0x00007feb8294a000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007feb82746000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007feb823bf000)
libip4tc.so.0 => /lib/libip4tc.so.0 (0x00007feb821b6000)
libip6tc.so.0 => /lib/libip6tc.so.0 (0x00007feb81fae000)
/lib64/ld-linux-x86-64.so.2 (0x00007feb82fd9000)
This file is included in the liboping0 package.
Installing the package solved the problem. (It's installed now)
The file is missing in the requirements, only mentioned in the Suggests section.
The crash of collectd is not expected with a Suggest package. I would eighter
move the package to the Required section or prevent the ping.so module to crash
when it can't find the library, but just exit so it wouldn't prevent collectd to
start.
Greetings,
Jan Huijsmans
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (60, 'stable'), (50, 'unstable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.ISO8859-15, LC_CTYPE=en_US.ISO8859-15 (charmap=ISO-8859-15)
(ignored: LC_ALL set to en_US.ISO8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages collectd-core depends on:
ii debconf [debconf-2.0] 1.5.44
ii iptables 1.4.14-2
ii libc6 2.13-33
ii libltdl7 2.4.2-1.1
Versions of packages collectd-core recommends:
pn perl <none>
ii rrdtool 1.4.7-1.1
Versions of packages collectd-core suggests:
ii apache2 2.2.22-9
ii apache2-mpm-prefork [httpd-cgi] 2.2.22-9
pn apcupsd <none>
ii bind9 1:9.8.1.dfsg.P1-4.1
pn collectd-dev <none>
ii hddtemp 0.3-beta15-51
pn ipvsadm <none>
ii libc6 2.13-33
pn libconfig-general-perl <none>
ii libcurl3-gnutls 7.25.0-1
ii libdbi1 0.8.4-6
ii libdbus-1-3 1.6.0-1
pn libesmtp6 <none>
ii libgcrypt11 1.5.0-3
ii libgdk-pixbuf2.0-0 2.26.1-1
ii libglib2.0-0 2.32.3-1
ii libhal1 0.5.14-8
ii libhtml-parser-perl 3.69-2
pn libmemcached10 <none>
pn libmodbus5 <none>
ii libmysqlclient18 5.5.24+dfsg-4
ii libnotify4 0.7.5-1
ii libopenipmi0 2.0.16-1.3
ii liboping0 1.6.2-1
ii libpcap0.8 1.3.0-1
ii libperl5.14 5.14.2-12
ii libpq5 9.1.4-2
pn libprotobuf-c0 <none>
ii libpython2.7 2.7.3~rc2-2.1
pn librabbitmq0 <none>
pn libregexp-common-perl <none>
ii librrd4 1.4.7-1.1
ii librrds-perl 1.4.7-1.1
ii libsensors4 1:3.3.2-2
ii libsnmp15 5.4.3~dfsg-2.5
ii libssl1.0.0 1.0.1c-3
pn libtokyotyrant3 <none>
pn libupsclient1 <none>
ii liburi-perl 1.60-1
pn libvarnishapi1 <none>
pn libvirt0 <none>
ii libxml2 2.8.0+dfsg1-4
ii libyajl2 2.0.4-2
ii lm-sensors 1:3.3.2-2
pn mbmon <none>
ii memcached 1.4.13-0.1
pn mysql-server <none>
pn nginx <none>
pn notification-daemon <none>
pn nut <none>
pn olsrd <none>
pn openvpn <none>
pn pdns-server <none>
ii postgresql 9.1+132
pn time-daemon <none>
-- debconf information:
collectd/migration-4-5:
collectd/auto-migrate-3-4: false
collectd/postrm_purge_data: true
collectd/migration-3-4:
* collectd/auto-migrate-4-5: false
--- End Message ---
--- Begin Message ---
Hi,
On Wed, Jul 25, 2012 at 08:41:38PM +0200, Jan Huijsmans wrote:
> After installing the package I got the error below.
>
> # /etc/init.d/collectd restart
> Restarting statistics collection and monitoring daemon: collectdERROR:
> lt_dlopen ("/usr/lib/collectd/ping.so") failed: file not found. The most
> common cause for this problem are missing dependencies. Use ldd(1) to check
> the dependencies of the plugin / shared object.
> Unable to load plugin ping.
> ERROR: lt_dlopen ("/usr/lib/collectd/ping.so") failed: file not found. The
> most common cause for this problem are missing dependencies. Use ldd(1) to
> check the dependencies of the plugin / shared object.
> Unable to load plugin ping.
> .
> This file is included in the liboping0 package.
> Installing the package solved the problem. (It's installed now)
>
> The file is missing in the requirements, only mentioned in the Suggests
> section.
> The crash of collectd is not expected with a Suggest package. I would eighter
> move the package to the Required section or prevent the ping.so module to
> crash
> when it can't find the library, but just exit so it wouldn't prevent collectd
> to
> start.
In fact, collectd does not crash in that case but start-up "normally".
It just splits out that error message, so you'll notice that something's
going wrong. Starting with revision 5.1.0-2, this will be more obvious,
as the init script then prints 'OK' in green letters (currently, it will
just print a dot -- see the line below 'Unable to load plugin ping.')
:-)
See /usr/share/doc/collectd-core/README.Debian.gz and
/usr/share/doc/collectd-core/README.Debian.plugins for some more
background information about the design decision to not depend on stuff
like liboping.
I'm thus closing this bug now.
HTH,
Sebastian
PS: In case you have any suggestions about how to further improve that
situation, please don't hesitate to reopen this bug.
--
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
signature.asc
Description: Digital signature
--- End Message ---