Amavisd has stop working

Discussion in 'Server Operation' started by omega13a, Dec 10, 2015.

  1. omega13a

    omega13a New Member

    A while back, I set up ISPConfig using one of the "The Perfect Server" tutorials on this website. I've been keeping up the software updates and now currently running Fedora 22. I've had no problems until yesterday when I suddenly stopped getting emails. I quickly discovered today it is because amavisd has stopped running and won't restart.
    Code:
    [[email protected] omega13a]# service amavisd start
    Redirecting to /bin/systemctl start  amavisd.service
    Job for amavisd.service failed. See "systemctl status amavisd.service" and "journalctl -xe" for details.
    [[email protected] omega13a]# systemctl status amavisd.service
    ‚óŹ amavisd.service - Amavisd-new is an interface between MTA and content checkers.
      Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled; vendor preset: disabled)
      Active: failed (Result: start-limit) since Wed 2015-12-09 17:26:23 PST; 1s ago
      Docs: http://www.ijs.si/software/amavisd/#doc
      Process: 32585 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=13)
     Main PID: 19357 (code=exited, status=0/SUCCESS)
    
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: Unit amavisd.service entered failed state.
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: amavisd.service failed.
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: amavisd.service holdoff time over, scheduling restart.
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: start request repeated too quickly for amavisd.service
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: Unit amavisd.service entered failed state.
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: amavisd.service failed.
    [[email protected] omega13a]# journalctl -xe
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit [email protected] has begun starting up.
    Dec 09 17:26:23 peeves.fedtrek.com clamd[32593]: clamd daemon 0.98.7 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
    Dec 09 17:26:23 peeves.fedtrek.com clamd[32593]: Running as user amavis (UID 989, GID 986)
    Dec 09 17:26:23 peeves.fedtrek.com clamd[32593]: Log file size limited to 1048576 bytes.
    Dec 09 17:26:23 peeves.fedtrek.com clamd[32593]: Reading databases from /var/lib/clamav
    Dec 09 17:26:23 peeves.fedtrek.com clamd[32593]: Not loading PUA signatures.
    Dec 09 17:26:23 peeves.fedtrek.com clamd[32593]: Bytecode: Security mode set to "TrustSigned".
    Dec 09 17:26:23 peeves.fedtrek.com audit[1]: <audit-1130> pid=1 uid=0 auid=4294967295 ses=4294967295 [email protected] comm="systemd" exe="/usr/lib/sys
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: amavisd.service holdoff time over, scheduling restart.
    Dec 09 17:26:23 peeves.fedtrek.com audit[1]: <audit-1130> pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=amavisd comm="systemd" exe="/usr/lib/systemd/s
    Dec 09 17:26:23 peeves.fedtrek.com audit[1]: <audit-1131> pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=amavisd comm="systemd" exe="/usr/lib/systemd/s
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: start request repeated too quickly for amavisd.service
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    -- Subject: Unit amavisd.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit amavisd.service has failed.
    --
    -- The result is failed.
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: Unit amavisd.service entered failed state.
    Dec 09 17:26:23 peeves.fedtrek.com systemd[1]: amavisd.service failed.
    Dec 09 17:26:23 peeves.fedtrek.com org.mate.panel.applet.MultiLoadAppletFactory[6232]: glibtop: statvfs '/root/.gvfs' failed: Permission denied
    Dec 09 17:26:23 peeves.fedtrek.com sshd[32497]: Failed password for root from 59.45.79.52 port 39291 ssh2
    Dec 09 17:26:23 peeves.fedtrek.com audit[32497]: <audit-1100> pid=32497 uid=0 auid=4294967295 ses=4294967295 msg='op=password acct="root" exe="/usr/sbin/sshd
    Dec 09 17:26:24 peeves.fedtrek.com org.mate.panel.applet.MultiLoadAppletFactory[6232]: glibtop: statvfs '/root/.gvfs' failed: Permission denied
    Dec 09 17:26:24 peeves.fedtrek.com sshd[32497]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
    Dec 09 17:26:24 peeves.fedtrek.com audit[32497]: <audit-1100> pid=32497 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=? acct="root
    Dec 09 17:26:24 peeves.fedtrek.com org.mate.panel.applet.MultiLoadAppletFactory[6232]: glibtop: statvfs '/root/.gvfs' failed: Permission denied
    Dec 09 17:26:25 peeves.fedtrek.com sshd[32491]: Failed password for root from 43.229.53.42 port 15863 ssh2
    Dec 09 17:26:25 peeves.fedtrek.com audit[32491]: <audit-1100> pid=32491 uid=0 auid=4294967295 ses=4294967295 msg='op=password acct="root" exe="/usr/sbin/sshd
    Dec 09 17:26:25 peeves.fedtrek.com org.mate.panel.applet.MultiLoadAppletFactory[6232]: glibtop: statvfs '/root/.gvfs' failed: Permission denied
    Dec 09 17:26:25 peeves.fedtrek.com sshd[32491]: Received disconnect from 43.229.53.42: 11:  [preauth]
    Dec 09 17:26:25 peeves.fedtrek.com sshd[32491]: Disconnected from 43.229.53.42 [preauth]
    Dec 09 17:26:25 peeves.fedtrek.com audit[32491]: <audit-2404> pid=32491 uid=0 auid=4294967295 ses=4294967295 msg='op=destroy kind=server fp=SHA256:0b:0e:c0:a
    Dec 09 17:26:25 peeves.fedtrek.com audit[32491]: <audit-2404> pid=32491 uid=0 auid=4294967295 ses=4294967295 msg='op=destroy kind=session fp=? direction=both
    Dec 09 17:26:25 peeves.fedtrek.com sshd[32491]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=43.229.53.42  user=root
    Dec 09 17:26:25 peeves.fedtrek.com audit[32491]: <audit-2404> pid=32491 uid=0 auid=4294967295 ses=4294967295 msg='op=destroy kind=server fp=SHA256:b0:71:c5:9
    Dec 09 17:26:25 peeves.fedtrek.com audit[32491]: <audit-2404> pid=32491 uid=0 auid=4294967295 ses=4294967295 msg='op=destroy kind=server fp=SHA256:6e:a3:e3:4
    Dec 09 17:26:25 peeves.fedtrek.com audit[32491]: <audit-2404> pid=32491 uid=0 auid=4294967295 ses=4294967295 msg='op=destroy kind=server fp=SHA256:0b:0e:c0:a
    Dec 09 17:26:25 peeves.fedtrek.com audit[32491]: <audit-1112> pid=32491 uid=0 auid=4294967295 ses=4294967295 msg='op=login acct="root" exe="/usr/sbin/sshd" h
    Dec 09 17:26:25 peeves.fedtrek.com audit[32596]: <audit-2404> pid=32596 uid=0 auid=4294967295 ses=4294967295 msg='op=destroy kind=server fp=SHA256:b0:71:c5:9
    Dec 09 17:26:25 peeves.fedtrek.com audit[32596]: <audit-2404> pid=32596 uid=0 auid=4294967295 ses=4294967295 msg='op=destroy kind=server fp=SHA256:6e:a3:e3:4
    Dec 09 17:26:25 peeves.fedtrek.com audit[32596]: <audit-2404> pid=32596 uid=0 auid=4294967295 ses=4294967295 msg='op=destroy kind=server fp=SHA256:0b:0e:c0:a
    Dec 09 17:26:25 peeves.fedtrek.com audit[32595]: <audit-2407> pid=32595 uid=0 auid=4294967295 ses=4294967295 msg='op=start direction=from-server cipher=aes12
    Dec 09 17:26:25 peeves.fedtrek.com audit[32595]: <audit-2407> pid=32595 uid=0 auid=4294967295 ses=4294967295 msg='op=start direction=from-client cipher=aes12
    Dec 09 17:26:25 peeves.fedtrek.com org.mate.panel.applet.MultiLoadAppletFactory[6232]: glibtop: statvfs '/root/.gvfs' failed: Permission denied
    Dec 09 17:26:26 peeves.fedtrek.com org.mate.panel.applet.MultiLoadAppletFactory[6232]: glibtop: statvfs '/root/.gvfs' failed: Permission denied
    Dec 09 17:26:26 peeves.fedtrek.com sshd[32497]: Failed password for root from 59.45.79.52 port 39291 ssh2
    Dec 09 17:26:26 peeves.fedtrek.com audit[32497]: <audit-1100> pid=32497 uid=0 auid=4294967295 ses=4294967295 msg='op=password acct="root" exe="/usr/sbin/sshd
    Dec 09 17:26:26 peeves.fedtrek.com org.mate.panel.applet.MultiLoadAppletFactory[6232]: glibtop: statvfs '/root/.gvfs' failed: Permission denied
    Dec 09 17:26:27 peeves.fedtrek.com sshd[32595]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=43.229.53.42  user=ro
    Dec 09 17:26:27 peeves.fedtrek.com sshd[32595]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
    Dec 09 17:26:27 peeves.fedtrek.com audit[32595]: <audit-1100> pid=32595 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=? acct="root
    Dec 09 17:26:27 peeves.fedtrek.com org.mate.panel.applet.MultiLoadAppletFactory[6232]: glibtop: statvfs '/root/.gvfs' failed: Permission denied
    
    I haven't made any changes to the config files recently and am getting very, very frustrated that I can't get my emails. Any help in fixing this problem will be greatly appreciated.
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    Can you check the permissions + owner for /etc/amavisd/amavisd.conf ? And check, that everything is mounted rw
     
  3. omega13a

    omega13a New Member

    After making /etc/amavisd/amavisd.conf world readable, the problem has appears to have gone away.
     

Share This Page