This discussion is archived
1 2 3 Previous Next 35 Replies Latest reply: Aug 30, 2013 3:14 AM by SAYAN_RMAN Go to original post RSS
  • 30. Re: emctl failed to start
    SAYAN_RMAN Newbie
    Currently Being Moderated

    REDOLOG wrote:

     

    Hi,

    here is some steps to follow:

    1-  define the time zone in the .bash_profile, em uses that to give graphs for monitoring and visualizing what is going on in the db : CPU, CP wait, network, transactions all in a graph      so that you can see the pic points and the queries who consume CPU
    2- define your hostname,

    $hostname localhost

    I faced this issue specially on windows because when my laptop was connected to the internet, the hostname changed or some problem like that(I need time to explain)

     

    3- drop the repository and build it again

      $emca -deconfig dbcontrol db -repos drop

     

      $emca -config dbcontrol db -repos create

     

    export the other environnement variables as well

     

     

    please let me know if solved

    [appltest@ERPTEST config]$ emca -deconfig dbcontrol db -repos drop
    STARTED EMCA at Aug 29, 2013 5:05:39 PM
    EM Configuration Assistant, Version 11.1.0.7.0 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Enter the following information:
    Database SID: TEST
    Listener port number: 1528
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 29, 2013 5:06:00 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_17_05_39.log.
    Aug 29, 2013 5:06:00 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Aug 29, 2013 5:06:01 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /oracle/TEST/db/tech_st/11.1.0/bin/emctl stop dbconsole
    Aug 29, 2013 5:06:01 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Can't find file /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/emoms.properties
    Refer to the log file at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_17_05_39.log for more details.
    Could not complete the configuration. Refer to the log file at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_17_05_39.log for more details.

    how do i update TZ in .bash_profile.what to set for India kolkata.

  • 31. Re: emctl failed to start
    REDO LOG Newbie
    Currently Being Moderated

    Hi,

    set write this is the .bash_profile

     

    TZ=Etc/GMT+5; export TZ

     

    you can test with:

    echo $TZ

  • 32. Re: emctl failed to start
    SAYAN_RMAN Newbie
    Currently Being Moderated
    SEVERE: Can't find file /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/emoms.properties

    for emca -deconfig dbcontrol db -repos drop

  • 33. Re: emctl failed to start
    SAYAN_RMAN Newbie
    Currently Being Moderated

    Any input well be appreciated

  • 34. Re: emctl failed to start
    Fran Guru
    Currently Being Moderated

    3 options:

    1) it's a clone database, just copy emoms.properties file from original database and paste

    in /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/emoms.properties

    and recreate repository

    2) oui--> upgrade database

    3) backup full database, reinstall oracle software, restore/recover database

  • 35. Re: emctl failed to start
    SAYAN_RMAN Newbie
    Currently Being Moderated

    Hi

     

    Prod is not configured with EM.

     

    Thanks And Regards

1 2 3 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points