Azure - 错误运行命令扩展执行正在进行中 [英] Azure - error Run command extension execution is in progress

查看:85
本文介绍了Azure - 错误运行命令扩展执行正在进行中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Azure中的一个虚拟机似乎被"卡住了"关于脚本访问。

One of my VM in Azure seems to be "stuck" on script access.

我等了1个小时,什么都没有。重启机器,无需修复。 

每次运行命令调用 我尝试在这个VM上回复此错误。

我找不到看到"正在进行"的方法。 run-command ...
$


有什么想法吗?

I waited 1 hour, nothing. rebooted machine, no fix. 
Every run-command invoke  I try comes back with this error on this VM.
I don't find way to see "ongoing" run-command...

Any idea please ?

谢谢

推荐答案

嗨pierrot_lefou,

Hi pierrot_lefou,

感谢您的联系!

您能否确认预期的产量?剧本。您是否尝试在VM内部运行脚本?

Can you please confirm the expected output of the script. Have you tried running the script locally inside the VM?

请确保发出的命令"在90分钟内运行完成"。

Please make sure the command issued "runs to completion within 90 minutes".

我希望脚本不会提示用户输入,因为在这种情况下可能会出现上述错误。

I hope the script does not prompt for a user input because above mentioned error might arise in such cases.

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/run-command

您还可以通过转到虚拟机并单击左侧的活动日志刀片来检查天蓝色门户中的活动日志。

You can also check the activity log in the azure portal by going to your VM and clicking on Activity Log blade on the left.

希望这有帮助!


这篇关于Azure - 错误运行命令扩展执行正在进行中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆