Public bug reported:

Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for 
details.
invoke-rc.d: initscript nginx, action "start" failed.
× nginx.service - A high performance web server and a reverse proxy server
     Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: 
enabled)
     Active: failed (Result: exit-code) since Tue 2026-06-09 23:29:20 IST; 13ms 
ago
       Docs: man:nginx(8)
    Process: 11250 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; 
master_process on; (code=exited, status=1/FAILURE)
        CPU: 5ms

Jun 09 23:29:20 suman-Aspire-A515-56 systemd[1]: Starting nginx.service - A 
high performance web server and a reverse proxy server...
Jun 09 23:29:20 suman-Aspire-A515-56 nginx[11250]: 2026/06/09 23:29:20 [emerg] 
11250#11250: host not found in upstream "blue:3000" in /etc/nginx/nginx.conf:5
Jun 09 23:29:20 suman-Aspire-A515-56 nginx[11250]: nginx: configuration file 
/etc/nginx/nginx.conf test failed
Jun 09 23:29:20 suman-Aspire-A515-56 systemd[1]: nginx.service: Control process 
exited, code=exited, status=1/FAILURE
Jun 09 23:29:20 suman-Aspire-A515-56 systemd[1]: nginx.service: Failed with 
result 'exit-code'.
Jun 09 23:29:20 suman-Aspire-A515-56 systemd[1]: Failed to start nginx.service 
- A high performance web server and a reverse proxy server.
dpkg: error processing package nginx (--configure):

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: nginx 1.24.0-2ubuntu7.11
ProcVersionSignature: Ubuntu 6.8.0-111.111-generic 6.8.12
Uname: Linux 6.8.0-111-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
Date: Tue Jun  9 23:29:20 2026
ErrorMessage: installed nginx package post-installation script subprocess 
returned error exit status 1
InstallationDate: Installed on 2024-06-15 (725 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 
(20230807.2)
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 
3.12.3-0ubuntu2.1
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.22.6ubuntu6.6
 apt  2.8.3
SourcePackage: nginx
Title: package nginx 1.24.0-2ubuntu7.11 failed to install/upgrade: installed 
nginx package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nginx (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156245

Title:
  package nginx 1.24.0-2ubuntu7.11 failed to install/upgrade: installed
  nginx package post-installation script subprocess returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/2156245/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to