Solved

Apache 2.2 on Vista: Failed to open the WinNT service manager

Posted on 2010-11-13
5
4,180 Views
Last Modified: 2012-08-13
Hi all,

Trying to install Apache 2.2 on Windows Vista (Service Pack 1) I'm doing on the DOS-box:
\bin>httpd.exe -k install

I have:
Installing the Apache 2.2 service
<OS 5>Access denied: Failed to open the WinNT service manager

What is happening?
My account is the Administrator account and I've made sure that in the conf file the directoy path is in between " and with the / instead of the \

Any suggestions?

Thanks a lot
0
Comment
Question by:Dada44
  • 2
  • 2
5 Comments
 
LVL 9

Assisted Solution

by:Lance_P
Lance_P earned 250 total points
ID: 34130457
Right click and run Apache as 'administrator'
0
 
LVL 61

Accepted Solution

by:
gheist earned 250 total points
ID: 34130714
You need to run cmd.exe elevated - in menu search type "cmd" then right click to run as administrator (elevated)

rest should be obvious.
0
 

Author Comment

by:Dada44
ID: 34132428
Thanks guys, but I don't get it right or something else is wrong:

In the Apache2 folder I right click httpd.exe and I run it as administrator. The DOS-box shows all black and nothing happens, cannot type either.

As you can see I'm quite new to Apache, please explain further.

Thanks again

0
 

Author Closing Comment

by:Dada44
ID: 34132807
I made it disabling the UAC , thanks a lot
0
 
LVL 61

Expert Comment

by:gheist
ID: 34134179
I described a way while still using uac with elevated command prompt.
disabling UAC is not necessary.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now