[Bug 1471493] [NEW] package nginx-core 1.6.2-5ubuntu3 failed to install/upgrade. Job for nginx.service failed.
if.gnu.linux
if.gnu.linux at gmail.com
Sun Jul 5 00:50:48 UTC 2015
Public bug reported:
If I try to install nginx on Ubuntu 15.04, dpkg returns an error saying
"Job for nginx.service failed. See "systemctl status nginx.service" and
"journalctl -xe" for details.". It is dublicate of bug #1447294.
Output of command LC_ALL=C systemctl status nginx.service added as an
attachment: systemctl.txt
Output of command LC_ALL=C sudo journalctl -xe added as an attachment:
journalctl.txt
Output of command LC_ALL=C sudo apt-get install nginx added as an
attachment: apt-get.txt
As recommended in bug #1447294, output of sudo nginx command:
LC_ALL=C sudo nginx
[sudo] password for if:
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
It seems that "listen [::]:80 default_server;" directive is causing the
problem. I disabled ipv6 module using ipv6.disable=1 kernel parameter,
so this problem could be related to IPv6.
Workaround:
1- Comment out "listen [::]:80 default_server;" directive
2- LC_ALL=C sudo dpkg --configure nginx-core
3- LC_ALL=C sudo dpkg --configure nginx
LC_ALL=C apt-cache policy nginx
nginx:
Installed: 1.6.2-5ubuntu3
Candidate: 1.6.2-5ubuntu3
Version table:
*** 1.6.2-5ubuntu3 0
500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: nginx-core 1.6.2-5ubuntu3
ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
Uname: Linux 3.19.0-16-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
Date: Sun Jul 5 02:37:54 2015
DuplicateSignature: package:nginx-core:1.6.2-5ubuntu3:alt süreç post-installation betiği kuruldu 1 çıkış kodu ile sona erdi
ErrorMessage: alt süreç post-installation betiği kuruldu 1 çıkış kodu ile sona erdi
InstallationDate: Installed on 2015-04-26 (69 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
RelatedPackageVersions:
dpkg 1.17.25ubuntu1
apt 1.0.9.7ubuntu4
SourcePackage: nginx
Title: package nginx-core 1.6.2-5ubuntu3 failed to install/upgrade: alt süreç post-installation betiği kuruldu 1 çıkış kodu ile sona erdi
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: nginx (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-package vivid
** Attachment added: "apt-get.txt"
https://bugs.launchpad.net/bugs/1471493/+attachment/4424434/+files/apt-get.txt
** Summary changed:
- package nginx-core 1.6.2-5ubuntu3 failed to install/upgrade: alt süreç post-installation betiği kuruldu 1 çıkış kodu ile sona erdi
+ package nginx-core 1.6.2-5ubuntu3 failed to install/upgrade. Job for nginx.service failed.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nginx in Ubuntu.
https://bugs.launchpad.net/bugs/1471493
Title:
package nginx-core 1.6.2-5ubuntu3 failed to install/upgrade. Job for
nginx.service failed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1471493/+subscriptions
More information about the Ubuntu-server-bugs
mailing list