The PTA Server stopped working after reboot.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The PTA Server stopped working after reboot.

L1 Bithead

The PTA Server stopped working after a reboot due to maintenance, all the components are currently working well as nothing changed but the security tab is not working in the PVWA.

We ran the diagnosis tool (RUN_DIAGNOSTICS) and received the following errors:

List of FAILURES and WARNINGS: --------------------------------------------------- Num Issue 1 ./tasks/PTA/task004.sh - [P004] Analyzing PTA Server disk space... [ WARN ] ( Files larger than 100MB exist ) 1 ./tasks/PTA/task044.sh - [P044] Verifying success of scheduled tasks… [ WARN ] ( The following scheduled tasks have recently failed: HumanVaultUserReload, VaultAccountsReload ) 1 ./tasks/PTA/task067.sh - [P069] Verify vault custom user types... [ FAIL ] (Could not receive license information from vault. Contact Support.) 1 ./tasks/PTA/task096.sh - [P091] Verifying activity stats... [ FAIL ] ( Stats from future dates exist in the DB )

So we ran PASConfigurations.sh and this is the result:

[root@PTAServer utility]# ./pasConfiguration.sh [Step 1/1 - PAS connection configuration] […] Creating PTA Vault user. PTA Vault user created successfully. Creating PTAApp Vault user. PTAApp Vault user created successfully. […] Failed to create PAS authentication user in vault. Vault configuration finished successfully. […] Testing PVWA connection... Connection completed successfully

Also, From the logs we can see that this is due to a DB password mismatch.

UserLogon Starting

- Username - Administrator, vaultPath - /…/…/…/Vault.ini - Starting the CASOS init - Finish the CASOS init - Starting the load vault - Finish the load vault - Starting the logon - Problem with the log on (PID) - Successfully logged on with dynamic session - setVaultVersion: Vault server version '11.7.0.65535' - Finish the logon!! - Administrator logon Successful - Enter PTA Application port: - Retrieve PTA PAS Account password successfully - Logging off. - Finish successfully - executeVaultServices - Vault services with action 'retrievePASAccountPassword' was executed with ret code '0'.. - Removed rule number… in firewall successfully - Removed rule number … in firewall successfully - PTA PAS Account Password in DB doesn't match to the vault - PTA PAS Account Password in DB doesn't match to the vault

In order to fix the previous error we ran the vaultVPermissoinsValidation.sh but it returned the following:

[root@PTAServer utility]# ./vaultPermissionsValidation.sh Vault Permissions Validation... PTA Vault user permissions validation... [ OK ] PTAApp Vault user permissions validation... [ OK ] PAS Account validation... [ FIX ] PAS Groups validation... [ OK ] Would you like to fix the needed permissions now?(Y/N)[Y]:y [Step 1/1 - VaultPermissionsRepair] Fixing PTA Vault user permissions... [ OK ] Fixing PTAApp Vault user permissions... [ OK ] Fixing PAS account... [ FAIL ] Fixing PAS Groups... [ OK ] Vault permissions validation failed. Review the logs located in /opt/tomcat/prepwiz/logs. To re-run this step manually at a later stage, run: /opt/tomcat/utility/vaultPermissionsValidation.sh. Vault Permissions Validation... PTA Vault user permissions validation... [ OK ] PTAApp Vault user permissions validation... [ OK ] PAS Account validation... [ FIX ] PAS Groups validation... [ OK ] PTA has detected missing permissions for PAS Account which are needed for running PTA.

Finally, analyzing prepwiz.logs we found these results related to the above error:

PTA PAS Account Password in DB doesn't match to the vault PTA PAS Account Password in DB doesn't match to the vault Update user password hash for user: PTA_PAS_Gateway Executing vault services with action 'updatePTAPASAccountPassword'.. running from old_main Enter user: Enter password: Enter vault Path: initServer loadVault createSession logon Problem with the log on createSession logon setVaultVersion: Vault server version '11.7.0.65535' !Enter safeName: !Enter folderName: !Enter accountName: !Enter account password: isVaultVersionEqualsGreaterThan: Vault version '11.7.0.65535' is bigger than 10.0.0 Failed setting password for account PTA_PAS_Gateway in safe SharedAuth_Internal folder Root CasosAPIException: API failure, abort action!. Details: Failed setting password for account PTA_PAS_Gateway in safe SharedAuth_Internal folder Root. CASOS error Details: CASTM003E Vault transaction failed. Reason: ITAPE267E Receive object failed (code = 9, 0) [...] Vault services with action 'updatePTAPASAccountPassword' was executed with ret code '1'.. Update of 'PTA_PAS_Gateway' account password in vault failed"

How can we resolve this since the utilites provided don't work?

Thanks for helping.

1 accepted solution

Accepted Solutions

In SharedAuth_Internal safe. Right click PTA_PAS_Gateway, click on properties, file categories tab, then edit retries count value to zero.

View solution in original post

9 REPLIES 9

L4 Transporter

Is your PTA users onboarded on the vault?

L1 Bithead

If you mean the users PTAAppUser and PTAUser then yes, they are onboarded.

Also, the PTA_PAS_Gateway object exists in the SharedAuth_Internal Safe.

 

do you think there's anything else we should check on the vault/PTA/PVWA that might be missing?

L4 Transporter

Please make sure you are typing the correct Vault user and password when running vaultVPermissoinsValidation.sh

 

When running it you are getting "Vault permissions validation failed."

L1 Bithead

We are typing the correct credentials when connecting to the Vault on that script as you can see from the 11th line in the 3rd screenshot saying "Administrator logon Successful"

 

The problem in the login occurs when retrieving the PAS account Password.

Hi,

Is this resolved ? , I'm facing the similar issue.

It wasn't resolved, I don't know what to say, I'm sorry I can't help you😔

L1 Bithead

I faced a similar issue, and the problem was the PAS Gateway account. One I changed the retries # to zero, I was able to re-establish the connection

 

Thank you for your help! where can I find the retries # so I can change it?

In SharedAuth_Internal safe. Right click PTA_PAS_Gateway, click on properties, file categories tab, then edit retries count value to zero.

  • 1 accepted solution
  • 2533 Views
  • 9 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!