Wasn't entirely sure where to post this, please relocate if it is inappropriate here.
Today, one of my alias local IPs for my Apache jail just disappeared and my web server went down. This has never happened before, is it "usual" or does it require further investigation? log/messages on the host and in the jail reveal nothing. I am not sure where else to look. If it is not usual, what should I look at to discover the cause? If it is, is a script or similar available that would be able to determine if such an event happens and recreate the required local IP alias and restart the jail? Thanks.
As an aside, here is my hosts /etc/hosts file:
and the /etc/hosts file from the jail in question:
Should I add these lines to my jail hosts file?
Because I just noticed, this jail takes an inordinate amount of time to start.
And is the format of my host hosts file good?
Today, one of my alias local IPs for my Apache jail just disappeared and my web server went down. This has never happened before, is it "usual" or does it require further investigation? log/messages on the host and in the jail reveal nothing. I am not sure where else to look. If it is not usual, what should I look at to discover the cause? If it is, is a script or similar available that would be able to determine if such an event happens and recreate the required local IP alias and restart the jail? Thanks.
As an aside, here is my hosts /etc/hosts file:
Code:
127.0.0.1 localhost localhost.bsdbox.co
127.0.0.1 nakatomi.bsdbox.co nakatomi localhost
10.0.0.50 nakatomi.bsdbox.co nakatomi
10.0.0.111 bsdbox.co
10.0.0.112 zero.bsdbox.co zero
10.0.0.113 mail.bsdbox.co mail
and the /etc/hosts file from the jail in question:
Code:
127.0.0.1 localhost localhost.my.domain
Should I add these lines to my jail hosts file?
Code:
127.0.0.1 bsdbox.co
10.0.0.111 bsdbox.co
Because I just noticed, this jail takes an inordinate amount of time to start.
And is the format of my host hosts file good?