Public bug reported:

After apt update and apt upgrade nginx won't start.

Setting up nginx (1.24.0-2ubuntu7.4) ...
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 Mon 2025-06-30 01:06:57 MDT; 11ms 
ago
       Docs: man:nginx(8)
    Process: 15635 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; 
master_process on; (code=exited, status=0/SUCCESS)
    Process: 15636 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; 
(code=exited, status=1/FAILURE)
        CPU: 25ms

Jun 30 01:06:54 wildebeast systemd[1]: Starting nginx.service - A high 
performance web server and a reverse proxy server...
Jun 30 01:06:54 wildebeast nginx[15636]: nginx: [emerg] bind() to 0.0.0.0:8080 
failed (98: Address already in use)
Jun 30 01:06:55 wildebeast nginx[15636]: nginx: [emerg] bind() to 0.0.0.0:8080 
failed (98: Address already in use)
Jun 30 01:06:55 wildebeast nginx[15636]: nginx: [emerg] bind() to 0.0.0.0:8080 
failed (98: Address already in use)
Jun 30 01:06:56 wildebeast nginx[15636]: nginx: [emerg] bind() to 0.0.0.0:8080 
failed (98: Address already in use)
Jun 30 01:06:56 wildebeast nginx[15636]: nginx: [emerg] bind() to 0.0.0.0:8080 
failed (98: Address already in use)
Jun 30 01:06:57 wildebeast nginx[15636]: nginx: [emerg] still could not bind()
Jun 30 01:06:57 wildebeast systemd[1]: nginx.service: Control process exited, 
code=exited, status=1/FAILURE
Jun 30 01:06:57 wildebeast systemd[1]: nginx.service: Failed with result 
'exit-code'.
Jun 30 01:06:57 wildebeast systemd[1]: Failed to start nginx.service - A high 
performance web server and a reverse proxy server.
dpkg: error processing package nginx (--configure):
 installed nginx package post-installation script subprocess returned error 
exit status 1
Errors were encountered while processing:
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: nginx 1.24.0-2ubuntu7.4
ProcVersionSignature: Ubuntu 6.11.0-26.26~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-26-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.7
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Jun 30 01:05:41 2025
ErrorMessage: installed nginx package post-installation script subprocess 
returned error exit status 1
InstallationDate: Installed on 2024-09-03 (300 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 
3.12.3-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.22.6ubuntu6.1
 apt  2.8.3
SourcePackage: nginx
Title: package nginx 1.24.0-2ubuntu7.4 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/2115625

Title:
  package nginx 1.24.0-2ubuntu7.4 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/2115625/+subscriptions


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

Reply via email to