Project

General

Profile

Bug #1618

spamassasin på virgil

Added by Martin Bagge - brother over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-12-29
Due date:
% Done:

0%


Description

De senaste dagarna har spamassasin (via cron.daily) på virgil renderat varningsmail av och till.

/etc/cron.daily/spamassassin:
Job for spamassassin.service failed. See 'systemctl status spamassassin.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript spamassassin, action "reload" failed.

Utdata från kommandona följer

root@virgil:~# systemctl status spamassassin.service
● spamassassin.service - Perl-based spam filter using text analysis
   Loaded: loaded (/lib/systemd/system/spamassassin.service; disabled)
   Active: inactive (dead)

Dec 26 06:36:49 virgil systemd[1]: Unit spamassassin.service cannot be reloaded because it is inactive.
Dec 28 07:12:10 virgil systemd[1]: Unit spamassassin.service cannot be reloaded because it is inactive.
Dec 29 07:12:27 virgil systemd[1]: Unit spamassassin.service cannot be reloaded because it is inactive.
root@virgil:~# journalctl -xn
-- Logs begin at Mon 2016-12-26 00:50:27 CET, end at Thu 2016-12-29 10:50:56 CET. --
Dec 29 10:50:48 virgil systemd[24750]: Reached target Sockets.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit UNIT has finished starting up.
-- 
-- The start-up result is done.
Dec 29 10:50:48 virgil systemd[24750]: Starting Basic System.
-- Subject: Unit UNIT has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit UNIT has begun starting up.
Dec 29 10:50:48 virgil systemd[24750]: Reached target Basic System.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit UNIT has finished starting up.
-- 
-- The start-up result is done.
Dec 29 10:50:48 virgil systemd[24750]: Starting Default.
-- Subject: Unit UNIT has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit UNIT has begun starting up.
Dec 29 10:50:48 virgil systemd[24750]: Reached target Default.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit UNIT has finished starting up.
-- 
-- The start-up result is done.
Dec 29 10:50:48 virgil systemd[24750]: Startup finished in 127ms.
-- Subject: System start-up is now complete
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- All system services necessary queued for starting at boot have been
-- successfully started. Note that this does not mean that the machine is
-- now idle as services might still be busy with completing start-up.
-- 
-- Kernel start-up required KERNEL_USEC microseconds.
-- 
-- Initial RAM disk start-up required INITRD_USEC microseconds.
-- 
-- Userspace start-up required 127286 microseconds.
Dec 29 10:50:48 virgil systemd[1]: Started User Manager for UID 10103.
-- Subject: Unit user@10103.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user@10103.service has finished starting up.
-- 
-- The start-up result is done.
Dec 29 10:50:56 virgil sudo[24759]: pam_unix(sudo:auth): authentication failure; logname=brother uid=10103 euid=0 tty=/dev/pts/0 ruser=brother rhost=  user=brother
Dec 29 10:50:56 virgil sudo[24759]: brother : TTY=pts/0 ; PWD=/ ; USER=root ; COMMAND=/bin/bash
Dec 29 10:50:56 virgil sudo[24759]: pam_unix(sudo:session): session opened for user root by brother(uid=0)
root@virgil:~# 

Jag vet inte vad som är bestämt eller inte bestämt om servicen men jag har kört start på den nu. Någon som pysslar mail lite mer aktivt bör nog kika på det hela och undersöka om den ska vara avstängd (och isf se till så att det inte larmar om att den är avstängd) eller körandes (och i så fall reda ut varför den stannar).

root@virgil:~# systemctl start spamassassin.service
root@virgil:~# systemctl status spamassassin.service
● spamassassin.service - Perl-based spam filter using text analysis
   Loaded: loaded (/lib/systemd/system/spamassassin.service; disabled)
   Active: active (running) since Thu 2016-12-29 10:53:10 CET; 3s ago
  Process: 24768 ExecStart=/usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 24770 (/usr/sbin/spamd)
   CGroup: /system.slice/spamassassin.service
           ├─24770 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --username=debian-spamd --create-prefs --max-children 5 --helper-home-dir
           ├─24771 spamd child
           └─24772 spamd child

Dec 29 10:53:01 virgil spamd[24768]: logger: removing stderr method
Dec 29 10:53:06 virgil spamd[24770]: zoom: able to use 342/342 'body_0' compiled rules (100%)
Dec 29 10:53:10 virgil spamd[24770]: spamd: server started on IO::Socket::IP [127.0.0.1]:783, IO::Socket::IP [::1]:783 (running version 3.4.0)
Dec 29 10:53:10 virgil spamd[24770]: spamd: server pid: 24770
Dec 29 10:53:10 virgil spamd[24770]: spamd: server successfully spawned child process, pid 24771
Dec 29 10:53:10 virgil systemd[1]: Started Perl-based spam filter using text analysis.
Dec 29 10:53:10 virgil spamd[24770]: spamd: server successfully spawned child process, pid 24772
Dec 29 10:53:10 virgil spamd[24770]: prefork: child states: IS
Dec 29 10:53:10 virgil spamd[24770]: prefork: child states: II

History

#1 Updated by Calle Rydén almost 3 years ago

Virgil är död

#2 Updated by Calle Rydén almost 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF