You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bill -Sx- Jones <sn...@mac.com> on 2002/04/02 04:38:44 UTC

FW: A Solution: Apache SSL Hangs after Reboot

Oops, I forgot about *the* Apache group :/

Your copy, sorry;
-Sx-  :]


------ Forwarded Message

Hey!  I just spent about an hour trying to get my stupid MacOS X Apache SSL
stuff to work after a reboot (it won't, because it is waiting for the
encrypted cert password - which will never appear during the graphical boot
sequence.)

So, after I figured out what to do, I thought I would share what I
discovered (at least get it archived into some listserv somewhere in case I
forget again :)  all these OSX archives are somewhat hard to research  :/


Here is what the symptoms are:

You've just installed or upgraded to SSL, you forget to store the passphrase
decrypted, but restart your box anyways ...

During the reboot you notice it is trying to load apache - and it waits and
waits and ...  You get the picture...

This is the fix.  Pull the power plug, then restart and hold down -

Cmd-S  (Single User Mode.)

When you see the plain old Darwin system, you are ROOT (Yeah!)  But the
Filesystem was mounted RO  (Boooo!)

Hey, never fear, just issue a

 mount / [Enter]

And you're good to go.  Now, do, a

 cd /private/etc

And execute a

 pico hostconfig

Edit the line that says WEBSERVER, set it to -NO-

Then hit Control-X, save and exit.

Now issue a 

 reboot [Enter]

and the system will come up.

Don't forget to fix the SSL / passphrase issue before the NESXT reboot :)


(Just goes to show that if you can touch a Unix box there isn't any
security...  I think it should have at least asked me for the ROOT password
upon entering Single User/Maintenance mode  :(


Cheers!
-Sx-  :]



------ End of Forwarded Message


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org