I have a complicated issue (for me).
Today I started to deploy/install Enterprise Manager on my machine.
I have Oracle Database 11g Enterprise Edition Release 22.214.171.124.0 - 64bit installed on RedHat Linux.
The database is running on a Veritas cluster, so each of the machines (active/passive) has a network interface for it's own and one is the bond interface on which is listening Oracle.
So I proceed to the installation using:
emca -config dbcontrol db -repos recreate
I provided all the answers and the result is:
WARNING: ORA-12541: TNS:no listener
Nov 4, 2013 1:51:08 PM oracle.sysman.emcp.EMConfig perform
Database connection through listener failed. Fix the error and run EM Configuration Assistant again.
I think the problem is from those two interfaces. Is there a way to specify the interface where you want to install EM?
Thank you in advance.
You may find the following doc useful. Note that environment variable ORACLE_HOSTNAME can be used for specifying a host name.
By the way, have you checked if there is a listener listening for this database?
Ensure you follow all steps to configure your DBcontrol as per below metalink doc
Configure DB Control 10.2, 11g for use in Active/Passive High Availability Environments (Doc ID 362524.1)
Regarding listener error I think the issue is because of the machine has multiple NICS/IP addresses and the hostname used by EMCA does not match the hostname used by the listener or the etc/hosts file is not correct
If the Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<virtual host>
Also refer to below metalink doc to help resolve the issue
Troubleshooting EMCA Failures Due to Database Connectivity Issues (Doc ID 1106623.1)
Also check the <ORACLE_HOME>/cfgtoollogs/emca/* for detailed error message