Writing About Our Experiences With Oracle Databases
Sunday February 12th 2012

Latest Topics

Copying Oracle Scheduler jobs with Arguments

Oracle provides dbms_scheduler.copy_job function to copy oracle scheduler jobs which works great. But problem is that [Read More]

EM12c:Automated discovery of Targets

EM12c:Automated discovery of Targets

In this post we will discuss the Automated discovery of Targets in Enterprise Manager Cloud Control(EM 12c). Once you [Read More]

Em12c:Silent Oracle Management agent Installation

This Post would describe how to install Oracle Management Agent 12c in silent mode. We need to download the agent [Read More]

11gR2:Listener Startup Issues

In this blog post I will be discussing listener startup issues faced in 11gR2 RAC. I will be constantly updating this [Read More]

Get Upgrading: Upgrade to Enterprise Manager Cloud Control 12c

Get Upgrading: Upgrade to Enterprise Manager Cloud Control 12c

This post describes the steps to upgrade an existing 11g Enterprise Manager Grid Control (11.1.0.1.0) to 12c [Read More]

DBConsole Issue on RAC -Part I

Currently I am working on issue where DBConsole is not starting on our 2 Node RAC system. When I try to start, I get following errors

[oracle@PROD01 ~]$ emctl status dbconsole
TZ set to US/Pacific
Exception in getting local host
java.net.UnknownHostException: PROD01: PROD01
        at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
        at oracle.sysman.emSDK.conf.TargetInstaller.getLocalHost
(TargetInstaller.java:5561)
        at oracle.sysman.emSDK.conf.TargetInstaller.main
(TargetInstaller.java:4126)
Exception in getting local host

I tried recreating the DBConsole but that also failed and gave following error

[oracle@PROD01 ~]$ emca -config dbcontrol db  -cluster

STARTED EMCA at Jun 12, 2008 3:29:40 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Jun 12, 2008 3:29:40 AM oracle.sysman.emcp.util.ClusterUtil getHostName
SEVERE: Error getting hostname for the cluster node PROD01. This node may not be configured correctly
Enter the following information:
Database unique name: testdb1
Jun 12, 2008 3:29:42 AM oracle.sysman.emcp.ParamsManager getInaccessibleNodeList
WARNING: The following cluster nodes are unavailable: [PROD01, PROD02].
Jun 12, 2008 3:29:42 AM oracle.sysman.emcp.ParamsManager getInaccessibleSidList
WARNING: The requested operation will not be performed for the following instances: [testdb11, testdb12].
No cluster nodes found when configuring the RAC database for EM

Above error informs that the nodes are not available, but if we check the status, they are indeed running.

[oracle@PROD01 ~]$ crs_stat -t
Name           Type           Target    State     Host
------------------------------------------------------------
ora.testdb1.db    application    ONLINE    ONLINE    PROD01
ora....omp1.cs application    ONLINE    ONLINE    PROD01
ora....11.inst application    ONLINE    ONLINE    PROD01
ora....12.inst application    ONLINE    ONLINE    PROD02
ora....SM1.asm application    ONLINE    ONLINE    PROD01
ora....01.lsnr application    ONLINE    ONLINE    PROD01
ora....d01.gsd application    ONLINE    ONLINE    PROD01
ora....d01.ons application    ONLINE    ONLINE    PROD01
ora....d01.vip application    ONLINE    ONLINE    PROD01
ora....dM2.asm application    ONLINE    ONLINE    PROD02
ora....02.lsnr application    ONLINE    ONLINE    PROD02
ora....d02.gsd application    ONLINE    ONLINE    PROD02
ora....d02.ons application    ONLINE    ONLINE    PROD02
ora....d02.vip application    ONLINE    ONLINE    PROD02

At this moment I searched Metalink for any known issues. I came across

Note.388440.1 – Problem Emca Fails To Configure DB Control For RAC Database Error Getting Hostname For The Cluster Node

According to this we need to confirm that SSH is set and output of “cluvfy comp nodecon -n all” command should return Sucess. In our case SSH was already set. So I tried using the command but it was Unsucessful

[oracle@PROD01 ~]$ cluvfy comp nodecon -n all

Verifying node connectivity

Verification of node connectivity was unsuccessful on all the nodes.

At this moment we created a SR with Oracle Support. We were asked to then check

Note 549667.1 – Cluvfy returns “Unsuccessful” for most commands, with no other details

We verified that this note was not applicable to us as file permissions for files (Discussed in Note 549667.1) were correctly set. Now we have one more SR which has been created with RAC team to resolve the “Cluvfy” issue.

It’s been long wait and despite of SR being Escalated, still haven’t got a response from Analyst. Will keep you all posted about the issue and will share the solution. Meanwhile if someone else has also faced this situation and resolved it, then do let me know.

Share
Related Tags: , ,

8 Comments for “DBConsole Issue on RAC -Part I”

  • alagumuthumariappan says:

    hi any update on this issue faced??? i am also facing the same issue. i want to know how you solved this issue.

  • Jerry Quaid says:

    Had same problem.
    Issue was caused by incorrect SSH set up.
    Make sure you can ssh (as oracle) between all your nodes, with no passphrases/passwords;
    Trick is that you also must be able to ssh to the node your on:
    i.e. from mcnode1, in a two node cluster, make sure you have password free ssh to:
    ssh mcnode1
    ssh mcnode2
    Similarly, do the same on mcnode2
    ssh mcnode2
    ssh mcnode1

    Also, make sure that (as root) hostname and domainname work. (probably not required but no harm)

    I did this, then stopped em
    emctl stop dbconsole
    emctl stop agent
    – stop agents on ALL nodes

    The re-install EM completely from mcnode1
    emca -config dbcontrol db -repos recreate -cluster

    Have done this twice on two clusters – worked fine on both – however on one of them, it used new port numbers – 1830 instead of 3938 for agent, 5500 instead of 1158 for dbconsole, – I search for targets.xml in $ORACLE_HOME, and changed any occurrence of 3938 to 1830 (note before changing the post numbers EM was working fine – but showing up extra targets – i.e. an 1830 target as well as a 3938 target)

  • Amit says:

    Thanks Jerry for your comment…In our case even correcting SSH did not solve the problem..I discuss this in http://askdba.org/weblog/?p=121 .. We were told by Oracle development team to disable ipv6 as they suspected that to be issue..But I was not able to implement the same as I moved from that site before we could get approval from management team for changing the ipv6 setting to ipv4..

    So anyone facing this issue, can also explore possibility of disabling ipv6 setting and enabling ipv4 setting..

  • alagumuthumariappan says:

    hi jerry,

    we also got the same reply from oracle team. they asked us to disable ipv6 and enable ipv4. but i requires downtime. so we cant implement it. amit did you checked the suggestion given by oracle development team??

  • Jeegar says:

    Hi Amit,

    Is is mandatory to stop any service or resource in RAC database , before we drop existing Database Control configuration using following command
    emca -x

    and recreating Database Control configuration , using following command ?

    emca -r -c | emca -r -a | emca -r -c -a

  • Saurabh Sood says:

    Hi Jeegar,

    It is not necessary to stop any resource or service in RAC to drop existing DB control.
    The commands to drop the dbcontrol can be run without performing any additional action.

    Cheers!!!
    Saurabh Sood

  • Christian says:

    Hi,
    I know the last reply is a long time ago, but I got the error, when I try to verify my node connectivity with cluvfy. In my case the error was fired by a missing entry in my known_hosts file.
    When I try to connect from one node to another using ssh, ssh asks to me to put my fingerprint to the local file. This ssh question caused cluvfy to fail.

  • alagumuthu mariappan says:

    at times the cluvfy might give unsuccessful in case if the banner is enabled. can you please disable the banner and check it too?


Leave a Comment

*

Recent Comments

Amit had this to say

Thanks mindinpanic. I have incorporated the comment in article. Appreciate your input. Read the post

mindinpanic had this to say

Sorry for my bad english((( And 6 step is that you must run sqlpus from bin directory of your oracle server Read the post

Claudiomiro Caetano had this to say

Simple and effective. Thanks a lot, it solved my issue. Read the post

More from category

EM12c:Automated discovery of Targets
EM12c:Automated discovery of Targets

In this post we will discuss the Automated discovery of Targets in Enterprise Manager Cloud Control(EM 12c). Once you [Read More]

Em12c:Silent Oracle Management agent Installation

This Post would describe how to install Oracle Management Agent 12c in silent mode. We need to download the agent [Read More]

Get Upgrading: Upgrade to Enterprise Manager Cloud Control 12c
Get Upgrading: Upgrade to Enterprise Manager Cloud Control 12c

This post describes the steps to upgrade an existing 11g Enterprise Manager Grid Control (11.1.0.1.0) to 12c [Read More]

Retrieving Database SID,Port information from Grid Control repository

This is short posting on sql which can be used to get Hotsname,SID,Port information for databases registered in Grid [Read More]

‘Metric execution timed out’ error reported by Grid

We use 10.2 Enterprise Manager Grid control  to monitor our oracle database environments . Apart from the normal [Read More]

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4 other subscribers