[Prisma 云计算版]Windows VM上的 Prisma Defender 每次重启时都会停止,需要手动启动
610
Created On 09/30/24 21:30 PM - Last Modified 06/28/26 21:39 PM
Symptom
-
您已在 Windows VM上安装了 Prisma Cloud Host/Container Defender。
当VM重新启动时,即使Twistlock Defender服务设置为“自动” ,Defender 服务也不会自动启动。为了调查,您可以检查 Windows 系统日志:
- 转到 Windows 搜索栏,输入“事件查看器” ,然后按Enter 。
- 在事件查看器应用程序中,展开Windows 日志并导航到系统日志。
- 搜索与“Twistlock”相关的条目。
-
在日志中,您可能会遇到以下错误:
A timeout was reached (30000 milliseconds) while waiting for the twistlockDefender service to connect.
Environment
- Prisma 云计算版本
- Prisma 云运行时安全
- WindowsVM
- Windows Defender
Cause
当 Windows 上的服务无法在预期的时间内启动时,通常会出现错误消息“等待 TwistlockDefender 服务超时时超时(30000 毫秒)。”
Windows 服务是自动或手动启动、停止或重新启动的后台进程。此错误表示 Windows 正在等待服务启动,但花费的时间比预期的要长,导致超时。
Resolution
-
在 Windows 运行服务中搜索“Twistlock Defender” 。
- Open the 服务 app by typing
services.mscin the Start menu or Run dialog.
- Open the 服务 app by typing
-
右键单击“Twistlock Defender”服务并选择“属性” 。
- 在常规选项卡中,将启动类型设置为“自动(延迟启动)” 。
-
单击“应用” ,然后单击“OK”以保存更改。
This should resolve the issue. Upon the next reboot, the service will start automatically with a slight delay.