Data Protection Advisor - プリ スクリプトまたはポスト スクリプトのエラー400
Summary: スクリプトが関連づけられているレポートを実行しているときにエラー400が発生します。
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
スクリプトが関連づけられているレポートを実行しようとすると、エラーが発生します。
サーバー ログには次が見られます(アプリケーション サーバー:<install dir>\emc\dpa\services\logs\server)。
Error 400: Resulting file is outside common scripts directory
サーバー ログには次が見られます(アプリケーション サーバー:<install dir>\emc\dpa\services\logs\server)。
2021-01-22 11:24:10,556 ERROR [com.emc.dpa.restapi.util.DPAExceptionMapper] (http-/0.0.0.0:9002-3) Exception caught. Building error response. Exception was...: javax.ejb.EJBTransactionRolledbackException: Input validation failed for object ScheduledReport Original message: Resulting file is outside common scripts directory: <Path to customer defined script> (exception.input_validation_error) . Caused by: com.emc.dpa.common.exception.DPAException: Input validation failed for object ScheduledReport Original message: Resulting file is outside common scripts directory: <Path to customer defined script> (exception.input_validation_error)
Cause
このエラーの原因は、DPAでスクリプトが特定のディレクトリーにあると想定していることです。
設計上のディレクトリー パス以外に配置されている場合、スクリプトが処理されません。
設計上のディレクトリー パス以外に配置されている場合、スクリプトが処理されません。
Resolution
管理者ガイドから以下のことがわかります。
スクリプトは<install-dir>/services/shared/commandsに配置する必要があります。
上記の場所にスクリプトを配置すると、問題が解決します。
スクリプトは<install-dir>/services/shared/commandsに配置する必要があります。
上記の場所にスクリプトを配置すると、問題が解決します。
Affected Products
Data Protection AdvisorArticle Properties
Article Number: 000200217
Article Type: Solution
Last Modified: 10 Nov 2022
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.