search cancel

ERROR: Unable to open server info file

book

Article ID: 216512

calendar_today

Updated On:

Products

CA Harvest Software Change Manager

Issue/Introduction

I'm getting the below log and while checking it, it says to run svrenc file.
 
HServer | 20210603 09:31:45 | ---------------------------------------------
HServer | 20210603 09:31:45 |      CA Harvest SCM Server 14.0.0
HServer | 20210603 09:31:45 | ---------------------------------------------
HServer | 20210603 09:31:45 | Patch level checking is disabled for login transactions...
HServer | 20210603 09:31:45 | Password exposure checking is disabled for command line utilities...
HServer | 20210603 09:31:45 | ERROR: Unable to open server info file. Run svrenc to set up the server.
 
Can you please confirm whether we can run the file "svrenc" as harvest user or root user and whether it will resolve the issue ?

Environment

Release : 14.0

Component : CA Harvest Software Change Manager

Resolution

This error is because you’re missing the “hsvr.dfo” file.  This file is easily created with the “svrenc” command.  You’ll need to run this on the broker machine.

The command syntax is:

   svrenc -s

You will be prompted for userid and password.  You need to provide the login credentials for your SCM database; the same you would use if you were logging into Oracle with sqlplus or into SQL Server with Management Studio.

After this is done, in the CA_SCM_HOME folder, you should see a “hsvr.dfo” file on a Windows broker machine or a .hsvr.dfo file on a Linux/Unix broker machine.

Here’s where you can read more about the command.
https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/harvest-scm/14-0/command-reference/get-started-with-ca-harvest-scm-commands/svrenc-command-encrypt-user-and-password-credentials-to-a-file.html