[Bug 1447294] Re: package nginx-full 1.6.2-5ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Francis De Brabandere 1447294 at bugs.launchpad.net
Thu May 7 15:07:44 UTC 2015


systemctl status nginx.service
● 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 Thu 2015-05-07 10:47:47 EDT; 8min ago
  Process: 540 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

then I tried 
sudo /usr/sbin/nginx -t -q -g "daemon on; master_process on;"

and
sudo tail -n 100 /var/log/nginx/error.log

which revealed
2015/05/07 10:47:47 [emerg] 540#0: host not found in upstream "localhost:8080" in /etc/nginx/sites-enabled/foo.bar.com:2

but strangely this one seems to work
sudo service nginx start

any clues?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nginx in Ubuntu.
https://bugs.launchpad.net/bugs/1447294

Title:
  package nginx-full 1.6.2-5ubuntu3 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

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



More information about the Ubuntu-server-bugs mailing list