Unable to connect to databases via Grid Control
705361Jul 21 2009 — edited Jul 22 2009Hi everyone,
I saw similar threads on the forums but none of them could help me.
I installed OEM Grid Control release 5 on a rhel 5.3. I started to deploy agents on several hosts (windows 2003 et linux). I opened the followinf ports in the firewall :
TCP_4889 : agent -> grid control
TCP_1521 : grid control -> agent
TCP_3872 : grid control -> agent
The agents are up and I can see all the instances in the Targets/Databases tab.
Here is my problem :
The status of each instance is Metric Collection Error and the message is *"This database is not configured"*.
When I click Configure then Test Connection I have the following error :
Failed to connect to the database: Io exception: Connection rest The Connect Descriptor was (description=(address=(host=myserver_hostname)(protocol=tcp)(port=1521))(connect_data=(service_name=instance_name)(instance_name=instance_name)(UR=A)))
When I log in the server, I can connect to the database, the listener is up. But emctl status dbconsole says :
TZ set to Europe/Paris
OC4J Configuration issue. $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_servername_instancename not found.
But this file exists...
Any idea ?
Thanks a lot