Harvest

 View Only
  • 1.  How do I get around this HServer logon denied error?

    Posted Apr 03, 2017 04:55 PM

    Here is the output I am getting from the command line:

    C:\Users\Administrator>hserver
    HServer | 20170403 19:18:02 | ---------------------------------------------
    HServer | 20170403 19:18:02 | CA Harvest SCM Server 13.0.0
    HServer | 20170403 19:18:02 | ---------------------------------------------
    HServer | 20170403 19:18:02 | Patch level checking is disabled for login transac
    tions...
    HServer | 20170403 19:18:02 | Password exposure checking is disabled for command
    line utilities...
    HServer | 20170403 19:18:02 | SCM Server Executable Directory: "C:\Program File
    s\CA\SCM"
    HServer | 20170403 19:18:02 | Initialize communication layer...
    HServer | 20170403 19:18:02 | Connecting through datasource harvest using user h
    arvest...
    HServer | 20170403 19:18:03 | ERROR: E0302004d: Cannot connect to the datasource
    harvest as user harvest .
    HServer | 20170403 19:18:03 | ERROR: [Oracle][ODBC][Ora]ORA-01017: invalid usern
    ame/password; logon denied

     

    I have gone into HDBSetup and created the DSN specifying the correct username and password. The DSN test was successful, but HServer is giving me an error saying invalid username/password. Any ideas?



  • 2.  Re: How do I get around this HServer logon denied error?
    Best Answer

    Broadcom Employee
    Posted Apr 03, 2017 05:38 PM

    Hello Albert,

     

    When the hserver wants to connect to your Oracle database it will use the userid and password found in your hsvr.dfo file (on Unix/Linux it will be the .hsvr.dfo file).  In your case it looks like the wrong username and/or password has been stored there.  You will need to generate a new file.

     

    From a command prompt window execute:

       svrenc -s

     

    The utility will prompt you for a userid and password.  You should provide the Oracle login credentials for the Harvest database schema.  After the utility finishes you should check your %CA_SCM_HOME% (or $CA_SCM_HOME on Unix/Linux) to assure that the timestamp on the hsvr.dfo file has been updated.  Then, try to start the hserver again from a command prompt window.

     

    Let me know if this answers your question.

     

    Thanks,

     

    Melinda Skelton

    CA Technologies Support Team



  • 3.  Re: How do I get around this HServer logon denied error?

    Posted Dec 20, 2018 03:25 PM

    Hi Melinda, please can you help me?

     

    I have tried to execute the follow command line on unix SO:

     

    svrenc -usr username -pw password -f credential.dfo -dir /herramientas/CA/credential/

     

    but it shows the next message:

     

    ksh: svrenc:  not found

     

    Can you help me please?



  • 4.  Re: How do I get around this HServer logon denied error?

    Posted Dec 20, 2018 05:03 PM

    Hi, I could solve this.

     

    Thanks a lot