/etc/init.d/spamassassin reload fails

Bug #583217 reported by Martin Clauss
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
spamassassin (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: spamassassin

Trying to reload spamassassin fails with the following error:
# /etc/init.d/spamassassin reload
Reloading SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none killed.

Same happens on stop:
# /etc/init.d/spamassassin stop
Stopping SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none killed.

ProblemType: Bug
DistroRelease: Ubuntu 9.10
Package: spamassassin 3.3.1-1
ProcVersionSignature: Ubuntu 2.6.31-20.58-server
Uname: Linux 2.6.31-20-server x86_64
Architecture: amd64
Date: Thu May 20 10:20:59 2010
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: spamassassin

Revision history for this message
Martin Clauss (mc-ubuntu) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

Can't reproduce. Could you attach your /etc/init.d/spamassassin file ?

Changed in spamassassin (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Martin Clauss (mc-ubuntu) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

Both stop and reload use "start-stop-daemon --stop --pidfile $PIDFILE --exec $XNAME" so they should work if $PIDFILE is successfully created (start-stop-daemon will look for processes based on PIDFILE rather than based on XNAME).

Did you change PIDFILE location, or run under a specific user ? In doubt, please attach your /etc/default/spamassassin file.

Revision history for this message
Martin Clauss (mc-ubuntu) wrote :

strange. PIDFILE in /etc/init.d/spamassassin was as delivered in package. however in /etc/default/spamassassin a different one was specified. after setting it to the same file it now works. thanks.

Revision history for this message
Thierry Carrez (ttx) wrote :

Closing as Invalid, since spamassassin relies on a writeable PIDFILE for correct operation.

Changed in spamassassin (Ubuntu):
status: Incomplete → Invalid
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.