package collectd 4.10.1-2.1ubuntu7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1077732 reported by Earl Denty
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
collectd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Error popped up unexpectedly. Not sure where it is coming from.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: collectd 4.10.1-2.1ubuntu7
ProcVersionSignature: Ubuntu 2.6.32-42.96-generic 2.6.32.59+drm33.24
Uname: Linux 2.6.32-42-generic i686
ApportVersion: 2.0.1-0ubuntu14
Architecture: i386
Date: Sun Nov 11 14:46:31 2012
DuplicateSignature:
 Setting up collectd (4.10.1-2.1ubuntu7) ...
 Restarting statistics collection and monitoring daemon: collectdNot restarting collectd.
 invoke-rc.d: initscript collectd, action "restart" failed.
 dpkg: error processing collectd (--configure):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: collectd
Title: package collectd 4.10.1-2.1ubuntu7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-09-17 (55 days ago)

Revision history for this message
Earl Denty (edenty) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Lucian Daniliuc (dlucian) wrote :

It happens only when collectd cannot resolve current host's FQDN. Here's what I found in /var/log/syslog:

Jan 10 16:50:43 collectd collectd[24039]: Looking up "************" failed. You have set the "FQDNLookup" option, but I cannot resolve my hostname to a fully qualified domain name. Please fix you network configuration.

I edited /etc/collectd/collectd.conf and changed

FQDNLookup true

to

FQDNLookup false

Now the installation goes through as the init script is able to successfuly restart collectd. So the bugfix would be to install the collectd package with the FQDNLookup set to false.

Lucian.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.