How to Safely remove Default Vhost in Puppetlabs Apache Module?
I am using the puppetlabs/apache module to create:
- 2 Vhosts
- 1 Vhost is set to be default (using 'apache::vhost::default_vhost: true')
- Remove the default Vhost (using 'apache::default_vhost: false')
However using the option to remove the default causes Apache to fail to start. with the following error:
# service httpd start Starting httpd: no listening sockets available, shutting down Unable to open logs
I have tried to find information on the error and all answer point to disk space/selinux/reinstalling Apache and I have tried them all to no avail. Any reason why this option might be failing? I need to get this set as I cannot have Apache bound to every interface on Port 80.