DPA: 알림이 생성되면 DPA에서 python 스크립트를 실행할 수 없습니다.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



알림이 생성될 때 DPA의 이벤트 기반 알림이 python 스크립트를 실행하도록 가리키면 스크립트가 실행되지 않고 서버 로그에 다음 오류 메시지가 표시됩니다.

2016-12-31 08:03:24,534 ERROR [com.emc.apollo.command.util.ExecCommandsBean] (EJB default - 195) Error running command. 오류 메시지는 "E:\monitoring\backup_fail.py"프로그램을 실행할 수 없습니다. CreateProcess 오류=193, %1은(는) 유효한 Win32 응용 프로그램이

아닙니다.다음은 DPA GUI의 분석 정책 구성입니다.

kA2j0000000RI6ECAW_3_0

Cause

DPA가 정상적으로 작동합니다. DPA는 Python 스크립트 또는 Windows 배치 스크립트를 제외한 다른 스크립트를 실행할 수 없습니다.

Resolution

 DPA는 Batch 스크립트와 같은 Windows 스크립트만 지원합니다.

이 시나리오의 해결 방법은 python 프로세스를 호출하여 python 스크립트를 실행하는 배치 스크립트를 만드는 것입니다. 그런 다음 DPA GUI의 정책 기반 편집 작업에서 Batch 파일을 사용합니다.



Affected Products

App Direct File System Agent
Article Properties
Article Number: 000055098
Article Type: Solution
Last Modified: 06 May 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.