package amavisd doesn't install

Bug #1772454 reported by Omkar Pilankar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
amavisd-new (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I wanted to install amavisd for Ubuntu 16.04 and for that I used Synaptic Package Manager and when it was about to install, an error message got displayed with some red marks.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: amavisd-new 1:2.10.1-2ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-41.46~16.04.1-generic 4.13.16
Uname: Linux 4.13.0-41-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.17
Architecture: amd64
Date: Mon May 21 21:39:18 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2018-05-08 (12 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.4
 apt 1.2.26
SourcePackage: amavisd-new
Title: package amavisd-new 1:2.10.1-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Omkar Pilankar (omkarop) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing a bug in Ubuntu.

This is the error log:
Job for amavis.service failed because the control process exited with error code. See "systemctl status amavis.service" and "journalctl -xe" for details.
invoke-rc.d: initscript amavis, action "start" failed.
● amavis.service - LSB: Starts amavisd-new mailfilter
   Loaded: loaded (/etc/init.d/amavis; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-05-21 21:39:18 IST; 39ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 11343 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)

May 21 21:39:18 omkar6901 amavis[11343]: The value of variable $myhostname...n
May 21 21:39:18 omkar6901 amavis[11343]: a fully qualified domain name; pe....
May 21 21:39:18 omkar6901 amavis[11343]: You must explicitly assign a FQDN...e
May 21 21:39:18 omkar6901 amavis[11343]: in /etc/amavis/conf.d/05-node_id,...s
May 21 21:39:18 omkar6901 amavis[11343]: network name!
May 21 21:39:18 omkar6901 amavis[11343]: (failed).

The file /etc/amavis/conf.d/05-node_id wants to set a variable to the output of the "hostname --fqdn" command, and it looks like in your case that command is not returning a fully qualified name.

You should inspect your network configuration and hostname setting to find out why you are not getting a fully qualified name back. I suggest to look in /etc/hosts.

As this is a local configuration problem, I'll mark this bug as "incomplete". If new information suggests that this is instead a software defect, then please clarify with a comment and set the bug back to the "new" state.

Thanks

Changed in amavisd-new (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for amavisd-new (Ubuntu) because there has been no activity for 60 days.]

Changed in amavisd-new (Ubuntu):
status: Incomplete → Expired
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.