Can not install a service (apache httpd server apache2.2)

G

Guest

I tryed to install the service
heres what I did
C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -k install
Installing the Apache2.2 service
(OS 5)Access is denied. : Failed to open the WinNT service manager


Any suggestions?
 
M

Mr. Arnold

Smithsonian said:
I tryed to install the service
heres what I did
C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -k install
Installing the Apache2.2 service
(OS 5)Access is denied. : Failed to open the WinNT service manager


Any suggestions?

Somehow you need to get it to run with Run As Admin, which you can normally
do with a short-cut or an exe. So, you need to figure out how you're going
to do it with that command above.

http://vistasupport.mvps.org/run_as_administrator.htm

Or you can do a search with Google on how to install Apache on Vista, if it
can even run on Vista.
 
P

Paul Montgumdrop

wil2008 said:
Smithsonian:

Your command is correct.
But you need to login the "Administrator" account beforehand, not just
an account with administrator role. It is different here.

Mr Arnold:
By the way, it is not clear how to do "run-as-admin" in the console.
The answer in your link is meaningless to me.

Apache CAN be installed in Vista and Windows Server 2008 and it works.
I did it myself. If you do not believe you can do it yourself.

You know it's 9/19/2008 right?
 
Y

Yan

Hello "unknown"

Please make sure the full path to httpd.exe DOES NOT contain space
characters. This will not run in Program Files directory. The best solution
is to install in in root:
C:\Apache\...

Then Right click on cmd.exe and choose to run it as administrator.

Better idea is to use autoinstaller available on apache.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top