Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

PowerProtect Cyber Recovery: New Install of Cyber Recovery 19.13 or later failed - Failed to set MongoDB credential

Summary: New Install of Cyber Recovery 19.13 or later failed - Failed to set MongoDB credential.

This article applies to   This article does not apply to 

Symptoms

The Cyber Recovery OVA package is deployed.
The command crsetup.sh --deploy is run.
On entering the password for MongoDB, the following error is produced.

Entering password for MongoDB

/var/log/dellemc/cr/var/cradmin.log:
[2023-04-19 09:11:59.768] [ERROR] [cradmin] [libcli.go:125 ShowCliError()] : Failed to set MongoDB credential:Failed to change admin DB credential:Unable to connect to theadmindatabase :server selection error: server selection timeout, current topology: { Type: Unknown, Servers: [{ Addr: localhost:17112, Type: Unknown, Last error: connection() error occurred during connection handshake: dial tcp 127.0.0.1:17112: connect: connection refused }, ] }



Output of docker ps -a shows that cr_mongo exited. 
Docker ps -a command

docker logs cr_mongo-auth_1 shows that MongoDB 5.0+ requires a CPU with AVX support. 
docker logs cr_mongo-auth_1 command
 
 

Cause

The product is working as designed.
The MongoDB being used in Cyber Recovery 19.13 and later requires a CPU with AVX support. 

Resolution

We can run the following command to check whether the CPU supports AVX.
If it does, avx is listed in the flags section. In this sample output, it is not listed. 

cat /proc/cpuinfo

output from cpuinfo

Cyber Recovery 19.12 can be deployed in such a situation.
However, it is recommended to deploy 19.13 or the latest release in an environment where the CPU supports AVX.


 
 
 

Affected Products

PowerProtect Cyber Recovery