0 Replies Latest reply: Nov 8, 2012 11:56 AM by AminChavarria RSS

    failed to execute $emca -reconfig dbcontrol -cluster

    AminChavarria
      Hi gurus,

      Environment: RAC Database 10.2.0.4 with 2 instances running on a Cluster with 2 nodes (AIX 5.3)

      I have a problem with Reconfigure DB Control:

      [oracle@dwbd01>$emca -reconfig dbcontrol -cluster

      STARTED EMCA at Nov 8, 2012 10:52:02 AM
      EM Configuration Assistant, Version 10.2.0.1.0 Production
      Copyright (c) 2003, 2005, Oracle.  All rights reserved.

      Enter the following information:
      Database unique name: DWHPROD
      Database Control node name (optional): dwbd01
      Agent SID list [comma separated] (optional): DWHPROD1,DWHPROD2

      Do you wish to continue? [yes(Y)/no(N)]: y
      Nov 8, 2012 10:52:22 AM oracle.sysman.emcp.EMConfig perform
      INFO: This operation is being logged at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/DWHPROD/emca_2012-11-08_10-52-02-AM.log.
      Nov 8, 2012 10:52:23 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:24 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:24 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:24 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:24 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:24 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:25 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:25 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:25 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:25 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
      INFO: Stopping Database Control (this may take a while) ...
      Nov 8, 2012 10:52:31 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:32 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:32 AM oracle.sysman.emcp.EMConfig perform
      SEVERE: null
      Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/DWHPROD/emca_2012-11-08_10-52-02-AM.log for more details.
      Could not complete the configuration. Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/DWHPROD/emca_2012-11-08_10-52-02-AM.log for more details.


      -- emca_2012-11-08_10-52-02-AM.log --
      ...
      Nov 8, 2012 10:52:23 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      SEVERE: Error getting hostname for the cluster node dwbd01. This node may not be configured correctly
      Nov 8, 2012 10:52:23 AM oracle.sysman.emcp.util.ClusterUtil getHostName
      CONFIG: Stack Trace:
      oracle.ops.mgmt.cluster.ClusterInfoException: PRKC-rshd: 0826-813 Permission is denied. : <null>
      at oracle.ops.mgmt.cluster.ClusterInfo.getHostName(ClusterInfo.java:394)
      at oracle.ops.mgmt.cluster.ClusterInfo.getHostName(ClusterInfo.java:362)
      at oracle.sysman.emcp.util.ClusterUtil.getHostName(ClusterUtil.java:955)
      at oracle.sysman.emcp.util.ClusterUtil.getHostName(ClusterUtil.java:928)
      at oracle.sysman.emcp.ParamsManager.getLocalHost(ParamsManager.java:955)
      at oracle.sysman.emcp.EMDBPreConfig.performReconfiguration(EMDBPreConfig.java:2771)
      at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:248)
      at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:171)
      at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:170)
      at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
      at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
      at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
      at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
      ...

      Any idea?

      regards
      Amin