amavisd-new init script does not work cleanly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
amavisd-new (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After Installation I get the following output, it seems the restart script does not find the running amavisd process.
amavisd-new (1:2.6.5-0ubuntu3) wird eingerichtet ...
Creating/updating amavis user account...
dpkg: Warnung: Version »configure« hat falsche Syntax: Versionsnummer beginnt nicht mit einer Ziffer
Starting amavisd: amavisd-new.
amavisd-new-postfix (1:2.6.5-0ubuntu3) wird eingerichtet ...
postconf: warning: spf-policyd_
postconf: warning: /etc/postfix/
postconf: warning: /etc/postfix/
* Stopping Postfix Mail Transport Agent postfix
/usr/sbin/postconf: warning: /etc/postfix/
...done.
* Starting Postfix Mail Transport Agent postfix
postconf: warning: /etc/postfix/
postconf: warning: /etc/postfix/
postconf: warning: /etc/postfix/
postconf: warning: /etc/postfix/
postconf: warning: /etc/postfix/
postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
/usr/sbin/postconf: warning: /etc/postfix/
...done.
Stopping amavisd: (not running).
Starting amavisd: The amavisd daemon is already running, PID: [3926]
(failed).
invoke-rc.d: initscript amavis, action "restart" failed.
dpkg: Fehler beim Bearbeiten von amavisd-new-postfix (--configure):
Unterprozess installiertes post-installati
Trigger für libc-bin werden verarbeitet ...
ldconfig deferred processing now taking place
Fehler traten auf beim Bearbeiten von:
amavisd-
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is repeatable by calling
~# /etc/init.d/amavis status
* amavisd is running
~# /etc/init.d/amavis stop
Stopping amavisd: (not running).
~# /etc/init.d/amavis start
Starting amavisd: The amavisd daemon is already running, PID: [4798]
(failed).
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: amavisd-new-postfix 1:2.6.5-0ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Thu May 10 05:19:35 2012
PackageArchitec
ProcEnviron:
TERM=xterm-color
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: amavisd-new
UpgradeStatus: Upgraded to precise on 2012-05-04 (5 days ago)
Removing "--name ${DAEMONNAME}" from the "STOP" variable in the initscript fixes this issue, but this is probably not an intended way of fixing this.