On Thu, 4 Oct 2018 12:39:06 -0700 (MST) Vlad Shpolyanskiy wrote: > Hi All! > > I have recently upgraded SA to the latest version. > I'm running SA on FreeBSD 11.2-RELEASE-p4, SA installed via pkg > utility with default set of options. > The running command looks like: > /usr/local/bin/perl -T -w /usr/local/bin/spamd -m 5 -4 -d -r > /var/run/spamd/spamd.pid > Now I have a problem with reloading SA, e.g. after sa-update. > Reloading first time works as expected, but second time fails with > error: spamd not running? (check /var/run/spamd/spamd.pid) > The pid file is present, the permissions are fine.
But is spamd actually still running? Did you get the pid from the file and run: ps <pid> > If I use restart instead of reload it works fine, no matter how many > times. On Thu, 4 Oct 2018 16:05:39 -0400 Kevin A. McGrail wrote: > What command are you using to restart? There was a small change in > the process listing that might affect tools from distros. I think it > is this bug: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7594 If that were the case it would show in the reset as well.