gpt4 book ai didi

Azure 辅助角色在发布时挂起,并在诊断中出现错误

转载 作者:行者123 更新时间:2023-12-03 00:32:47 24 4
gpt4 key购买 nike

更新到 Azure SDK 2.6(从 2.5.1 开始)后,我无法发布我的 Azure 辅助角色实例。它之前一直与 2.5.1 SDK 一起使用。工作进程无法在 Azure 中启动并挂起,状态为:

Busy (Waiting for role to start... Application startup tasks are running. [2015- 06-02T23:27:56Z] Last role error: exit code - 0, exit time - [2015/06/02, 23:27:20.218])

工作进程确实使用了 Azure 诊断 - 在我的服务定义文件中配置,例如:

<Imports>
<Import moduleName="RemoteAccess" />
<Import moduleName="RemoteForwarder" />
<Import moduleName="Diagnostics"/>
</Imports>

我确实在工作虚拟机的事件日志中看到了错误:

System.UnauthorizedAccessException: Access to the path 'DiagnosticPlugin-ShutdownEvent' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Threading.EventWaitHandle..ctor(Boolean initialState, EventResetMode mode, String name)
at Microsoft.WindowsAzure.Plugins.Launcher.Program.MainImpl(String[] args)
at Microsoft.WindowsAzure.Plugins.Launcher.Program.Main(String[] args)

我只是不确定如何解决这个问题。有什么想法吗?

最佳答案

Azure 诊断模块不应再出现在 Azure 部署的 SDK 2.5 或 2.6 中。 SDK2.5+ 世界中的 Azure 诊断现已配置为扩展。 (诊断v1.3版本)

以下是更多信息:https://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-diagnostics/

关于Azure 辅助角色在发布时挂起,并在诊断中出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30608791/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com