[Bug 1769045] Re: package nginx-core 1.10.3-0ubuntu0.16.04.2 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Andreas Hasenack
andreas at canonical.com
Wed May 23 22:23:01 UTC 2018
>From the terminal log:
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
[0;1;31m●[0m nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: [0;1;31mfailed[0m (Result: exit-code) since jeu. 2018-05-03 10:06:47 CEST; 4ms ago
Process: 32008 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; [0;1;31m(code=exited, status=1/FAILURE)[0m
Process: 32004 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
mai 03 10:06:46 greg-OptiPlex-9020 nginx[32008]: nginx: [emerg] listen() to [::]:80, backlo...e)
mai 03 10:06:46 greg-OptiPlex-9020 nginx[32008]: nginx: [emerg] listen() to 0.0.0.0:80, bac...e)
mai 03 10:06:46 greg-OptiPlex-9020 nginx[32008]: nginx: [emerg] listen() to [::]:80, backlo...e)
mai 03 10:06:47 greg-OptiPlex-9020 nginx[32008]: nginx: [emerg] listen() to 0.0.0.0:80, bac...e)
mai 03 10:06:47 greg-OptiPlex-9020 nginx[32008]: nginx: [emerg] listen() to [::]:80, backlo...e)
mai 03 10:06:47 greg-OptiPlex-9020 nginx[32008]: nginx: [emerg] still could not bind()
mai 03 10:06:47 greg-OptiPlex-9020 systemd[1]: [0;1;39mnginx.service: Control process exited, code=...=1[0m
mai 03 10:06:47 greg-OptiPlex-9020 systemd[1]: [0;1;31mFailed to start A high performance web serve...r.[0m
mai 03 10:06:47 greg-OptiPlex-9020 systemd[1]: [0;1;39mnginx.service: Unit entered failed state.[0m
mai 03 10:06:47 greg-OptiPlex-9020 systemd[1]: [0;1;39mnginx.service: Failed with result 'exit-code'.[0m
Unfortunately the logs are truncated and prevent us from having a good
idea about what happened. It looks like it's about listening to port 80,
maybe there is another service listening there already?
Could you please try:
sudo apt update
sudo apt -f install
If it still fails, then please show the output of:
sudo systemctl status nginx
sudo netstat -anp
Thanks
** Changed in: nginx (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to nginx in Ubuntu.
https://bugs.launchpad.net/bugs/1769045
Title:
package nginx-core 1.10.3-0ubuntu0.16.04.2 failed to install/upgrade:
le sous-processus script post-installation installé a retourné une
erreur de sortie d'état 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1769045/+subscriptions
More information about the Ubuntu-server-bugs
mailing list