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

Summary: 알림이 생성되면 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. Error message was Cannot run program "E:\monitoring\backup_fail.py": CreateProcess error=193, %1 is not a valid Win32 application

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

DPA GUI 

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: 29 Dec 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.