Hello and a happy 3rd advent
As of Friday evening I have everything up and running:
- All patches are applied
- sshd is compiled, installed and running
- mySQL is compiled, installed and running
- Apache22 is compiled, installed and running
- PHP is compiled, installed and running
- Mediawiki is compiled, installed and running.
During my trial to get everything working I had the experience, that, say, sshd would not start at bootup.
I thought that might have been because I added apache to the rc.conf, but replaced the apache1.3 port (which mediawiki installs by default) with the apache22-version, but did not change the value in rc.conf from enable_apache to enable_apache22.
At friday evening I had every service recompiled and configured and everything worked as it should. So I told my users to start registering in the wiki and using it
On Saturday morning everything worked fine and I took of to visit my family. On Saturday Noon I showed the wiki to my cousin and it worked fine.
When I tried to show the wiki to my father on Saturday Evening, nothing worked. I'd just get timeouts on both ports/pages, http:80 and https:443.
sshd stopped working, too.
Now, seeing that had problem that some services would not get started at bootup (although set correctly in the rc.conf) but the system otherwise works fine, and after a reboot every service gets started correctly, I am beginning to wonder if maybe the services just died and did not reload.
As I am using rc.conf, what happens when a service dies? Is it just dead or does some daemon watch over it and restart it? As I see it, that is, what inetd is for, right? And why do daemons die after all?
As I don't have any access to the server, I just can speculate, but maybe somebody could tell me, which logfiles to look at to maybe get an answer? I will get my hands on the server tonight as I am going back "home".