On 10/29/2012 9:50 AM, Joseph Acquisto wrote:
I get this error running sa-update via cron
"service: no such service /etc/init.d/spamd"
This appears to happen only when sa-update actually does an update. I was
running it twice a day, once at 00:30 and again at 06:00 (or so) and only the
00:30 would report this error. The error show up in my email, as an
admin/root message from the box. Happened every day.
I commented out the 00:30 line and now the 06:00 one fails. Tells me the one
updating is the one failing.
The actual cron command line is:
"/usr/bin/sa-update && /sbin/service /etc/init.d/spamd restart"
SA 3.3.2, opensuse 12.2
You don't provide a path to spamd. Command should be:
"/usr/bin/sa-update && /sbin/service spamd restart"
--
Bowie