Smarts NCM: NCM throws a message "ERROR: VOYENCE_HOME (/opt/voyence) is unavailable
search cancel

Smarts NCM: NCM throws a message "ERROR: VOYENCE_HOME (/opt/voyence) is unavailable

book

Article ID: 331132

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


This can arise when running most of the NCM commands. In this case it was thrown here:
[cgi-bin]./cfwrite.cgi
Error: VOYENCE_HOME (/opt/voyence) is unavailable


Environment

VMware Smart Assurance - NCM

Cause

The NCM home environment variable has not been set.

Resolution

Run the following command (from any folder), to read and execute environment variables:

source /etc/voyence.conf (or) . /etc/voyence.conf


Additional Information

source is a bash shell built-in command that executes the content of the file passed as argument, in the current shell or a command prompt. It has a synonym in '.'