0

Until this morning, I have had Apache 2.0 running as a service using a local account which was configured with appropriate permissions. Sometime yesterday, someone must have changed something, and now Apache 2.0 won't start as a service under this account.

I made the account an Administrator temporarily, and Apache 2.0 starts fine.

I tried following the access listed in the official documentation, but it seems to require more access. Does anyone know what access Apache 2.0 needs to start as a service?

I'm running Apache 2.0.63 with SVN 1.4.6 and mod_auth_sspi for windows domain authentication.

I also checked the syntax of the configuration file from command-line using the -t parameter, but I received the message Syntax OK.

Here's the error I get when starting as a service from command-line:

X:\>net start apache2
The Apache2 service is starting.
The Apache2 service could not be started.

A service specific error occurred: 1.

More help is available by typing NET HELPMSG 3547.
4

2 回答 2

1

验证您的服务是否仍具有“作为服务登录”用户权限。如果您的计算机是域的一部分,则帐户权限或用户权限可能已被组策略重置。

您可以使用 Apache 帐户执行“运行方式”并从命令行运行 Apache 吗?这将告诉您是否存在其他权限问题。

于 2008-11-07T21:29:10.463 回答
1

在 apache 配置文件中将“LogLevel”指令设置为“debug”。

从命令行执行 Apache 并使用“-X”参数,这样 Apache 就不会派生进程。

Apache 应该输出更多信息来帮助调试您的问题。

于 2009-07-17T02:03:42.530 回答