Apache 2.0 在 Windows Server 2003 中需要什么访问权限才能作为服务启动?

发布于 2024-07-08 03:53:20 字数 723 浏览 8 评论 0原文

直到今天早上,我已经使用配置了适当权限的本地帐户将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

倾听心声的旋律 2024-07-15 03:53:20

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

您可以使用 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.

姐不稀罕 2024-07-15 03:53:20

在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文