Cyberark Vault upgrade

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

Cyberark Vault upgrade

L3 Networker

Hi all,

 

I have a Primary cluster with a single node DR. I did the Vault minor upgrade to 14.0.5 in our DR node and it went all ok.

In our Primary cluster, when i try to upgrade, it gives the message saying

 

Failed to start service TempMysql57.

 

I checked the upgrademyusqlversion log and it still says the same message in there

 

"Failed to start temp mysql 5.7 service Return Code"

 

this happens in both the nodes in the cluster. any idea?

 

I dont wanna start the vault server as I am worried this will corrupt the DB.

1 accepted solution

Accepted Solutions

L3 Networker

Hi all,

After a bit of troubleshooting,found the below.

 

Application has been upgraded. DBmain.exe was also upgraded. Because of a missing file VaultDBversion.ver , upgrade was showing as failed.

Used CVM utility to create and secure DB and then did a replication back from DR.

 

Everything seems fine except that Programs and features in windows shows the older version 14.0.3. But when the vault starts it shows as 14.0.5

 

This value is picked from registry. Updated the windows registry and now programs and features are fine too. Not sure if this is the right way but everything seems fine as of now.

 

View solution in original post

12 REPLIES 12

L2 Linker

Verify Microsoft Visual C++ Redistributable version with upgrade once.

 

L7 Applicator

hey @Froz Abdul Wahab Ameer Ahamed​ 

What version did you upgrade from?

 

-Matt

L4 Transporter

Hi @Froz Abdul Wahab Ameer Ahamed​ ,

 

First, check whether mysql service is running.

 

Also, check whether you have unhardened the vault properly.

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pas%20inst/upgrading-the-cyberark-digita...

L3 Networker

That was already done. WE have followed the steps from the Cyberark Doco before upgrading the vault.

This is from 14.0.3 to 14.0.5. This is a minor upgrade @Matt Jennison​ 

 

Last month, DB was corrupted and we restored it using the CAClustervault manager utility. I am not sure if that has got something to do here.

I just checked at all the logs and in updateMYSQLversion log i can see the Vaultdbversion is 5.7 and myusqlversion is 8.0. Logs from previous upgrade shows that they were the same.

 

", 00:12:49 MySQLVersion registry version detected: 8.0

, 00:12:49 VaultDBVersion.ver version detected: 8.0

00:12:49 Update the registry, so MySQL version will be now 8.0

16:48:49 Start UpgradeMySqlVersion()

, 16:48:49 MySQLVersion registry version detected: 8.0

, 16:48:49 VaultDBVersion.ver version detected: 5.6"

L7 Applicator

Hi @Froz Abdul Wahab Ameer Ahamed​ 

 

It appears the Vault package when copied might be missing DLL files. Can you check the Event Viewer to see if get more informatuon.

 

 

L1 Bithead

Hi @Ferro 

 

May I know your soulation? We just clone the DR vault with close network, upgrade the from 13.2 to 14.2 and appears same error, the Vualt already installed the C++ 2015-2022. I am not sure it's will effect real upgrade on next week.

did everything work after you restored the Vault from the corruption? Was all your testing after that successful?

 

-Matt

Yes @Matt Jennison​ . Everything worked fine after restore.

L3 Networker

Hi all,

After a bit of troubleshooting,found the below.

 

Application has been upgraded. DBmain.exe was also upgraded. Because of a missing file VaultDBversion.ver , upgrade was showing as failed.

Used CVM utility to create and secure DB and then did a replication back from DR.

 

Everything seems fine except that Programs and features in windows shows the older version 14.0.3. But when the vault starts it shows as 14.0.5

 

This value is picked from registry. Updated the windows registry and now programs and features are fine too. Not sure if this is the right way but everything seems fine as of now.

 

L4 Transporter

Hi @Froz Abdul Wahab Ameer Ahamed​ 

 

Since several community members answered your question, please let us know if these solutions addressed your query.

If so, it would be great if you could mark the most helpful response as 'Select as Best' to assist other community members with similar questions.

 

Thank you, Shaked.

L3 Networker

Hi @Ferro​ and @cto​ ,

 

The error you encountered is a known issue.

Should anyone else experience the same problem, more information and a workaround can be found in the following article:

KI#00021503: During a Vault upgrade (12 and up) the installer mistakenly recodnize the MySQL as V5.6...

 

 

Eviatar

 

  • 1 accepted solution
  • 363 Views
  • 12 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!