Apache 2.0 在 Windows Server 2003 中需要什么访问权限才能作为服务启动?
直到今天早上,我已经使用配置了适当权限的本地帐户将 Apache 2.0 作为服务运行。 昨天的某个时候,一定有人更改了某些内容,现在 Apache 2.0 将无法在该帐户下作为服务启动。
我暂时将该帐户设置为管理员,Apache 2.0 启动正常。
我尝试遵循官方文档中列出的访问权限,但似乎要求更多的访问权限。 有人知道 Apache 2.0 需要什么访问权限才能作为服务启动吗?
我正在运行 Apache 2.0.63、SVN 1.4.6 和 mod_auth_sspi 以进行 Windows 域身份验证。
我还使用 -t 参数从命令行检查了配置文件的语法,但收到了消息语法正常。
这是从命令行作为服务启动时出现的错误:
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.
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
验证您的服务是否仍具有“作为服务登录”用户权限。 如果您的计算机是域的一部分,则帐户权限或用户权限可能已被组策略重置。
您可以使用 Apache 帐户执行“运行方式”,并从命令行运行 Apache 吗? 这将告诉您是否存在其他权限问题。
Verify that your service still has the "Log on as a Service" user right. If your machine is a part of a domain, it's possible the account permissions or user rights have been reset by a group policy.
Can you do a "Run As" using the Apache account, and run Apache from the command line? This will tell you if there are other permission problems.
在 apache 配置文件中将“LogLevel”指令设置为“debug”。
从命令行执行 Apache 并使用“-X”参数,以便 Apache 不会分叉进程。
Apache 应该输出更多信息来帮助调试您的问题。
Set the "LogLevel" directive to "debug" in the apache configuration file.
Execute Apache from the command-line and use the "-X" argument so that Apache does not fork processes.
Apache should output a bit more information to help debug your problem.