>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.
● nginx.service - A high performance web server and a reverse 
proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: 
enabled)
   Active: failed (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; 
(code=exited, status=1/FAILURE)
  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]: nginx.service: Control 
process exited, code=...=1
mai 03 10:06:47 greg-OptiPlex-9020 systemd[1]: Failed to start A high 
performance web serve...r.
mai 03 10:06:47 greg-OptiPlex-9020 systemd[1]: nginx.service: Unit 
entered failed state.
mai 03 10:06:47 greg-OptiPlex-9020 systemd[1]: nginx.service: Failed 
with result 'exit-code'.

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to