This post is created to collect some issues or error messages I met and solutions I resolved them.Â
- Safe PSMRecording is out of space
- DR Replication Error
- DR site changed to 'inactive' due to lack of replication activity
- PADR.ini EnableFailover=No
- Vault Patching
- Vault External Firewall Rules
Safe PSMRecording is out of space
Safe PSMRecordings is out of space. |
Log in as administrator - Safe - PSMRecordings - Open - Properties ->
Default size is 51200MB, changed to 251200MB
DR Replication Error
[Distributed Vault] - error 1236 master has purged binary logs containing GTIDs that the slave requires[07/08/2020 12:56:02.412963] :: GetPADRWorkingDirectory returned [C:\Program Files (x86)\PrivateArk\PADR\Conf]
[07/08/2020 12:56:02.412992] :: GetPADRWorkingDirectory returned [C:\Program Files (x86)\PrivateArk\PADR\Conf]
[07/08/2020 12:56:02.417949] :: PADR0010I Replicate ended.
[07/08/2020 13:00:52.663872] :: PADR0102E Metadata Replication encountered an error - Restart replication will be triggered. See Diagnostic Info below.
[07/08/2020 13:00:52.663911] :: Last SQL Error Code: 0
[07/08/2020 13:00:52.663930] :: Last SQL Error: ""
[07/08/2020 13:00:52.663946] :: Last IO Error Code: 1236
[07/08/2020 13:00:52.663969] :: Last IO Error: "Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires.'"
[07/08/2020 13:00:52.664041] :: SQL Thread Running State: "Yes"
[07/08/2020 13:00:52.664062] :: IO Thread Running State: "No"
[07/08/2020 13:00:52.679336] :: PADR0009I Replicate started.
[07/08/2020 13:00:52.679637] :: PADR0095I Refreshing Vault configuration files.
[07/08/2020 13:00:52.746654] :: PADR0097I Refreshing Vault configuration files completed successfully.
[07/08/2020 13:00:52.751424] :: GetPADRWorkingDirectory returned [C:\Program Files (x86)\PrivateArk\PADR\Conf]
[07/08/2020 13:00:52.751455] :: GetPADRWorkingDirectory returned [C:\Program Files (x86)\PrivateArk\PADR\Conf]
[07/08/2020 13:00:52.753812] :: PADR0010I Replicate ended.
[07/08/2020 13:05:52.028154] :: PADR0102E Metadata Replication encountered an error - Restart replication will be triggered. See Diagnostic Info below.
[07/08/2020 13:05:52.028201] :: Last SQL Error Code: 0
[07/08/2020 13:05:52.028222] :: Last SQL Error: ""
[07/08/2020 13:05:52.028241] :: Last IO Error Code: 1236
[07/08/2020 13:05:52.028267] :: Last IO Error: "Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires.'"
[07/08/2020 13:05:52.028288] :: SQL Thread Running State: "Yes"
[07/08/2020 13:05:52.028307] :: IO Thread Running State: "No"
[07/08/2020 13:05:52.043512] :: PADR0009I Replicate started.
[07/08/2020 13:05:52.043814] :: PADR0095I Refreshing Vault configuration files.
[07/08/2020 13:05:52.122958] :: PADR0097I Refreshing Vault configuration files completed successfully.
[07/08/2020 13:05:52.127879] :: GetPADRWorkingDirectory returned [C:\Program Files (x86)\PrivateArk\PADR\Conf]
[07/08/2020 13:05:52.127915] :: GetPADRWorkingDirectory returned [C:\Program Files (x86)\PrivateArk\PADR\Conf]
[07/08/2020 13:05:52.130296] :: PADR0010I Replicate ended.
CauseÂ
ResolutionÂ
Reset replication in the padr.ini:
1. Delete the following lines in padr.ini:Â
NextBinaryLogNumberToStartAt
LastDataReplicationTimestamp
2. Restart CyberArk Vault Disaster Recovery service
DR site changed to 'inactive' due to lack of replication activity
DR Account Activities |
Set PADR.ini EnableFailover=No
[MAIN]
ReplicateLogonFromFile="C:\Program Files (x86)\PrivateArk\PADR\Conf\user.ini"
EnableCheck=Yes
EnableReplicate=Yes
EnableFailover=No
EnableDbsync=Yes
CheckInterval=60
CheckRetriesCount=5
CheckRetriesInterval=30
ReplicateInterval=3600
ReplicateRetriesInterval=300
AccessVaultForInactivity=Yes
FailoverMode=No
NextBinaryLogNumberToStartAt=0
LastDataReplicationTimestamp=1596827567642853
Vault Patching
For Windows Updates - just follow the standard vault patching instructions....
Stop the vault, enable Windows Update & Windows Module Installer, Install the KB/Patch, disable the services & start the vault.
Vault External Firewall Rules
[Windows Update]
Some Vault Warning Messages
- Change to CA signed Certificate
- Change to CA signed certificate
- https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PAS%20INST/Configuring-Transparent-User-Management.htm
- https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASREF/LDAP%20Integration%20-%20Introduction.htm
- Go into the LDAP configuration menu via PVWA, turn on SSL for all domains and for each domain controller host object. Then restart the Vault service.
- Go to "LDAP Integration" --> "Directories"
- Select <Directory Name>
- Look for "SSLConnect" parameter at the right window
- Change the value to "Yes" and save.
- Restart vault
Â
This should resolve the issue considering all other prerequisites [install LDAPS cert, hosts file entry] are successfully completed.
Don't forget to update LDAPS port configuraiton.Â
Vault Server Temporarily Unavailable
Issue 1:
(Diagnostic information: 520,513,10054)Â
The same can be seen in the PALog.
In the vault trace.dx log we can see the following error for the user logon operation:
ITAPE287E System error (Code: 287, Diagnostic information: userid, 1, 0).
Try a PrivateArk authentication without "Use pre-authentication secured session" selected in the Advanced PA client authentication settings:
Possible Resolutions:
- Ensure the vault certificate is valid (if using a CA signed certificate)
- Ensure the PA Client version matches the vault version
If you are using a Self-Signed Certificate on your Vault Server, please do the following to update the self-signed certificate:
Open an administrative command prompt at the /Server location on the vault server. Then run the following command:
CACert.exe Uninstall
This will uninstall the old self-signed certificate and install a new one.
Note: After the command has been run, you will need to restart the PrivateArk Vault service.
No comments:
Post a Comment