Package: collectd
Version: 5.4.1-6
Severity: wishlist
Hi,
attempting to install this package...
# apt-get install collectd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
collectd-core libdbi1 librrd4
Suggested packages:
collectd-dev librrds-perl libconfig-general-perl apcupsd bind9
hddtemp ipvsadm lm-sensors mbmon
memcached nginx nut openvpn olsrd pdns-server postgresql time-daemon
Recommended packages:
libesmtp6 liblvm2app2.2 libmodbus5 libopenipmi0 liboping0
libowcapi-2.9-8 libpcap0.8 libperl5.20
libpq5 libprotobuf-c1 librabbitmq1 libsnmp30 libtokyotyrant3
libupsclient4 libvirt0
default-jre-headless rrdtool
The following NEW packages will be installed:
collectd collectd-core libdbi1 librrd4
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1119 kB of archives.
After this operation, 3941 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.it.debian.org/debian/ jessie/main collectd-core
amd64 5.4.1-6 [777 kB]
Get:2 http://ftp.it.debian.org/debian/ jessie/main libdbi1 amd64
0.9.0-4 [32.3 kB]
Get:3 http://ftp.it.debian.org/debian/ jessie/main librrd4 amd64
1.4.8-1.2 [223 kB]
Get:4 http://ftp.it.debian.org/debian/ jessie/main collectd amd64
5.4.1-6 [86.7 kB]
Fetched 1119 kB in 2s (490 kB/s)
Preconfiguring packages ...
Selecting previously unselected package collectd-core.
(Reading database ... 146134 files and directories currently installed.)
Preparing to unpack .../collectd-core_5.4.1-6_amd64.deb ...
Unpacking collectd-core (5.4.1-6) ...
Selecting previously unselected package libdbi1:amd64.
Preparing to unpack .../libdbi1_0.9.0-4_amd64.deb ...
Unpacking libdbi1:amd64 (0.9.0-4) ...
Selecting previously unselected package librrd4.
Preparing to unpack .../librrd4_1.4.8-1.2_amd64.deb ...
Unpacking librrd4 (1.4.8-1.2) ...
Selecting previously unselected package collectd.
Preparing to unpack .../collectd_5.4.1-6_amd64.deb ...
Unpacking collectd (5.4.1-6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up collectd-core (5.4.1-6) ...
Setting up libdbi1:amd64 (0.9.0-4) ...
Setting up librrd4 (1.4.8-1.2) ...
Setting up collectd (5.4.1-6) ...
Job for collectd.service failed. See 'systemctl status
collectd.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript collectd, action "restart" failed.
dpkg: error processing package collectd (--configure):
subprocess installed post-installation script returned error exit
status 1
Processing triggers for libc-bin (2.19-15) ...
Errors were encountered while processing:
collectd
E: Sub-process /usr/bin/dpkg returned an error code (1)
# systemctl -l status collectd.service
● collectd.service - LSB: manage the statistics collection daemon
Loaded: loaded (/etc/init.d/collectd)
Active: failed (Result: exit-code) since dom 2015-03-01 10:26:49
CET; 2min 13s ago
Process: 6119 ExecStop=/etc/init.d/collectd stop (code=exited,
status=0/SUCCESS)
Process: 6127 ExecStart=/etc/init.d/collectd start (code=exited,
status=1/FAILURE)
mar 01 10:26:49 s3v3land collectd[6130]: Looking up "s3v3land"
failed. You have set the "FQDNLookup" option,
but I cannot resolve my hostname to a fully qualified domain name.
Please fix the network configuration.
mar 01 10:26:49 s3v3land collectd[6127]: Starting statistics
collection and monitoring daemon: collectd
not starting, configuration error failed!
mar 01 10:26:49 s3v3land systemd[1]: collectd.service: control
process exited, code=exited status=1
mar 01 10:26:49 s3v3land systemd[1]: Failed to start LSB: manage
the statistics collection daemon.
mar 01 10:26:49 s3v3land systemd[1]: Unit collectd.service entered
failed state.
The error occurs if /etc/hosts hasn't FQDN domain name:
127.0.0.1 localhost
192.168.1.3 s3v3land.FOO
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
After removing "FOO" from /etc/hosts file, the problem disappears and
package installation ends fine.
Can you provide some warnings regarding incorrect syntax in "etc/hosts"
but, despite that, allowing a normal installation of the package?
Thanks for reading and for your job.
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages collectd depends on:
ii collectd-core 5.4.1-6
ii libc6 2.19-15
ii librrd4 1.4.8-1.2
Versions of packages collectd recommends:
pn default-jre-headless <none>
ii iptables 1.4.21-2+b1
ii libcurl3-gnutls 7.38.0-4
ii libdbi1 0.9.0-4
pn libesmtp6 <none>
ii libgcrypt20 1.6.2-4+b1
ii libgdk-pixbuf2.0-0 2.31.1-2+b1
ii libglib2.0-0 2.42.1-1
pn liblvm2app2.2 <none>
ii libmemcached11 1.0.18-4
ii libmnl0 1.0.3-5
pn libmodbus5 <none>
ii libmysqlclient18 5.5.42-1
ii libnotify4 0.7.6-2
ii libnspr4 2:4.10.7-1
ii libnss3 2:3.17.2-1.1
pn libopenipmi0 <none>
pn liboping0 <none>
pn libowcapi-2.9-8 <none>
pn libpcap0.8 <none>
pn libperl5.20 <none>
pn libpq5 <none>
pn libprotobuf-c1 <none>
ii libpython2.7 2.7.8-11
pn librabbitmq1 <none>
ii librrd4 1.4.8-1.2
ii libsensors4 1:3.3.5-2
pn libsnmp30 <none>
ii libssl1.0.0 1.0.1k-1
pn libtokyotyrant3 <none>
pn libupsclient4 <none>
pn libvirt0 <none>
ii libxml2 2.9.1+dfsg1-5
ii libyajl2 2.1.0-2
ii zlib1g 1:1.2.8.dfsg-2+b1
collectd suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]