Adding An Apache Target To OMC Fails With "Exception: The binary home directory is not found. Verify the Binary Home location" (Doc ID 2278243.1)

Last updated on JUNE 19, 2017

Applies to:

OMC Log Analytics Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

After adding an instance of type "omc_generic_apache", command shows successful but status shows error:
/home/opc/scratch/cloud_agent/agent_inst/bin/omcli add_entity agent /home/opc/entidades_loganalitycs/omc_generic_apache_sample.json
=================
Oracle Management Cloud Agent
Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
Operation Succeeded: Accepted 1 of 1 entities for processing.
==================

Checking the status of the instance with the command:
/home/opc/scratch/cloud_agent/agent_inst/bin/omcli status_entity agent /home/opc/entidades_loganalitycs/omc_generic_apache_sample.json
=================
Oracle Management Cloud Agent
Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
Omc_generic_apache.Apache_Node2: AGENT: GenericTargetException: Parameter validation exception found: [Exception: The binary home directory is not found. Verify the Binary Home location]
=================

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms