Showing posts with label Windows services. Show all posts
Showing posts with label Windows services. Show all posts

Saturday, November 3, 2012

Apache and Skype: Yet Another Reason to Keep Things (Virtually) Separate

I rarely use my always-on Windows desktop for anything other than office type of stuff, an occasional blog post, and communication. Still, when I am too lazy to boot up another machine (physical or virtual) for a quick test or something like that, I may run some web applications on it.

I guess, today was one of those "lazy" days. So, I started MySQL. No problem. Then, I tried to start Apache 2.2. It showed me the usual
The Apache2.2 service is starting.....
and then, all of a sudden, gave me this error message:
The Apache 2.2 service could not be started.
A service specific error occurred: 1.
More help is available by typing NET HELPMSG 3547.

Wednesday, October 26, 2011

How to Start and Stop PostgreSQL Service (Actually, Any Service) on Windows 7

On Windows XP, if you were logged in as a user with administrative rights, you could simply run cmd to start what in the old days we used to call a "DOS box" and run something like this:
    NET START postgresql
    NET STOP postgresql
from the Windows command prompt to start or stop PostgreSQL database server (or any other Windows service).

On Windows 7, however, it is a little more complicated than that. The problem is that, if you simply run cmd and try to start or stop a service, you will most probably get this error message:
System error 5 has occurred.
Access is denied.