Amavis does not restart after resync

Discussion in 'Installation/Configuration' started by Ruyman Trujillo, Dec 18, 2017.

  1. Ruyman Trujillo

    Ruyman Trujillo New Member

    Hi!
    Everything works fine, but when I resync mail services from ispconfig, amavis does not restart automatically and the following message appears:
    Code:
    #systemctl status amavis
    dic 18 09:49:04 domain.eu systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    dic 18 09:49:04 domain.eu systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    dic 18 09:49:04 domain.eu systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    dic 18 09:49:04 domain.eu systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    dic 18 09:49:04 domain.eu systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    dic 18 09:49:04 domain.eu systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    dic 18 09:49:04 domain.eu systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    dic 18 09:49:04 domain.eu systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    dic 18 09:49:04 domain.eu systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    dic 18 09:49:04 domain.eu systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    So, to start again, I have to start the service manually:
    Code:
    systemctl restart amavis
    DEBIAN 8 JESSIE
    ISPCONFIG 3.1.9


    Log files do not show anything relevant. Any suggestions?
    Thanks!!
     
    Last edited: Dec 26, 2017
  2. Ruyman Trujillo

    Ruyman Trujillo New Member

    When I click on "resync > maildomains" or "all services":
    #tail -f /var/log/daemon.log
    Code:
    Dec 26 20:33:37 domain systemd[1]: Started LSB: Apache2 web server.
    Dec 26 20:33:39 domain systemd[1]: Stopping LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:39 domain amavis[17282]: Stopping amavisd: amavisd-new.
    Dec 26 20:33:39 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:41 domain amavis[17289]: Starting amavisd: amavisd-new.
    Dec 26 20:33:41 domain systemd[1]: Started LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:41 domain systemd[1]: Stopping LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:41 domain amavis[17321]: Stopping amavisd: amavisd-new.
    Dec 26 20:33:41 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:41 domain amavis[17328]: Starting amavisd: amavisd-new.
    Dec 26 20:33:41 domain systemd[1]: Started LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:41 domain systemd[1]: Stopping LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:41 domain amavis[17347]: Stopping amavisd: amavisd-new.
    Dec 26 20:33:41 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:41 domain amavis[17354]: Starting amavisd: amavisd-new.
    Dec 26 20:33:41 domain systemd[1]: Started LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:41 domain systemd[1]: Stopping LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:42 domain amavis[17373]: Stopping amavisd: amavisd-new.
    Dec 26 20:33:42 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:42 domain amavis[17380]: Starting amavisd: amavisd-new.
    Dec 26 20:33:42 domain systemd[1]: Started LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:42 domain systemd[1]: Stopping LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:42 domain amavis[17405]: Stopping amavisd: amavisd-new.
    Dec 26 20:33:42 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain amavis[17412]: Starting amavisd: amavisd-new.
    Dec 26 20:33:43 domain systemd[1]: Started LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Stopping LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain amavis[17431]: Stopping amavisd: amavisd-new.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Unit amavis.service entered failed state.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Dec 26 20:33:43 domain systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
    Dec 26 20:33:43 domain systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
    Dec 26 20:33:43 domain systemd[1]: amavis.service start request repeated too quickly, refusing to start.
    Finally Amavis stops its service and I have to manually restart it.
    any suggestions?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Restart it manually. As you can see, amavis (systemd) cannot cope with that frequent restarts that are required for a resync. Resyncs are not used in normal server operation, so you should be able to restart it manually once after you did the resync.
     

Share This Page