5 Replies Latest reply on Jul 25, 2018 2:08 AM by Siddhesh Bakkar Branched to a new discussion.

# blcred Error Message:  "Could not find the jvm_path"

Share:|

I have one windows server that cannot run a NSH Script from the Command Line. This script works on other servers. Below is the caommand with the full error output. As you can see the blcli command fail because i'm not able to authenticate via blcred.

Command:

```PS H:\> & 'C:\Program Files\BMC Software\BladeLogic\NSH\bin\nsh.exe' -c "/C/ICOUtils/NSH/QA_BSA_AddServer.nsh
```

Error Message:

Could not find the jvm_path

The BLCLI is not installed.

The BLCLI is not connected

Issue: BladeLogic is not installed under the "Program Files (x86)" its under "Program Files".

• So why is the NSH defaulting to the wrong path?

Attempted Fixes:

1.      I tried editing the Registry REG_SZ "NSHDIR" under Reg Environment Key. But that didn't not fix the issue.
• ###### 1. Re: blcred Error Message:  "Could not find the jvm_path"

Updating the Registry with the modified Reg_SZ "NSHDIR" fixed the issue only after i rebooted the server.

• ###### 2. Re: blcred Error Message:  "Could not find the jvm_path"

you shouldn't have the NSHDIR env var set as a system variable.

• ###### 3. Re: blcred Error Message:  "Could not find the jvm_path"

Thanks Dipak !!

The HOME file was pointing to "/opt/bmc/rscd/NSH" whereas the correct path was "/opt/bmc/bladelogic/NSH". Modifying the same resolved the issue.

• ###### 4. Re: blcred Error Message:  "Could not find the jvm_path"

if that's the case then you did something wrong during the upgrade.  do you have a 'local' agent installed here along w/ the appserver ?

• ###### 5. Re: blcred Error Message:  "Could not find the jvm_path"

Hi Bill,

Yes. We have an RSCD agent running on the appserver. Our fileserver is a NAS attached on the appserver itself. That is why we have installed the agent.

Also I do suspect that we had done something wrong during the upgrade. But now it is fixed & everything is working well.

Sorry for the delayed response.