docs: nginx will not install correctly via APT
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenSRF |
Fix Released
|
Medium
|
Unassigned |
Bug Description
On Ubuntu 16.04, following the instructions in the README, installing nginx before changing Apache's listening ports fails with the following:
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.
systemctl status nginx.service:
Mar 04 15:13:09 xenial nginx[15773]: nginx: [emerg] listen() to [::]:80, backlog 511 fai
Mar 04 15:13:10 xenial nginx[15773]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511
Mar 04 15:13:10 xenial nginx[15773]: nginx: [emerg] listen() to [::]:80, backlog 511 fai
Mar 04 15:13:10 xenial nginx[15773]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511
Mar 04 15:13:10 xenial nginx[15773]: nginx: [emerg] listen() to [::]:80, backlog 511 fai
Mar 04 15:13:11 xenial nginx[15773]: nginx: [emerg] still could not bind()
Mar 04 15:13:11 xenial systemd[1]: nginx.service: Control process exited, code=exited st
Mar 04 15:13:11 xenial systemd[1]: Failed to start A high performance web server and a r
Mar 04 15:13:11 xenial systemd[1]: nginx.service: Unit entered failed state.
Mar 04 15:13:11 xenial systemd[1]: nginx.service: Failed with result 'exit-code'.
ESCOC
This happens because ports 80 and 443 are already in use by Apache.
Branch on the way.
Changed in opensrf: | |
status: | Fix Committed → Fix Released |
Branch available here:
http:// git.evergreen- ils.org/ ?p=working/ OpenSRF. git;a=shortlog; h=refs/ heads/user/ csharp/ lp1670045_ nginx_docs_ correction