package nginx-core 1.12.1-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nginx (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
i am using ubuntu 17.10 and nginx core is crashed during the apt-get update
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: nginx-core 1.12.1-0ubuntu2
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
Date: Thu Nov 2 13:25:42 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageV
dpkg 1.18.24ubuntu1
apt 1.5
SourcePackage: nginx
Title: package nginx-core 1.12.1-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
From terminal log:
Nov 02 13:25:41 gregor-linux nginx[8274]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) service: Control process exited, code=exited status=1[0m service: Unit entered failed state.[0m service: Failed with result 'exit-code'.[0m
Nov 02 13:25:41 gregor-linux nginx[8274]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Nov 02 13:25:41 gregor-linux nginx[8274]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Nov 02 13:25:42 gregor-linux nginx[8274]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Nov 02 13:25:42 gregor-linux nginx[8274]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Nov 02 13:25:42 gregor-linux nginx[8274]: nginx: [emerg] still could not bind()
Nov 02 13:25:42 gregor-linux systemd[1]: [0;1;39mnginx.
Nov 02 13:25:42 gregor-linux systemd[1]: [0;1;31mFailed to start A high performance web server and a reverse proxy server.[0m
Nov 02 13:25:42 gregor-linux systemd[1]: [0;1;39mnginx.
Nov 02 13:25:42 gregor-linux systemd[1]: [0;1;39mnginx.