Wednesday, June 26, 2013

Oracle Enterprise Manager unable to Start

When I checked the log Located $ORACLE_HOME/SID_HOSTNAME/sysman/log

I found the below errors :

app.ContextInitializer contextInitialized.420 - Integration Class not found

and

ERROR main: nmectla_agentctl: Error connecting to

First you need to make sure that the link in emd.properties and ports and configured right and hostname is correct, restrat dbconsole if this not works then check the below

On Host :

oracle@TEST:/u01/app/$ echo $TZ
localtime
oracle@TEST:/u01/app/$ export TZ=Etc/GMT+2
emctl config agent updateTZ
emctl resetTZ agent 

Restart Dbconsole

Emctl start dbconsole 
 Thank you
Osama mustafa

1 comment:

  1. Hi guys,

    I Installed oracle 11gr2 on VM (OS RHEL Linux) ,then created database using dbca which also configured OEM and listeners

    post which OEM works for few minutes and goes down on its own when checked showing agent is down,restarting using >>emctl start dbconsole
    not work ,it bring up oem but agent not coming up,when i shutdown and restart VM(OS,Linux) again OEM and agent work for few minutes and i could use all features but again goes
    down after few minutes,
    emctl status dbconsole shows as below:

    EM Daemon is not running

    or
    em agent not running

    after oracle 11gr2 installation,i changed hostname of vm/host,checked required files have changed hostname if this issue can be related to this and any specific file i could check if hostname is showing old(but no error related to hostname)

    please guide me how to fix this

    ,so far below troubleshooting steps is done:


    1)-Reconfiguring(dropping,recreating oem/repos multiple times)

    emca -config dbcontrol db -repos create

    below was message after first installation and recreation
    ----------------------------------------------------------------------------------------------
    Error securing Database Control, Database Control has been brought up in non-secure mode. To secure the Database Control execute the following command(s):

    1) Set the environment variable ORACLE_SID to
    2) /u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl stop dbconsole
    3) /u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl config emkey -repos -sysman_pwd
    4) /u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl secure dbconsole -sysman_pwd
    5) /u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl start dbconsole

    To secure Em Key, run /u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl config emkey -remove_from_repos -sysman_pwd < Password for SYSMAN user >


    ----------------------------------------------------------------------------------------------------

    2)-Timezone related changes
    emctl config agent updateTZ
    cho $TZ
    [oracle@RHENODE2 log]$ export TZ=Etc/GMT+

    3)-checking and changing listener

    4)- Replacing server.xml file from other location after backing it up


    5) Bouncing OEM,Listener multiple times,bouncing db,OS/VM


    6)changing password of sysman,sys (to rule out if any secured connection)
    account_status for users is open
    also

    config emkey -repos -sysman_pwd
    emctl secure dbconsole -sysman_pwd
    emctl start dbconsole



    I am uploading related log and trace files output

    ReplyDelete