Page 3 of 3

Posted: Sun Jun 03, 2007 5:03 pm
by feyd

Code: Select all

>apache -k uninstall -n "Apache2.2"

>apache -k install -n "Apache2"
or something similar.

Posted: Sun Jun 03, 2007 5:04 pm
by superdezign
Oh, you must have Apache2. I just upgraded today. It automatically installs itself as a Service.
I was unaware of the difference.

Posted: Sun Jun 03, 2007 5:14 pm
by bruceaj
feyd wrote:

Code: Select all

>apache -k uninstall -n "Apache2.2"

>apache -k install -n "Apache2"
or something similar.
I just looked at "httpd -?" and I could construct a command using it that looks like what you suggested, namely

http -k uninstall -n "Apache2.2"
http -k install -n "Apache2"

Is that what your suggesting? Can I feel safe executing these two commands that it won't "kill" my apache installation? I have to trust your judgement as I am "Over my Head" with this.

Thanks....

Posted: Sun Jun 03, 2007 5:22 pm
by feyd
It will simply rename the service by uninstalling it, then reinstalling it under the new name. Your configuration will not be affected.

Posted: Sun Jun 03, 2007 5:44 pm
by superdezign
In Apache 1.3, you could use -i instead of -k install. Is that no longer available?

Posted: Sun Jun 03, 2007 6:33 pm
by bruceaj
Tried: httpd -k uninstall -n "Apache2.2"

I got an error message (OS 5) Access is denied: Apache2.2: OpenService failed.

I stopped the service before I ran the command. My ID is the Administrator ID so I don't "THINK" that's the problem.

Any guess?

Thanks...