geerlingguy / ansible-role-varnish

Ansible Role - Varnish HTTP accelerator
https://galaxy.ansible.com/geerlingguy/varnish/
MIT License
80 stars 88 forks source link

Error starting varnish on Centos 7 #76

Closed ammont closed 4 years ago

ammont commented 6 years ago

I get the following error trying to provision a CentOs 7 machine:

TASK [geerlingguy.varnish : Ensure Varnish services are started and enabled on startup.] ***
failed: [lsv3] (item=varnish) => {"changed": false, "item": "varnish", "msg": "Unable to start service varnish: Job for varnish.service failed because the control process exited with error code. See \"systemctl status varnish.service\" and \"journalctl -xe\" for details.\n"}
brucellino commented 5 years ago

I've found that the the service didn't start because the port (80) was already in use.

Jul 03 13:03:41 ip-172-31-45-165 varnishd[2080]: Error: Could not get socket :80: Address already in use
stale[bot] commented 4 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 4 years ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.