Problems with Amavisd-new at installation

Discussion in 'ISPConfig 3 Priority Support' started by Enrique García, Sep 20, 2017.

  1. Enrique García

    Enrique García New Member HowtoForge Supporter

    But in during installation display:
    PHP Warning: str_replace() expects at least 3 parameters, 2 given in /tmp/ispconfig3-stable-3.1-27129ebba0be40416550abd67bf3333a5207c9e2/install/dist/lib/centos_base.lib.php on line 51

    At the end of the installation:
    Job for amavisd.service failed because the control process exited with error code. See "systemctl status amavisd.service" and "journalctl -xe" for details.

    [[email protected] install]# 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 2017-09-20 13:25:01 CDT; 4min 29s ago
    Docs: http://www.ijs.si/software/amavisd/#doc
    Process: 8400 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=255)
    Main PID: 3057 (code=exited, status=0/SUCCESS)

    Sep 20 13:25:01 www.fyde.com.mx systemd[1]: amavisd.service: control process exited, code=exited status=255
    Sep 20 13:25:01 www.fyde.com.mx systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Sep 20 13:25:01 www.fyde.com.mx systemd[1]: Unit amavisd.service entered failed state.
    Sep 20 13:25:01 www.fyde.com.mx systemd[1]: amavisd.service failed.
    Sep 20 13:25:01 www.fyde.com.mx systemd[1]: amavisd.service holdoff time over, scheduling restart.
    Sep 20 13:25:01 www.fyde.com.mx systemd[1]: start request repeated too quickly for amavisd.service
    Sep 20 13:25:01 www.fyde.com.mx systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Sep 20 13:25:01 www.fyde.com.mx systemd[1]: Unit amavisd.service entered failed state.
    Sep 20 13:25:01 www.fyde.com.mx systemd[1]: amavisd.service failed.

    Regards,
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if there was a typo in the dev version that you installed. Please run:

    ispconfig_update.sh

    select 'git-stable' as version and choose to reconfigure services during update.
     
  3. Enrique García

    Enrique García New Member HowtoForge Supporter

    Hi, I run spconfig_update following your instructions, display this at the end:
    Restarting services ...
    Job for amavisd.service failed because the control process exited with error code. See "systemctl status amavisd.service" and "journalctl -xe" for details.
    Update finished.

    Is the same error, please advice.
    Regards,
     
  4. Enrique García

    Enrique García New Member HowtoForge Supporter

    [[email protected] tmp]# 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 2017-09-20 18:43:02 CDT; 10min ago
    Docs: http://www.ijs.si/software/amavisd/#doc
    Process: 14477 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=2)
    Main PID: 32078 (code=exited, status=0/SUCCESS)

    Sep 20 18:43:02 www.fyde.com.mx systemd[1]: amavisd.service: control process exited, code=exited status=2
    Sep 20 18:43:02 www.fyde.com.mx systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Sep 20 18:43:02 www.fyde.com.mx systemd[1]: Unit amavisd.service entered failed state.
    Sep 20 18:43:02 www.fyde.com.mx systemd[1]: amavisd.service failed.
    Sep 20 18:43:02 www.fyde.com.mx systemd[1]: amavisd.service holdoff time over, scheduling restart.
    Sep 20 18:43:02 www.fyde.com.mx systemd[1]: start request repeated too quickly for amavisd.service
    Sep 20 18:43:02 www.fyde.com.mx systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
    Sep 20 18:43:02 www.fyde.com.mx systemd[1]: Unit amavisd.service entered failed state.
    Sep 20 18:43:02 www.fyde.com.mx systemd[1]: amavisd.service failed.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Is the /etc/amavisd/amavisd.conf file empty?

    As an alternative, you might install an ISPConfig release version instead of a dev version as the current dev version seems to have some issues in the amavisd code on centOS systems.

    You can change your install to the release version with:

    cd /tmp
    wget http://www.ispconfig.org/downloads/ISPConfig-3.1.6.tar.gz
    tar xvfz ISPConfig-3.1.6.tar.gz
    cd ispconfig3_install/install
    php -q update.php

    and choose to reconfigure services again.
     
  6. Enrique García

    Enrique García New Member HowtoForge Supporter

    Intallation finishd OK

    Thanks,
     

Share This Page