Someone with experience with it error installing psmp v14 on red hat 8.7

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Someone with experience with it error installing psmp v14 on red hat 8.7

L4 Transporter

Installing version 14 of psmp, although the service starts and the pvwa sees the psmp "fine", the connections do not work. When trying to repair you see this error:

 

[ERROR] Error on [Invoking [/opt/CARKpsmp/bin/envmanager] for Vault env creation]: Command [/opt/CARKpsmp/bin/envmanager CreateEnv -AcceptEULA Y -CredFile /tmp/v14/user.cred -VaultEnvPath /etc/opt/CARKpsmp/vault -VaultConfigFileName vault.ini -ICUFolder /opt/CARKpsmp/bin -LogsWSFolder /var/opt/CARKpsmp -ClientsCount 10 -RetryTimeout 1 -PSMPAppUser PSMPApp_xxxxxx -PSMPGWUser PSMPGW_xxxxxx -PIMConfigSafe PVWAConfig -PIMConfigPath Root -PIMConfigFile PVConfiguration.xml -PIMPoliciesFile Policies.xml -InstallationType C -SupportSSHKeyAuth Yes -ClientApp OpenSSH -UpdateClientApp Yes -UpdateCredFile inferred >/dev/null 2>&1] RC [221]

Vault env creation process encountered errors. You can find the detailed logs at [/var/opt/CARKpsmp/temp/EnvManager.log].

7 REPLIES 7

L7 Applicator

Hi @Dercel Gonzalez​ 

 

Can you please share the detailed logs from 'EnvManager.log' located under /var/opt/CARKpsmp/temp/EnvManager.log?

 

 

L3 Networker

Hi @Dercel Gonzalez​ , Verify if user used to install PSMP has required permissions (even if it is default administrator user). Have seen this kind of error due to missing permissions.

The below info will be helpful:

The user who will create the environment for PSM for SSH in the Vault during the installation process must have the following permissions in the Vault:

■Add Safes

■Audit Users

■Add/Update Users

■Manage Server File Categories

 

This user must be an owner of the PVWAConfig Safe with the following permissions:

■List accounts

■Retrieve accounts

■View Owners

■Manage Safe Owners

[10/05/2024 18:47:08] :: Done PASVC [PASVCSafeDetails] on Safe [PVWAConfig]. R         c = 0 (Duration=5 ms). (Vault [CAMainVault] safe [PVWAConfig] user [administrato         r])

[10/05/2024 18:47:08] :: Transaction will not update MDC, because the session          option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [adm         inistrator])

[10/05/2024 18:47:08] :: Transaction will not use MDCSafes, because the sessio         n option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [a         dministrator])

[10/05/2024 18:47:08] :: Running PASVC [PASVCFileFetch] (control socket [34])          data socket [37], IP [x.x.x.x] timeout 10000 (Vault [CAMainVault] safe [PVW         AConfig] user [administrator])

[10/05/2024 18:47:08] :: Done PASVC [PASVCFileFetch] on Safe [PVWAConfig]. Rc          = -1 (Duration=13 ms). (Vault [CAMainVault] safe [PVWAConfig] user [administrato         r])

[10/05/2024 18:47:08] :: ITATS337E You are already using object PVConfiguratio         n.xml, possibly on another machine. (Vault [CAMainVault] safe [PVWAConfig] user          [administrator])

[10/05/2024 18:47:08] :: Transaction will not update MDC, because the session          option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [adm         inistrator])

[10/05/2024 18:47:08] :: FileFetch: Generate SafesDetails. (Vault [CAMainVault         ] safe [PVWAConfig] user [administrator])

[10/05/2024 18:47:08] :: Transaction will not use MDCSafes, because the sessio         n option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [a         dministrator])

[10/05/2024 18:47:08] :: Running PASVC [PASVCSafeDetails] (control socket [34]         ) data socket [37], IP [x.x.x.x] timeout 10000 (Vault [CAMainVault] safe [P         VWAConfig] user [administrator])

[10/05/2024 18:47:08] :: Done PASVC [PASVCSafeDetails] on Safe [PVWAConfig]. R         c = 0 (Duration=9 ms). (Vault [CAMainVault] safe [PVWAConfig] user [administrato         r])

[10/05/2024 18:47:08] :: Transaction will not update MDC, because the session          option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [adm         inistrator])

[10/05/2024 18:47:08] :: Transaction will not use MDCSafes, because the sessio         n option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [a         dministrator])

[10/05/2024 18:47:08] :: Running PASVC [PASVCFileFetch] (control socket [34])          data socket [37], IP [x.x.x.x] timeout 10000 (Vault [CAMainVault] safe [PVW         AConfig] user [administrator])

[10/05/2024 18:47:08] :: Done PASVC [PASVCFileFetch] on Safe [PVWAConfig]. Rc          = 0 (Duration=31 ms). (Vault [CAMainVault] safe [PVWAConfig] user [administrator         ])

[10/05/2024 18:47:08] :: Transaction will not update MDC, because the session          option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [adm         inistrator])

[10/05/2024 18:47:08] :: Parsing XML File PVConfiguration.xml

[10/05/2024 18:47:08] :: Adding PSMP-SSH Connection Component

[10/05/2024 18:47:08] :: Updating Existing PSMP-SSH Connection Component

[10/05/2024 18:47:08] :: Adding PSMP-SCP Connection Component

[10/05/2024 18:47:08] :: Updating Existing PSMP-SCP Connection Component

[10/05/2024 18:47:08] :: Adding PSMP-SFTP Connection Component

[10/05/2024 18:47:08] :: Updating Existing PSMP-SFTP Connection Component

[10/05/2024 18:47:08] :: Adding PSMP-Rsync Connection Component

[10/05/2024 18:47:08] :: Updating Existing PSMP-Rsync Connection Component

[10/05/2024 18:47:08] :: Updating Recorder Settings

[10/05/2024 18:47:08] :: Updating LocalRecordingsFolder

[10/05/2024 18:47:08] :: Updating Search Properties

[10/05/2024 18:47:08] :: Writing XML back to file

[10/05/2024 18:47:08] :: (PIMConfigFile) RetrieveAndStoreFileConcurrent - Retrying #10

[10/05/2024 18:47:09] :: FileFetch: Generate SafesDetails. (Vault [CAMainVault] safe [PVWAConfig] user [administrator])

[10/05/2024 18:47:09] :: Transaction will not use MDCSafes, because the session option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [a         dministrator])

[10/05/2024 18:47:09] :: Running PASVC [PASVCSafeDetails] (control socket [34]  ) data socket [37], IP [x.x.x.x] timeout 10000 (Vault [CAMainVault] safe [P         VWAConfig] user [administrator])

[10/05/2024 18:47:09] :: Done PASVC [PASVCSafeDetails] on Safe [PVWAConfig]. Rc = 0 (Duration=4 ms). (Vault [CAMainVault] safe [PVWAConfig] user [administrato         r])

[10/05/2024 18:47:09] :: Transaction will not update MDC, because the session          option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [adm         inistrator])

[10/05/2024 18:47:09] :: Transaction will not use MDCSafes, because the sessio         n option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [a         dministrator])

[10/05/2024 18:47:09] :: Running PASVC [PASVCFileFetch] (control socket [34])          data socket [37], IP [x.x.x.x] timeout 10000 (Vault [CAMainVault] safe [PVW         AConfig] user [administrator])

[10/05/2024 18:47:09] :: Done PASVC [PASVCFileFetch] on Safe [PVWAConfig]. Rc= -1 (Duration=18 ms). (Vault [CAMainVault] safe [PVWAConfig] user [administrator])

[10/05/2024 18:47:09] :: ITATS337E You are already using object PVConfiguratio         n.xml, possibly on another machine. (Vault [CAMainVault] safe [PVWAConfig] user          [administrator])

[10/05/2024 18:47:09] :: Transaction will not update MDC, because the session          option UseMetaDataCache is off. (Vault [CAMainVault] safe [PVWAConfig] user [adm         inistrator])

[10/05/2024 18:47:09] :: (PIMConfigFile) RetrieveAndStoreFileConcurrent - Fail         ed to retrieve. ABORTING

I am using the administrator user for the installation and it has the permissions indicated in your comment. thank you so much.

L7 Applicator

Hi @Dercel Gonzalez​ 

 

Can you please try the following?

 

  1. Please check that under etc/opt/CARKpsmp/vault/vault.ini, the correct Vault IP is specified.
  2. Also check that PSMP can communicate with the Vault
  3. Remove the old cred file and create them from scratch.

 

Hope it helps !

thank you so much,

here the answers:

- the IP of the vault is correct.

- By telnetting from psmp to 1858 I can reach the vault.

- I tried to remove psmp, I deleted all the files, I deleted the users in the vault, I reinstalled and the problem persists. I don't think it's a problem with the cred extension files.

To fix this just:

 

  • cd /opt/CARKpsmp/

  • Then create a new user.cred file using your Vault Administrator username and password "./CreateCredFile user.cred". Say yes when asked about Entropy File.

 

  • 780 Views
  • 7 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!