1 (edited by mishra8813 2018-07-09 20:33:19)

Topic: iRedmail error with appache2

Hi ,

I had selected Apache2  from installation options
but i got given below error message. Please help me to find out the issue.
Thanks


                                                          0 upgraded, 0 newly installed, 0 to remove and 81 not upgraded.
                                                                                                                         1 not fully installed or removed.
           After this operation, 0 B of additional disk space will be used.
                                                                           Setting up nginx-full (1.10.3-0ubuntu0.16.04.2) ...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
* nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-07-09 12:05:16 BST; 10ms ago
  Process: 28542 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
  Process: 28536 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

Jul 09 12:05:15 Jurisic nginx[28542]: nginx: [emerg] listen() to [::]:80, b...e)
Jul 09 12:05:15 Jurisic nginx[28542]: nginx: [emerg] listen() to 0.0.0.0:80...e)
Jul 09 12:05:15 Jurisic nginx[28542]: nginx: [emerg] listen() to [::]:80, b...e)
Jul 09 12:05:16 Jurisic nginx[28542]: nginx: [emerg] listen() to 0.0.0.0:80...e)
Jul 09 12:05:16 Jurisic nginx[28542]: nginx: [emerg] listen() to [::]:80, b...e)
Jul 09 12:05:16 Jurisic nginx[28542]: nginx: [emerg] still could not bind()
Jul 09 12:05:16 Jurisic systemd[1]: nginx.service: Control process exited, ...=1
Jul 09 12:05:16 Jurisic systemd[1]: Failed to start A high performance web ...r.
Jul 09 12:05:16 Jurisic systemd[1]: nginx.service: Unit entered failed state.
Jul 09 12:05:16 Jurisic systemd[1]: nginx.service: Failed with result 'exit...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package nginx-full (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nginx-full
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/

----

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

2

Re: iRedmail error with appache2

- iRedMail-0.9.8 doesn't offer Apache support at all, why you have Apache option?

mishra8813 wrote:

Errors were encountered while processing:
nginx-full
E: Sub-process /usr/bin/dpkg returned an error code (1)

Do you have Nginx installed BEFORE iRedMail installation?
Please remove all "nginx*" packages before iRedMail installation, then run iRedMail installer again.

3

Re: iRedmail error with appache2

ZhangHuangbin wrote:

- iRedMail-0.9.8 doesn't offer Apache support at all, why you have Apache option?

mishra8813 wrote:

Errors were encountered while processing:
nginx-full
E: Sub-process /usr/bin/dpkg returned an error code (1)

Do you have Nginx installed BEFORE iRedMail installation?
Please remove all "nginx*" packages before iRedMail installation, then run iRedMail installer again.

I am using iRedmail 0.9.7 for apache2
There aren’t any nginx packages installed on ubuntu 16.04

4

Re: iRedmail error with appache2

- Are you trying to install iRedMail-0.9.7 or upgrading it?
- Why not use iRedMail-0.9.8?

5 (edited by mishra8813 2018-07-11 15:27:51)

Re: iRedmail error with appache2

I want to install iredmail on apache2
but it failed

ZhangHuangbin wrote:

- Are you trying to install iRedMail-0.9.7 or upgrading it?
- Why not use iRedMail-0.9.8?

6

Re: iRedmail error with appache2

- iRedMail is designed to be deployed on a new / fresh server OS.
- iRedMail doesn't support Apache anymore. try Nginx instead.