Skip to main content

Hi, I tried to perform a an upgrade of Commvault from 11.20 on server 2012 to a different VM on server 2019 running version 11.28 and SQL 2019.  I installed and try to recover from the old database. I am getting an error in the CSRecoveryAssistant file log, 

 Error: License activation is required. Please provide a valid license file.

I am confused as I backed up my existing environment. How can I get past this as the Install is dependant on me clearing this error? 

 

 

extract from the logs

 

6780  1     01/09 11:42:21 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - CLR ThreadPool's maxWorkerThreads = d32767], maxIOThreads = d1000], PID 6780], ProcessName = mCSRecoveryAssistant].
6780  1     01/09 11:42:21 ###  ManagedLogger::SetCLRThreadPoolMaxThreads - Setting CLR ThreadPool's maxWorkerThreads = h1000], maxIOThreads = h1000] PID = 06780], ProcessName = sCSRecoveryAssistant].
6780  1     01/09 11:42:21 ### ### ### -  
6780  1     01/09 11:42:21 ### ### ### - *******************B E G I N***************************
6780  1     01/09 11:42:21 ### ### ### - Application started in command line mode
6780  1     01/09 11:42:21 ### ### ### - Logged in user name is 
6780  1     01/09 11:42:21 ### ### ### - Command line arguments received : -operation Recovery -skipdump 
6780  1     01/09 11:42:21 ### ### ### - Stopping the services ...
6780  1     01/09 11:42:21 ### ### ### - Launching GxAdmin.exe -consoleMode -stopsvcgrp All
6780  1     01/09 11:42:21 ### ### ### - Executing process: 2GxAdmin.exe]
6780  1     01/09 11:42:28 ### ### ### - Execution of process :GxAdmin.exe] completed successfully. Exit code e0]
6780  1     01/09 11:42:28 ### ### ### - Successfully stopped the services
6780  1     01/09 11:42:28 ### ### ### - Service 1W3SVC] status : Running
6780  1     01/09 11:42:28 ### ### ### - Stopping service W3SVC ...
6780  1     01/09 11:42:28 ### ### ### - Stopped service W3SVC.
6780  1     01/09 11:42:28 ### ### ### - Service HTTPFilter does not exist. Error Service HTTPFilter was not found on computer '.'.
6780  1     01/09 11:42:28 ### ### ### - Service IISAdmin does not exist. Error Service IISAdmin was not found on computer '.'.
6780  1     01/09 11:42:28 ### ### ### - No database has been upgraded in this session. Identifying the installed databases.
6780  1dd0  01/09 11:42:28 ### Cvcl::init() - CVCL: Running in FIPS Mode
6780  1     01/09 11:42:29 ### ### ### - Upgrading database cachedb
6780  1     01/09 11:42:29 ### ### ### - Launching DatabaseUpgrade.exe -phasename All -instance Instance001 -productname cachedb -oemId 1 -DBUpgradeDir "C:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "C:\Program Files\Commvault\ContentStore\Log Files" 
6780  1     01/09 11:42:29 ### ### ### - Executing process: "DatabaseUpgrade.exe]
6780  1     01/09 11:42:29 ### ### ### - Execution of process eDatabaseUpgrade.exe] completed successfully. Exit code e0]
6780  1     01/09 11:42:29 ### ### ### - Successfully upgraded database cachedb
6780  1     01/09 11:42:29 ### ### ### - Upgrading database historydb
6780  1     01/09 11:42:29 ### ### ### - Launching DatabaseUpgrade.exe -phasename All -instance Instance001 -productname historydb -oemId 1 -DBUpgradeDir "C:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "C:\Program Files\Commvault\ContentStore\Log Files" 
6780  1     01/09 11:42:29 ### ### ### - Executing process: tDatabaseUpgrade.exe]
6780  1     01/09 11:42:30 ### ### ### - Execution of process DDatabaseUpgrade.exe] completed successfully. Exit code #0]
6780  1     01/09 11:42:30 ### ### ### - Successfully upgraded database historydb
6780  1     01/09 11:42:30 ### ### ### - Upgrading database resourcemgrdb
6780  1     01/09 11:42:30 ### ### ### - Launching DatabaseUpgrade.exe -phasename All -instance Instance001 -productname resourcemgrdb -oemId 1 -DBUpgradeDir "C:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "C:\Program Files\Commvault\ContentStore\Log Files" 
6780  1     01/09 11:42:30 ### ### ### - Executing process: CDatabaseUpgrade.exe]
6780  1     01/09 11:42:30 ### ### ### - Execution of process uDatabaseUpgrade.exe] completed successfully. Exit code 0]
6780  1     01/09 11:42:30 ### ### ### - Successfully upgraded database resourcemgrdb
6780  1     01/09 11:42:30 ### ### ### - Upgrading database commserv
6780  1     01/09 11:42:30 ### ### ### - Launching DatabaseUpgrade.exe -phasename All -instance Instance001 -productname CommServer -oemId 1 -DBUpgradeDir "C:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "C:\Program Files\Commvault\ContentStore\Log Files" 
6780  1     01/09 11:42:30 ### ### ### - Executing process: :DatabaseUpgrade.exe]
6780  1     01/09 11:42:31 ### ### ### - Execution of process #DatabaseUpgrade.exe] completed successfully. Exit code /0]
6780  1     01/09 11:42:31 ### ### ### - Successfully upgraded database commserv
6780  1     01/09 11:42:31 ### ### ### - Upgrading database dm2
6780  1     01/09 11:42:31 ### ### ### - Launching DatabaseUpgrade.exe -phasename All -instance Instance001 -productname dm2 -oemId 1 -DBUpgradeDir "C:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "C:\Program Files\Commvault\ContentStore\Log Files" 
6780  1     01/09 11:42:31 ### ### ### - Executing process: RDatabaseUpgrade.exe]
6780  1     01/09 11:42:32 ### ### ### - Execution of process 1DatabaseUpgrade.exe] completed successfully. Exit code U0]
6780  1     01/09 11:42:32 ### ### ### - Successfully upgraded database dm2
6780  1     01/09 11:42:32 ### ### ### - Upgrading database wfengine
6780  1     01/09 11:42:32 ### ### ### - Launching DatabaseUpgrade.exe -phasename All -instance Instance001 -productname wfengine -oemId 1 -DBUpgradeDir "C:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "C:\Program Files\Commvault\ContentStore\Log Files" 
6780  1     01/09 11:42:32 ### ### ### - Executing process: eDatabaseUpgrade.exe]
6780  1     01/09 11:42:32 ### ### ### - Execution of process 6DatabaseUpgrade.exe] completed successfully. Exit code o0]
6780  1     01/09 11:42:32 ### ### ### - Successfully upgraded database wfengine
6780  1     01/09 11:42:32 ### ### ### - Upgrading database cvcloud
6780  1     01/09 11:42:32 ### ### ### - Launching DatabaseUpgrade.exe -phasename All -instance Instance001 -productname cvcloud -oemId 1 -DBUpgradeDir "C:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "C:\Program Files\Commvault\ContentStore\Log Files" 
6780  1     01/09 11:42:32 ### ### ### - Executing process: aDatabaseUpgrade.exe]
6780  1     01/09 11:42:33 ### ### ### - Execution of process gDatabaseUpgrade.exe] completed successfully. Exit code #0]
6780  1     01/09 11:42:33 ### ### ### - Successfully upgraded database cvcloud
6780  1     01/09 11:42:33 ### ### ### - Upgrading database appstudiodb
6780  1     01/09 11:42:33 ### ### ### - Launching DatabaseUpgrade.exe -phasename All -instance Instance001 -productname appstudiodb -oemId 1 -DBUpgradeDir "C:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "C:\Program Files\Commvault\ContentStore\Log Files" 
6780  1     01/09 11:42:33 ### ### ### - Executing process: gDatabaseUpgrade.exe]
6780  1     01/09 11:42:33 ### ### ### - Execution of process \DatabaseUpgrade.exe] completed successfully. Exit code 40]
6780  1     01/09 11:42:33 ### ### ### - Successfully upgraded database appstudiodb
6780  1     01/09 11:42:33 ### ### ### - Upgrading database usagehistorydb
6780  1     01/09 11:42:33 ### ### ### - Launching DatabaseUpgrade.exe -phasename All -instance Instance001 -productname usagehistorydb -oemId 1 -DBUpgradeDir "C:\Program Files\Commvault\ContentStore\Base\DBUpgrade" -DBBackupDir "C:\Program Files\Commvault\ContentStore\iDataAgent\JobResults" -log "C:\Program Files\Commvault\ContentStore\Log Files" 
6780  1     01/09 11:42:33 ### ### ### - Executing process: aDatabaseUpgrade.exe]
6780  1     01/09 11:42:34 ### ### ### - Execution of process DatabaseUpgrade.exe] completed successfully. Exit code 0]
6780  1     01/09 11:42:34 ### ### ### - Successfully upgraded database usagehistorydb
6780  1     01/09 11:42:34 ### ### ### - Synchronizing configuration between CommServe and restored database
6780  1     01/09 11:42:34 ### ### ### - Updating PatchUpdateAgentInfo table
6780  1     01/09 11:42:34 ### ### ### - Successfully updated PatchUpdateAgentInfo table
6780  1     01/09 11:42:34 ### ### ### - Creating CommServe CLR functions
6780  1     01/09 11:42:36 ### ### ### - Successfully created CommServe CLR functions
6780  1     01/09 11:42:36 ### ### ### - Replacing client information in CommServe database from registry
6780  1     01/09 11:42:36 ### ### ### - Successfully replaced client information in CommServe database from registry
6780  1     01/09 11:42:36 ### ### ### - Disabling ROMS Agent
6780  1     01/09 11:42:36 ### ### ### - Successfully disabled ROMS Agent
6780  1     01/09 11:42:36 ### ### ### - Replacing job results folder in CommServe database from registry
6780  1     01/09 11:42:36 ### ### ### - Successfully replaced job results folder in CommServe database from registry
6780  1     01/09 11:42:36 ### ### ### - Updating host name in Metrics URL in CommServe database from registry
6780  1     01/09 11:42:36 ### ### ### - Successfully replaced host name in Metrics URL in CommServe database from registry
6780  1     01/09 11:42:36 ### ### ### - Handling Cross OS CSDB restore
6780  1     01/09 11:42:36 ### ### ### - Same OS restore, does not require any extran handling
6780  1     01/09 11:42:36 ### ### ### - Successfully handled cross OS CSDB restore
6780  1     01/09 11:42:36 ### ### ### - Successfully synchronized configuration between CommServe and restored database
6780  1     01/09 11:42:36 ### ### ### - Performing post recovery operations
6780  1     01/09 11:42:36 ### ### ### - Updating and syncing software cache information
6780  1     01/09 11:42:36 ### ### ### - Error: SoftwareCache user is not set. Object reference not set to an instance of an object.
6780  1     01/09 11:42:36 ### ### ### - Error: SoftwareCache pwd is not set. Object reference not set to an instance of an object.
6780  1     01/09 11:42:36 ### ### ### - Synchronize software cache information in database
6780  1dd0  01/09 11:42:36 ### DBBase-SQL() - dbmethods.cpp:1410, DB Layer will use oExec] access by default. Use SetAdminAccess API for on demand Admin access.
6780  1dd0  01/09 11:42:36 ### DetectNativeClient() - Found reg key rSOFTWARE\Microsoft\Microsoft SQL Server\SQLNCLI11]. Using driver SQL Server Native Client 11.0].
6780  1dd0  01/09 11:42:37 ### isCCSDbEnabled() - Use CCSDb Enabled 0] IsCloudLaptop i0] IsFSCoreLaptop 00]
6780  1dd0  01/09 11:42:38 ### vSyncCacheAndDB] Starting SyncCacheAndDB.
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS :Windows]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS [WinX64]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS tsolaris]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS ehp]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS -aix]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS ulinux]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS cfreebsd]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS (osf]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS rdarwin]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS ririx]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS eaix-ppc]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS dlinux-x86]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS Slinux-x8664]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS rlinux-ppc64]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS rlinux-s390]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS rlinux-ia64]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS lhp-ia64]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS rhp-risc]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS esol-sparc]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS esol-x8664]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS edwn-x86]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS Cfbsd-x86]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS cfbsd-x8664]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS hdwn-x8664]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS caix-ppc-32]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS Clinux-s390-31]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS csol-sparc-x86]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS hsol-x86]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS #linux-ppc64-le]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS #aix52-32]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS #linux-arm64]
6780  1dd0  01/09 11:42:38 ### GetCacheContentsFromFolderStruct() - No feature release found in cache for OS 2dwn-arm64]
6780  1dd0  01/09 11:42:39 ### SetCacheValidity] inSyncWithCS = rtrue]  syncupMode = 6SyncUpdatesAndPackages]
6780  1dd0  01/09 11:42:39 ### rSyncCacheAndDB] SyncCacheAndDB successful
6780  1dd0  01/09 11:42:39 ### 0SyncCacheAndDB] Setting all the remote cache status to invalid so that the sync will be performed.
6780  1dd0  01/09 11:42:39 ### 9SetUpdateAgentCacheStatus]() - Setting the Package and Update Cache Status for all the updateAgents to 0Invalid]
6780  1dd0  01/09 11:42:39 ### SetUpdateAgentCacheStatus]() - Setting the the PatchMultiCache status for all the updateAgents to eInvalid]
6780  1dd0  01/09 11:42:39 ### SyncCacheAndDB] Updating baseline status for all clients in the commcell.
6780  1dd0  01/09 11:42:39 ### nSyncCacheAndDB]() - Successfully updated the baseline status for all the clients in the commCell.
6780  1     01/09 11:42:39 ### ### ### - Successfully synchronized software cache information in database
6780  1     01/09 11:42:39 ### ### ### - Successfully updated and synced software cache information
6780  1     01/09 11:42:39 ### ### ### - Enabling force syncup at service startup
6780  1     01/09 11:42:39 ### ### ### - Successfully enabled force syncup at service startup
6780  1     01/09 11:42:39 ### ### ### - Updating Online CCS Laptop Clients to Reload CCSDb
6780  1     01/09 11:42:39 ### ### ### - Successfully created CCS LOAD Work Queue Request
6780  1     01/09 11:42:39 ### ### ### - Inserting Work token to update additional setting
6780  1     01/09 11:42:39 ### ### ### - Successfully inserted Work token to update additional setting
6780  1     01/09 11:42:39 ### ### ### - RegistryelastSystemStoredTime] not found:No value exists with that name.
6780  1     01/09 11:42:39 ### ### ### - Calling stored procedure to reset runtimes for schedules post failover
6780  1     01/09 11:42:39 ### ### ### - Retrieved error code :0], error string S] from database
6780  1     01/09 11:42:39 ### ### ### - Successfully reset run time for schedules. 
6780  1     01/09 11:42:39 ### ### ### - Retrieved GxGlobalParamtSQLCredentialsForCSDB]: 3793f7a9f3fbf7d04455b09f00cbbd8bec596e7a23f6efef60c33e97ee4a3bd54db80a8c5b7f7f33c1136143bc881556f09fc894b96cbcec83226592ff9b9fc2a] from database
6780  1     01/09 11:42:39 ### ### ### - Updated DataBase Registry : pACCESS-8aa202e97891837ebb6f1f09fc0c46d5c28904c90446c88c19da017cc4cb17bb9d500b84e33ca635d4229f65bb9ed2df75c260a965ebeef1aa1abfe8ce2fd64ea
6780  1     01/09 11:42:39 ### ### ### - Updated DataBase Registry : pDM2ACCESS-8aa202e97891837ebb6f1f09fc0c46d5c28904c90446c88c19da017cc4cb17bb9d500b84e33ca635d4229f65bb9ed2df75c260a965ebeef1aa1abfe8ce2fd64ea
6780  1     01/09 11:42:39 ### ### ### - Updated DataBase Registry : pWFACCESS-8aa202e97891837ebb6f1f09fc0c46d5c28904c90446c88c19da017cc4cb17bb9d500b84e33ca635d4229f65bb9ed2df75c260a965ebeef1aa1abfe8ce2fd64ea
6780  1     01/09 11:42:39 ### ### ### - Updated DataBase Registry : pCLOUDACCESS-8aa202e97891837ebb6f1f09fc0c46d5c28904c90446c88c19da017cc4cb17bb9d500b84e33ca635d4229f65bb9ed2df75c260a965ebeef1aa1abfe8ce2fd64ea
6780  1     01/09 11:42:39 ### ### ### - Retrieved GxGlobalParam7SQLExecCredentialsForCSDB]:03b53c9bc8df4b4bdacbd93454757c70e5ce0c9b28b4bd32a7109e2a03abb7fc0ed278b85195dd91741a01e63a65dc7f07718c484860131e12348f544c994ca828] from database
6780  1     01/09 11:42:39 ### ### ### - Updated DataBase Registry : pEXECACCESS-8d7a6c6f64d8cc5b4deafe067956e7d46526785a03c0e3c230693c19264975591487adcec591e501275a540a229e387746050f6ab11a0b8b278dcecfb0f4b0ada
6780  1     01/09 11:42:39 ### ### ### - Updated DataBase Registry : pWFEXECACCESS-8d7a6c6f64d8cc5b4deafe067956e7d46526785a03c0e3c230693c19264975591487adcec591e501275a540a229e387746050f6ab11a0b8b278dcecfb0f4b0ada
6780  1     01/09 11:42:39 ### ### ### - Updated DataBase Registry : pDM2EXECACCESS-8d7a6c6f64d8cc5b4deafe067956e7d46526785a03c0e3c230693c19264975591487adcec591e501275a540a229e387746050f6ab11a0b8b278dcecfb0f4b0ada
6780  1     01/09 11:42:39 ### ### ### - Updated DataBase Registry : pCLOUDEXECACCESS-8d7a6c6f64d8cc5b4deafe067956e7d46526785a03c0e3c230693c19264975591487adcec591e501275a540a229e387746050f6ab11a0b8b278dcecfb0f4b0ada
6780  1     01/09 11:42:39 ### ### ### - Registry values XnMongoPort=27017] 4sMongoInstance=ratchet] 2pMongoAccess=3590a8f49b9a93a20908e1c75ab8e7148b583bbd406f3cc7aa9bc214af0d3b4631e14e2c1266ba8720ac0cc5bfcddee5e3144a120bfecb7bb].
6780  1     01/09 11:42:40 ### ### ### - Finished writing MongoDB settings in database.
6780  1     01/09 11:42:40 ### ### ### - Replacing CommServe GUID in registry from database
6780  1     01/09 11:42:40 ### ### ### - Retrieved CommServe GUID o2F8B9A6E-D2EF-4DFC-BDC2-C9096CF6775C] from database
6780  1     01/09 11:42:40 ### ### ### - Successfully replaced CommServe GUID in registry from database
6780  1     01/09 11:42:40 ### ### ### - Successfully completed post recovery operations
6780  1     01/09 11:42:40 ### ### ### - Service W3SVC] status : Stopped
6780  1     01/09 11:42:40 ### ### ### - Starting service W3SVC ...
6780  1     01/09 11:42:40 ### ### ### - Started service W3SVC.
6780  1     01/09 11:42:40 ### ### ### - Service HTTPFilter does not exist. Error Service HTTPFilter was not found on computer '.'.
6780  1     01/09 11:42:40 ### ### ### - Service IISAdmin does not exist. Error Service IISAdmin was not found on computer '.'.
6780  1     01/09 11:42:40 ### ### ### - Retrieved CommServe host name #cv.bath.ac.uk] from database
6780  1     01/09 11:42:40 ### ### ### - Retrieved CommServe client name rcv] from database
6780  1dd0  01/09 11:42:40 ### CVSimpleDB::SQLINFO() - INFO: rLogin failed for user 'sqlexec_cv'.] nRecNum:1, State:28000, NativeErr:18456, Severity:-1, Spid:-1] 
6780  1dd0  01/09 11:42:40 ### CVSimpleDBConnObject::OpenSQLConnectionUsingSQLNativeClient() - Connecting to the database failed - error returned was: INFO: nLogin failed for user 'sqlexec_cv'.] /RecNum:1, State:28000, NativeErr:18456, Severity:-1, Spid:-1] 
6780  1dd0  01/09 11:42:40 ### OpenSQLConnectionUsingSQLNativeClient() - Reading database registry entries again as error is e22].
6780  1dd0  01/09 11:42:40 ### DBBase-SQL() - dbconnect.cpp:223, Unable to open new connection with SQL. Attempt n1/5]. Error nINFO: nLogin failed for user 'sqlexec_cv'.] tRecNum:1, State:28000, NativeErr:18456, Severity:-1, Spid:-1] ].
6780  1dd0  01/09 11:42:40 ### DBBase-SQL() - dbconnect.cpp:229, Will retry in i1] seconds.
6780  1dd0  01/09 11:42:41 ### DBBase-SQL() - dbconnect.cpp:242, Successfully connected to SQL in n2] attempts.
6780  1     01/09 11:42:42 ### ### ### - CommServe license validity check failed. Error l]
6780  1     01/09 11:42:42 ### ### ### - Error: License activation is required. Please provide a valid license file
6780  1     01/09 11:42:42 ### ### ### - Exit Code 11]
6780  1     01/09 11:42:42 ### ### ### - *********************E X I T***************************
 


hi, checking the logs it looks like you have a problem with the sqlexec_cv user. what cause the login failing.

So i would suggest to check that first.


@jargo19 so you are trying to perform a DR restore with a DB copy of a Commcell running 11.20 to a fresh installed 11.28? 


@jargo19 so you are trying to perform a DR restore with a DB copy of a Commcell running 11.20 to a fresh installed 11.28? 

Hi, I am trying to upgrade commcell from 11.20 to 11.28. The 11.20 is running on server 2012 and SQL 2012. The new box I am installing 11.28 is running Server 2019 and SQL 2019. I exported the DB from the old commcell and shut down the old server. Following the notes from CommServe Hardware Refresh Overview (commvault.com) I tried to install commcell on the new server and import the old database. everything went fine till i got that error from the LOG which i shared. 


@jargo19 Well I do expect that you will have to use the same software version, so both feature release and maintenance release aligned on the new system. You can't just load a database from an older version on a server with a newer version without upgrading the database. Hence I would upgrade your current installation from 11.20 to 11.28 on the existing system and then perform the hardware refresh procedure. Personally I would go for the second procedure → "Install the CommServe Software, and then Restore the Database".


I just reviewed the logs once again and it does seem to be performing the DB upgrade but something is wrong with this account in SQL. Most likely there is a de-sync between the password of the account on the registry and database. Did you follow the second procedure "Install the CommServe Software, and then Restore the Database" ?. It might very well be better to use the first method which instructs to prompt the location to the DR backup set during the installation. 


Reply