Failed to discover Oracle environment when creating application node

Ops Center Protector Oracle Application Guide

Version
7.8.x
Audience
anonymous
Part Number
MK-99PRT003-10

Problem:

The following error message is seen when attempting to discover an Oracle Environment in the ‘Create Node – Oracle Database’ section:

Failed to discover Oracle Environment

Solution:

  1. Click Rediscover Oracle Environment
    Note: If click fails, continue with the below steps.
  2. Ensure that Oracle is running. If not, start Oracle and repeat the discover process.
  3. Edit the file /etc/nsswitch.conf
    1. Using a suitable editor, open the file /etc/nsswitch.conf
    2. Locate the line that starts with hosts and comment it out with a #
    3. Copy the line and re-order it so that dns is first and files is last. E.g.:
      #hosts: files dns myhostname
      hosts: dns myhostname files
    4. Save the file.
    5. Attempt to discover the Oracle Environment again. The edited file should be picked up straight away and thus it should not be necessary to restart or reboot.