package nginx-core 1.10.3-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nginx (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
its not working
ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: nginx-core 1.10.3-1ubuntu3.1
ProcVersionSign
Uname: Linux 4.10.0-43-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.10
Architecture: amd64
Date: Wed Apr 18 11:41:44 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2018-03-24 (25 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
RelatedPackageV
dpkg 1.18.10ubuntu2
apt 1.4
SourcePackage: nginx
Title: package nginx-core 1.10.3-1ubuntu3.1 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 |
@Mukesh, nginx refuses to start because it's missing its main config file (/etc/nginx/ nginx.conf) . Here's the error message:
Apr 18 11:41:44 m nginx[8674]: nginx: [emerg] open() "/etc/nginx/ nginx.conf" failed (2: No such file or directory)
Have you deleted the file or the parent directory?