I have a new DigitalOcean droplet running Ubuntu 17.04 (Zesty Zapus). I am trying to get Phusion Passenger up and running on it with Nginx. However, I am experiencing some problems while following this guide:
https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/digital_ocean/nginx/oss/zesty/install_passenger.htmlI can see the problem by typing `sudo journalctl -xe` which returns:
-- Unit nginx.service has begun starting up.
Aug 20 10:02:35 app systemd[24674]: nginx.service: Failed at step EXEC spawning /usr/sbin/nginx: No such file or directory
-- Subject: Process /usr/sbin/nginx could not be executed
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support--
-- The process /usr/sbin/nginx could not be executed and failed.
--
-- The error number returned by this process is 2.
Aug 20 10:02:35 app systemd[1]: nginx.service: Control process exited, code=exited status=203
Aug 20 10:02:35 app systemd[1]: Failed to start A high performance web server and a reverse proxy server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support--
-- Unit nginx.service has failed.
--
-- The result is failed.
Aug 20 10:02:35 app systemd[1]: nginx.service: Unit entered failed state.
Aug 20 10:02:35 app sudo[24667]: pam_unix(sudo:session): session closed for user root
Aug 20 10:02:35 app systemd[1]: nginx.service: Failed with result 'exit-code'.
I believe the problem is that Phusion Passenger doesn't create any /usr/sbin/nginx file so nginx fails to startup.
Has anyone else experienced this? Any help would be much appreciated.
Thanks!