CentOS 7.3 Perfert server fails at ISP Config

Discussion in 'HOWTO-Related Questions' started by kyferez, Nov 9, 2017.

  1. kyferez

    kyferez Member

    All of the installs for the 7.3 guide went perfectly, except the ISP Config itself.
    I got this after completing the config and ISP Config page will not load. Ideas? (Note this is an internal only server):
    Code:
    Configuring DBServer
    Installing ISPConfig crontab
    Installing ISPConfig crontab
    no crontab for root
    no crontab for getmail
    Detect IP addresses
    Restarting services ...
    Job for amavisd.service failed because a configured resource limit was exceeded. See "systemctl status amavisd.service" and "journalctl -xe" for details.
    Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
    Installation completed.
    [root@otrs 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-11-08 18:02:56 EST; 1min 0s ago
         Docs: http://www.ijs.si/software/amavisd/#doc
      Process: 10802 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=0/SUCCESS)
    Main PID: 2359 (code=exited, status=0/SUCCESS)
    
    Nov 08 18:02:56 otrs.tg.local systemd[1]: amavisd.service never wrote its PID file. Failing.
    Nov 08 18:02:56 otrs.tg.local systemd[1]: Failed to start Amavisd-new is an interface b.....
    Nov 08 18:02:56 otrs.tg.local systemd[1]: Unit amavisd.service entered failed state.
    Nov 08 18:02:56 otrs.tg.local systemd[1]: amavisd.service failed.
    Nov 08 18:02:56 otrs.tg.local systemd[1]: amavisd.service holdoff time over, scheduling...t.
    Nov 08 18:02:56 otrs.tg.local systemd[1]: start request repeated too quickly for amavis...ce
    Nov 08 18:02:56 otrs.tg.local systemd[1]: Failed to start Amavisd-new is an interface b.....
    Nov 08 18:02:56 otrs.tg.local systemd[1]: Unit amavisd.service entered failed state.
    Nov 08 18:02:56 otrs.tg.local systemd[1]: amavisd.service failed.
    Hint: Some lines were ellipsized, use -l to show in full.
    
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's not ISPConfig which fails here, it's amavis. Check the maillog file to see why amavis fails to start.
     
    kyferez likes this.
  3. kyferez

    kyferez Member

    Till,

    Thank you. The log shows it can't connect to TCP port 10026. Also, I did "lsof -i :10024" and there were no results so no processes running and rebooted with same result.

    I googled a bit and found a mention of SELinux. I realized I had missed the step to disable it. After disabling SELinux, it's fixed!

    Code:
    [root@otrs log]# grep -rnwi amavis ./*
    ./ispconfig_install.log:60:Wed Nov 8 18:00:40 EST 2017 - [ISPConfig] - /tmp/ispconfig3-stable-3.1-aad778efe1b54d7d3fb6de84076b940917b112c1/install/dist/lib/centos_base.lib.php, Line 81: EXECUTED: postconf -e content_filter = amavis:[127.0.0.1]:10024
    ./maillog:10:Nov  8 12:14:01 otrs clamd[2358]: Running as user amavis (UID 991, GID 988)
    ./maillog:15:Nov  8 12:14:05 otrs amavis[2357]: starting. /usr/sbin/amavisd at otrs.tg.local amavisd-new-2.11.0 (20160426), Unicode aware, LANG="en_US.UTF-8"
    ./maillog:16:Nov  8 12:14:08 otrs amavis[2359]: Net::Server: Group Not Defined.  Defaulting to EGID '988 988'
    ./maillog:17:Nov  8 12:14:08 otrs amavis[2359]: Net::Server: User Not Defined.  Defaulting to EUID '991'
    ./maillog:18:Nov  8 12:14:08 otrs amavis[2359]: No ext program for   .lz4, tried: lz4c -d
    ./maillog:19:Nov  8 12:14:09 otrs amavis[2359]: No ext program for   .rar, tried: unrar, rar
    ./maillog:20:Nov  8 12:14:09 otrs amavis[2359]: No decoder for       .lz4
    ./maillog:21:Nov  8 12:14:09 otrs amavis[2359]: Using primary internal av scanner code for ClamAV-clamd
    ./maillog:22:Nov  8 12:14:09 otrs amavis[2359]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
    ./maillog:98:Nov  8 18:02:50 otrs amavis[10775]: starting. /usr/sbin/amavisd at otrs.tg.local amavisd-new-2.11.0 (20160426), Unicode aware, LANG="en_US.UTF-8"
    ./maillog:99:Nov  8 18:02:51 otrs amavis[10777]: (!)Net::Server: 2017/11/08-18:02:51 Can't connect to TCP port 10026 on 127.0.0.1 [Permission denied]\n  at line 68 in file /usr/share/perl5/vendor_perl/Net/Server/Proto/TCP.pm
    ./maillog:100:Nov  8 18:02:52 otrs amavis[10784]: starting. /usr/sbin/amavisd at otrs.tg.local amavisd-new-2.11.0 (20160426), Unicode aware, LANG="en_US.UTF-8"
    
     
    Last edited: Nov 10, 2017
    till likes this.

Share This Page