I’m trying to set up email in my laptop in the same manner than my
desktop. One step is to start up the spamd daemon, but I can’t:
> minas-tirith:~ # rcspamd start
> Starting spamd done
> minas-tirith:~ # child process [17127] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 2589.
>
> minas-tirith:~ #
The source code lines mentioned are those that print the error message,
not the ones that produce the error. Nothing informative there.
The mail log produces these entries:
<2.6> 2012-12-16 14:16:09 minas-tirith spamd 17124 - - logger: removing stderr method
<2.4> 2012-12-16 14:16:09 minas-tirith spamd 17127 - - config: could not find site rules directory
<2.3> 2012-12-16 14:16:10 minas-tirith spamd 17127 - - check: no loaded plugin implements ‘check_main’: cannot scan!
<2.3> 2012-12-16 14:16:10 minas-tirith spamd 17127 - - Check the necessary ‘.pre’ files are in the config directory.
<2.3> 2012-12-16 14:16:10 minas-tirith spamd 17124 - - child process [17127] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 2589.
It seems it needs some files in the config directory, which I have doubt
to know which it is, or how to generate those files.
On 2012-12-17 08:06, lenwolf wrote:
>
> Hi, this probably won’t help since I don’t know a thing about spamd,
> but from this script : http://tinyurl.com/d49sdyv i gathered that spamd
> needs a file called /var/run/spamd.pid. Since I don’t use spamd, I
> don’t have that on my system, it it there on yours? HTH Lenwolf
No, that file is created when spamd is running. It is a text file with
only a number in it, the PID of the process. It is an old method
programmers use to locate daemons.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
>> <2.6> 2012-12-16 14:16:09 minas-tirith spamd 17124 - - logger: removing stderr method
>> <2.4> 2012-12-16 14:16:09 minas-tirith spamd 17127 - - config: could not find site rules directory
>> <2.3> 2012-12-16 14:16:10 minas-tirith spamd 17127 - - check: no loaded plugin implements 'check_main': cannot scan!
>> <2.3> 2012-12-16 14:16:10 minas-tirith spamd 17127 - - Check the necessary '.pre' files are in the config directory.
>> <2.3> 2012-12-16 14:16:10 minas-tirith spamd 17124 - - child process [17127] exited or timed out without signaling production of a PID file: exit 255 at /usr/sbin/spamd line 2589.
>
> It seems it needs some files in the config directory, which I have doubt
> to know which it is, or how to generate those files.
The problem was that the directory /etc/mail/spamassassin/* did not
exist. It belongs to package perl-Mail-SpamAssassin, which was
installed, but the files were missing. Solution was to install it again.
The solution was found with help from the mail list.
--
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))