On Mon, 2012-04-30 at 09:18 -0500, John W. Foster wrote: > On Sun, 2012-04-29 at 07:11 -0500, John W. Foster wrote: > > My last upgrade of Debian stable on my production server produced an > > error that is causing issues. Apache2 is not automatically restarting as > > it should when the system is rebooted. This is a nightly occurrence and > > is required for hardware testing reasons. Anyone have any ideas as to > > what might be happening? I have checked the error log & see nothing that > > looks suspect. Webmin shows that the Apache server is setup to start on > > bootup. It seems to run fine after I manually restart the server after > > the reboot. > > thanks! > > frosty > > > Thanks for the suggestions. I tried them all & none worked. Sorry... > However I did some research outside this list & arrived at a solution > that was posted by another user on another list. I'm putting it up here > just so it will appear in our archives. > > > > Thanks to investigation done by Faheem Mitha and discussion on the > > comments below, a full answer to this question has worked out. > > > > Read Faheem's answer for full details > > http://unix.stackexchange.com/questions/12597/missing-init-d-apache2-file/12748#12748 > > > > For humor value, here are the cliff notes: > > > > The short version is that init scripts are considered conf files, and > > apt-get is too polite to touch conf files that have been user-modified > > in any way, even to restore deleted on reinstall after a uninstall. > > Before you say "duh of course", check out the gymnastics you have to > > do. I quote: > > > > After asking the dpkg list (and being told off for it) + > > further fiddling, the following works. Be careful with this. > > It will replace all your modified config files with the > > version from the package. > > > > apt-get -o Dpkg::Options::="--force-confnew" -o > > Dpkg::Options::="--force-confask" install --reinstall > > apache2.2-common > > > > I don't know why you needed me to tell you this. It's the > > first thing you should have thought of. :-) – Faheem Mitha > > > >
Only problem is: now none of my websites work. Only the "localhost" basic is working. I will get it squared away but beware of the solution above. Thanks! frosty -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1335796676.23734.1.ca...@beast.johnwfoster.com