PTA ./vaultPermissionValidation.sh fail to fix permission

PTA ./vaultPermissionValidation.sh fail to fix permission

87
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:03 PM


Objective


Users encounter PTA being disconnected while launching System Health page or Security Events page and in the logs, it generally give error as below.

"The remote server returned an error: (503) Server Unavailable"

While running ./vaultPermissionValidation.sh to check on permissions, an error occurred while fixing the permission.

Example -

[root@"PTAFQDN" utility] ./vaultPermissionsValidation.sh
Vault Permissions Validation...
This operation might take a few minutes in a Vault DR environment.
PTA Vault user permissions Validation... [ FIX ]
PTA has detected missing permissions for PTA Vault user which are needed for running PTA. Fixing permissions requires Vault Admin credentials using CyberArk authentication. We recommend fixing the needed permissions now, but you can return to this step manually at a later stage.
Would you like to fix the needed permissions now?(Y/N)[Y]:y

[Step 1/1 - VaultPermissionsRepair] Vault Admin username {Administrator}:
Vault Admin password:
Retype Vault Admin password:
Fixing PTA Vault user permissions... [ FAIL ]
Fixing the PTAApp Vault user failed. Recreate the PTA Vault user or contact your support. Note: This will delete all existing manual configuration, permissions and safe ownerships, and will affect Golden Ticket detection and PTA automatic responses.
Would you like PTA to delete and recreate the PATApp Vault user (y/n)? y
Fixing the PTA Vault user permissions... An error occurred while creating the PTA vault users.See log for more details. [ FAIL ]
Fixing PTAApp Vault user permissions... [ FAIL ]
Fixing the PTAApp Vault user failed. Recreate the PTA Vault user or contact your support. Note: This will delete all existing manual configuration, permissions and safe ownerships, and will affect Golden Ticket detection and PTA automatic responses. Would you like PTA to delete and recreate the PATApp Vault user (y/n)? y
Fixing PTAApp Vault user permissions... An error occurred while creating the PTA vault users. See log for more details. [ FAIL ]
Fixing PAS account... [ OK ]
Fixing PAS Groups... [ OK ]
Vault permissions validation failed. Review the logs located in /opt/tomcat/utility/vaultPermissionsValidation.sh.
Vault Permissions validation...
PTA Vault user permissions validation [ FIX ]
PTA has detected missing permissions for PTA Vault user which are needed for running PTA.


This usually happens when the 'ptacasosserviced' is not running.


Environment


11.5;12.2;12.6;13.0;13.2;14.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access;PTA

Procedure


When you run the command 'RUN_DIAGNOSTICS', the report will capture below;
    1 ./tasks/PTA/task015.sh - [P015] Verifying PTA services...                                                 [ FAIL ] (PTA services: 'ptacasosservicesd' are not running, contact support)

Start the service with the following - 

Option 1 :
Run the command 'service ptacasosserviced start' to start or 'service ptacasosserviced restart' to restart the service.

Option 2 : 
1. Run the command '/opt/tomcat/utility/run.sh'.
2. Select number 3 to stop application processes.
3. Run the command '/opt/tomcat/utility/run.sh'.
4. Select number 4 to start the application processes.

Ensure that the 'ptacasosserviced' is running and run the ./vaultPermissionValidation.sh.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001HRsCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail