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:
- Click Rediscover Oracle EnvironmentNote: If click fails, continue with the below steps.
- Ensure that Oracle is running. If not, start Oracle and repeat the discover process.
- Edit the file /etc/nsswitch.conf
- Using a suitable editor, open the file /etc/nsswitch.conf
- Locate the line that starts with hosts and comment it out with a #
- 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
- Save the file.
- 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.