Hi.You may want to verify that Apache's logfiles are actually writeable by the user under which Apache runs (or should run) as a service. If you have run Apache before from the command-line as Administrator, it may have created logfiles unwriteable by anyone else. This would prevent Apache from writing the reason of the start failure to the logfile. Alternatively, log off the system, login again as this Apache user, and then try to run it in a command window.
Williams, Dewey wrote:
-----Original Message----- From: Timothy Orme [mailto:torme@xxxxxxxxxxxxxxxxxxxxxx] Sent: Wednesday, November 05, 2008 10:43 AM To: users@xxxxxxxxxxxxxxxx Subject: Apache fails to start as service Hello, I'm running Apache 2.2.10 on Windows 2003 EE. I have a directoryaliased to amapped network drive. I have setup a user which has permissions toaccess thesedrives, and have specified that the apache service should be run as that user (By changing the services"Log on" account).However, when I try and start this service, it fails. From theservices MMC I receive anerror message saying that Windows couldn't start the service due to an error code 1. When Itry and startthe service via the command line (httpd -k start) it fails silently.Whats strange is thatif I simply run the command (httpd) Apache starts fine. Thanks, TimTim, I have had this problem for many versions of Apache (since 2.0) and it has yet to be resolved. I have found that Apache will run in a Command Window, but not as a service. Don't know why, have asked many Apache gurus here and "in the cloud" with no resolution. If you find a solution please pass it on. Dewey Williams UNC Charlotte --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx