1

Topic: Need help - Installation fail with errors

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7.
- Linux/BSD distribution name and version: Ubuntu 16.04.3 LTS xenial
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? I have no idea
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi, I really hope to get some help here. This is the output I'm getting when running "sudo bash iRedMail.sh":

user@vpsx49302:~/iredmail/iRedMail-0.9.7$ sudo bash iRedMail.sh
[ INFO ] Checking configuration file: /home/user/iredmail/iRedMail-0.9.7/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /home/user/iredmail/iRedMail-0.9.7/config for mail server setting.
[ INFO ] Import installation process status from file: /home/user/iredmail/iRedMail-0.9.7/runtime/install.status.
[ INFO ] Installing package(s): postfix postfix-pcre postgresql postgresql-client postgresql-contrib postfix-pgsql libdbd-pg-perl php-json php-gd php-mcrypt php-curl mcrypt php-intl php-xml php-mbstring php-pgsql nginx-full php-fpm dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-pgsql amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj zoo nomarch cpio lzop cabextract p7zip-full rpm ripole libmail-spf-perl unrar-free pax lrzip python-sqlalchemy python-dnspython python-psycopg2 python-pymysql python-jinja2 python-netifaces python-webpy python-beautifulsoup python-lxml python-pycurl uwsgi uwsgi-plugin-python python-bcrypt awstats fail2ban bzip2 acl patch cron tofrodos logwatch unzip bsdutils liblz4-tool
Reading package lists...
Building dependency tree...
Reading state information...
acl is already the newest version (2.2.52-3).
amavisd-new is already the newest version (1:2.10.1-2ubuntu1).
bzip2 is already the newest version (1.0.6-8).
cpio is already the newest version (2.11+dfsg-5ubuntu1).
cron is already the newest version (3.0pl1-128ubuntu2).
libcrypt-openssl-rsa-perl is already the newest version (0.28-2build2).
libmail-dkim-perl is already the newest version (0.40-1).
libmail-spf-perl is already the newest version (2.9.0-4).
logwatch is already the newest version (7.4.2-1ubuntu1).
patch is already the newest version (2.7.5-1).
pax is already the newest version (1:20151013-1).
php-curl is already the newest version (1:7.0+35ubuntu6).
php-gd is already the newest version (1:7.0+35ubuntu6).
php-pgsql is already the newest version (1:7.0+35ubuntu6).
postgresql is already the newest version (9.5+173).
postgresql-client is already the newest version (9.5+173).
postgresql-contrib is already the newest version (9.5+173).
python-dnspython is already the newest version (1.12.0-1).
python-jinja2 is already the newest version (2.8-1).
python-lxml is already the newest version (3.5.0-1build1).
python-netifaces is already the newest version (0.10.4-0.1build2).
python-psycopg2 is already the newest version (2.6.1-1build2).
python-pycurl is already the newest version (7.43.0-1ubuntu1).
python-sqlalchemy is already the newest version (1.0.11+ds1-1ubuntu2).
spamassassin is already the newest version (3.4.1-3).
unzip is already the newest version (6.0-20ubuntu1).
altermime is already the newest version (0.3.10-7).
arj is already the newest version (3.10.22-14).
cabextract is already the newest version (1.6-1).
fail2ban is already the newest version (0.9.3-1).
libdbd-pg-perl is already the newest version (3.5.3-1build1).
liblz4-tool is already the newest version (0.0~r131-2ubuntu2).
lrzip is already the newest version (0.621-1).
lzop is already the newest version (1.03-3.2).
mcrypt is already the newest version (2.6.8-1.3ubuntu1).
nomarch is already the newest version (1.4-3).
p7zip-full is already the newest version (9.20.1~dfsg.1-4.2).
php-fpm is already the newest version (1:7.0+35ubuntu6).
php-intl is already the newest version (1:7.0+35ubuntu6).
php-json is already the newest version (1:7.0+35ubuntu6).
php-mbstring is already the newest version (1:7.0+35ubuntu6).
php-mcrypt is already the newest version (1:7.0+35ubuntu6).
php-xml is already the newest version (1:7.0+35ubuntu6).
python-bcrypt is already the newest version (2.0.0-2build1).
python-beautifulsoup is already the newest version (3.2.1-1).
python-webpy is already the newest version (1:0.37+20120626-1).
ripole is already the newest version (0.2.0+20081101.0215-1).
rpm is already the newest version (4.12.0.1+dfsg1-3build3).
tofrodos is already the newest version (1.7.13+ds-2ubuntu1).
unrar-free is already the newest version (1:0.0.1+cvs20140707-1).
zoo is already the newest version (2.10-28).
awstats is already the newest version (7.4+dfsg-1ubuntu0.1).
bsdutils is already the newest version (1:2.27.1-6ubuntu3.3).
clamav-daemon is already the newest version (0.99.2+dfsg-0ubuntu0.16.04.2).
clamav-freshclam is already the newest version (0.99.2+dfsg-0ubuntu0.16.04.2).
dovecot-imapd is already the newest version (1:2.2.22-1ubuntu2.4).
dovecot-managesieved is already the newest version (1:2.2.22-1ubuntu2.4).
dovecot-pop3d is already the newest version (1:2.2.22-1ubuntu2.4).
dovecot-sieve is already the newest version (1:2.2.22-1ubuntu2.4).
postfix is already the newest version (3.1.0-3ubuntu0.2).
postfix-pcre is already the newest version (3.1.0-3ubuntu0.2).
postfix-pgsql is already the newest version (3.1.0-3ubuntu0.2).
python-pymysql is already the newest version (0.7.2-1ubuntu1).
dovecot-lmtpd is already the newest version (1:2.2.22-1ubuntu2.4).
dovecot-pgsql is already the newest version (1:2.2.22-1ubuntu2.4).
nginx-full is already the newest version (1.10.3-0ubuntu0.16.04.2).
uwsgi is already the newest version (2.0.12-5ubuntu3.1).
uwsgi-plugin-python is already the newest version (2.0.12-5ubuntu3.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up gnustep-base-runtime (1.24.7-1build2) ...
Failed to start gdomap.service: Unit gdomap.service not found.
invoke-rc.d: initscript gdomap, action "start" failed.
* gdomap.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
dpkg: error processing package gnustep-base-runtime (--configure):
subprocess installed post-installation script returned error exit status 5
dpkg: dependency problems prevent configuration of unar:
unar depends on gnustep-base-runtime (>= 1.24.7); however:
  Package gnustep-base-runtime is not configured yet.

dpkg: error processing package unar (--configure):
dependency problems - leaving unconfigured
Setting up sa-compile (3.4.1-3) ...
Running sa-compile (may take a long time)
command 're2c -i -b -o scanner1.c scanner1.re' failed: exit 0
dpkg: error processing package sa-compile (--configure):
subprocess installed post-installation script returned error exit status 12
Setting up uwsgi (2.0.12-5ubuntu3.1) ...
Failed to start uwsgi.service: Unit uwsgi.service not found.
invoke-rc.d: initscript uwsgi, action "start" failed.
* uwsgi.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
dpkg: error processing package uwsgi (--configure):
subprocess installed post-installation script returned error exit status 5
Setting up amavisd-new (1:2.10.1-2ubuntu1) ...
Creating/updating amavis user account...
Failed to start amavis.service: Unit amavis.service not found.
invoke-rc.d: initscript amavis, action "start" failed.
* amavis.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
dpkg: error processing package amavisd-new (--configure):
subprocess installed post-installation script returned error exit status 5
Errors were encountered while processing:
gnustep-base-runtime
unar
sa-compile
uwsgi
amavisd-new
E: Sub-process /usr/bin/dpkg returned an error code (1)
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://www.iredmail.org/forum/

I don't understand what the problem is here..

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.