nginx not installed with sucess on DHIS2

Bug #1721011 reported by Joao Muianga on 2017-10-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DHIS
Undecided
Unassigned

Bug Description

● 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 Tue 2017-10-03 14:08:27 CAT; 28ms ago
  Process: 29039 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
  Process: 29034 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

Oct 03 14:08:26 TesteOMS nginx[29039]: nginx: [emerg] listen() to [::]:80, ...e)
Oct 03 14:08:26 TesteOMS nginx[29039]: nginx: [emerg] listen() to 0.0.0.0:8...e)
Oct 03 14:08:26 TesteOMS nginx[29039]: nginx: [emerg] listen() to [::]:80, ...e)
Oct 03 14:08:27 TesteOMS nginx[29039]: nginx: [emerg] listen() to 0.0.0.0:8...e)
Oct 03 14:08:27 TesteOMS nginx[29039]: nginx: [emerg] listen() to [::]:80, ...e)
Oct 03 14:08:27 TesteOMS nginx[29039]: nginx: [emerg] still could not bind()
Oct 03 14:08:27 TesteOMS systemd[1]: nginx.service: Control process exited,...=1
Oct 03 14:08:27 TesteOMS systemd[1]: Failed to start A high performance web...r.
Oct 03 14:08:27 TesteOMS systemd[1]: nginx.service: Unit entered failed state.
Oct 03 14:08:27 TesteOMS systemd[1]: nginx.service: Failed with result 'exi...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package nginx-core (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-core (>= 1.10.3-0ubuntu0.16.04.2) | nginx-full (>= 1.10.3-0ubuntu0.16.04.2) | nginx-light (>= 1.10.3-0ubuntu0.16.04.2) | nginx-extras (>= 1.10.3-0ubuntu0.16.04.2); however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-core (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-full (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-light (<< 1.10.3-0ubuntu0.16.04.2.1~) | nginx-extras (<< 1.10.3-0ubuntu0.16.04.2.1~); however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving No apport report written because the error message indicates its a followup error from a previous failure.
                                                         unconfigured
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for ufw (0.35-0ubuntu2) ...
Errors were encountered while processing:
 nginx-core
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

Knut Staring (knutst) wrote :

Please dont use this website. We have moved. You can send an email to the mailing list:

https://launchpad.net/~dhis2-users

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers