How to Resolve CommVault dSource ValidatedSync Fault Failed to Execute "qlogin -sso -gt" on Staging Environment (KBA8732)
KBA
KBA# 8732
Issue
There are times a CommVault validated sync operation displays a fault with a message similar to the following:
Validated sync for dSource "sourceDB" failed with the error: Failed to execute "qlogin -sso -gt" on staging environment "staging_host" while running sync for dSource "sourceDB". Command output: java.io.IOException: Cannot run program "qlogin": CreateProcess error=2, The system cannot find the file specified
Complete the procedure documented here to allow validated syncs to resume.
Prerequisites
- Use of CommVault for creating and managing backups to be ingested by Delphix SQL Server virtualization
- Delphix 5.3.2.0 engine or higher
Applicable Delphix Versions
- Click here to view the versions of the Delphix engine to which this article applies
-
Major Release All Sub Releases 6.0 6.0.0.0, 6.0.1.0, 6.0.1.1, 6.0.2.0, 6.0.2.1, 6.0.3.0, 6.0.3.1, 6.0.4.0, 6.0.4.1, 6.0.4.2, 6.0.5.0, 6.0.6.0, 6.0.6.1, 6.0.7.0, 6.0.8.0, 6.0.8.1, 6.0.9.0, 6.0.10.0, 6.0.10.1, 6.0.11.0, 6.0.12.0 5.3
5.3.2.0, 5.3.3.0, 5.3.3.1, 5.3.4.0, 5.3.5.0, 5.3.6.0, 5.3.7.0, 5.3.7.1, 5.3.8.0, 5.3.8.1, 5.3.9.0
Resolution
The most common reason for this is that Windows patching removed the CommVault binaries path on the dSource staging host. The staging host communicates with the CommVault server using the "qlogin" utility to establish communication with the server. When the binaries are missing, this is the error one will observe.
Resolution involves the following steps:
- Add CommVault binaries to SYSTEM path for the Delphix OS user handling the dSource work-flow on the staging host.
- Typically this is the path "C:\Program Files\Commvault\ContentStore\Base".
- Restart DelphixConnector service and if that does not work then...
- Reboot the staging host used as the CommVault client
Troubleshooting
Log on to the Staging host as the Delphix environment user and issue this command, preferably from a Powershell console started as the Administrator:
qlogin -sso -gt
It is expected to fail with the message:
CreateProcess error=2, The system cannot find the file specified
Inspect the SYSTEM path on the Windows host - this section of environment variables is used for all users. If the binary directory is missing, this is the issue and can be corrected by following the information in the Resolution section above.
Related Articles
The following articles may provide more information or related information to this article: