search cancel

dr_validate script failing because the shell is incorrect


Article ID: 5346


Updated On:


CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps


The dr_validate script used as part of the data repository install or upgrade, is failing with the following message: "You must run this script in the BASH shell.  Exiting...."  After switching to the bash shell and running the script again, it still fails with the same message


All CAPM versions


The install is being run as a sudo user and the shell environment is not being loaded


If you are running the dr_validate script as a sudo user then the shell environment must be loaded before running the script.  The way to do that is simply to run sudo su - (or su -).  After doing this, the dr_validate will proceed without giving the error about not being in the bash shell