You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/01/12 16:06:32 UTC
[Bug 4074] New: Spamd not creating PIDFILE
http://bugzilla.spamassassin.org/show_bug.cgi?id=4074
Summary: Spamd not creating PIDFILE
Product: Spamassassin
Version: 3.0.2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: spamc/spamd
AssignedTo: dev@spamassassin.apache.org
ReportedBy: jlyda@midtnn.net
I am running Slackware 10 and SpamAssassin 3.02. When I start spamd via the
slackware-spamd.rc file that is included with the spamassassin distro spamd
does not create the PIDFILE /var/run/spamd.pid. As a result I have to manually
create the pidfile in order to stop spamassassin or restart it if I make a
change to the local.cf file. Any ideas?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4074] Spamd not creating PIDFILE
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4074
------- Additional Comments From jlyda@midtnn.net 2005-01-12 11:41 -------
That is the wierd part, once spamd starts its runs fine without the pid. There
is no error what so ever involving the pidfile until I try to restart or stop
spamd. While spamd is running the maillog shows that spamd is running properlly
and even shows which message is being scanned and what the score is. Even
running spamd without the daemon shows the same thing with no mention of the
pidfile being missing. I was playing around with some of the settings due to
spamd causing a very large spike in I/O wait causing the machine to slow to a
crawl. I disabled logging completely by setting -s null then I got the PIDFILE
missing error on startup. So I set spamd to -s stderr 2>/dev/null, and started
again and it started fine, again with no mention of the pidfile missing.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4074] Spamd not creating PIDFILE
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4074
------- Additional Comments From spamassassin@dostech.ca 2005-01-12 11:15 -------
spamd warns if it can't write to the default or specified PID file. Check your
maillog (or wherever spamd logs) for a "Can't write to PID file:" warning after
starting spamd.
Starting spamd directly, without daemonizing it, should print this warning to
STDERR.
Let us know what you find.
Daryl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.