1 2 3 Previous Next 35 Replies Latest reply: Aug 30, 2013 5:14 AM by SAYAN_RMAN Go to original post RSS
      • 15. Re: emctl failed to start
        SAYAN_RMAN
        drwxr-xr-x  2 appltest dba   4.0K Jul  6  2011 .fontconfig
        -rw-r--r--  1 appltest dba    13K Jul  6  2011 conf_TEST.txt
        lrwxrwxrwx  1 appltest dba     47 Jul  6  2011 DB_TEST_erptest.env -> /oracle/TEST/db/tech_st/11.1.0/TEST_erptest.env
        drwxr-xr-x  3 appltest dba   4.0K Jul  6  2011 oradiag_appltest
        lrwxrwxrwx  1 appltest dba     51 Jul  6  2011 APPSTEST_erptest.env -> /oracle/TEST/apps/apps_st/appl/APPSTEST_erptest.env
        -rwxr-xr-x  1 appltest dba   1.1K Jul  6  2011 stop_R12_TEST.sh
        -rwxr-xr-x  1 appltest dba    692 Jul  7  2011 start_R12_TEST.sh
        

         

        DB_TEST_erptest.env -> /oracle/TEST/db/tech_st/11.1.0/TEST_erptest.env

         

        this is softlink.created by it.

        DB_TEST_erptest.env -> /oracle/TEST/db/tech_st/11.1.0/TEST_erptest.env

        • 16. Re: emctl failed to start
          SAYAN_RMAN
          find: /var/log/squid: Permission denied
          /oracle/TEST/inst/apps/TEST_erptest/ora/10.1.2/TEST_erptest.env
          /oracle/TEST/inst/apps/TEST_erptest/ora/10.1.3/TEST_erptest.env
          /oracle/TEST/inst/apps/TEST_erptest/admin/out/03071449/TEST_erptest.env
          /oracle/TEST/inst/apps/TEST_erptest/admin/out/03071449/TEST_erptest1.env
          /oracle/TEST/inst/apps/TEST_erptest/admin/out/03071449/TEST_erptest0.env
          /oracle/TEST/apps/apps_st/appl/TEST_erptest.env
          /oracle/TEST/db/tech_st/11.1.0/appsutil/out/TEST_erptest/08301606/TEST_erptest.env
          /oracle/TEST/db/tech_st/11.1.0/appsutil/out/TEST_erptest/03052214/TEST_erptest.env
          /oracle/TEST/db/tech_st/11.1.0/appsutil/out/TEST_erptest/03052214/TEST_erptest0.env
          /oracle/TEST/db/tech_st/11.1.0/appsutil/out/TEST_erptest/03052215/TEST_erptest.env
          /oracle/TEST/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07061821/TEST_erptest.env
          /oracle/TEST/db/tech_st/11.1.0/appsutil/out/TEST_erptest/03052141/TEST_erptest.env
          /oracle/TEST/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07061817/TEST_erptest.env
          /oracle/TEST/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07061817/TEST_erptest0.env
          /oracle/TEST/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07061823/TEST_erptest.env
          /oracle/TEST/db/tech_st/11.1.0/appsutil/out/TEST_erptest/03052222/TEST_erptest.env
          /oracle/TEST/db/tech_st/11.1.0/TEST_erptest.env
          find: /oracle/PREPROD/ora/db/tech_st/11.1.0/rdbms/log: Permission denied
          find: /oracle/PREPROD/ora/db/tech_st/11.1.0/inventory/ContentsXML/ConfigXML: Permission denied
          /oracle/PREPROD/ora/db/tech_st/11.1.0/appsutil/out/TEST_erptest/08301606/TEST_erptest.env
          /oracle/PREPROD/ora/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07091241/TEST_erptest.env
          /oracle/PREPROD/ora/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07061821/TEST_erptest.env
          /oracle/PREPROD/ora/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07091242/TEST_erptest.env
          /oracle/PREPROD/ora/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07091242/TEST_erptest0.env
          /oracle/PREPROD/ora/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07061817/TEST_erptest.env
          /oracle/PREPROD/ora/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07061817/TEST_erptest0.env
          /oracle/PREPROD/ora/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07061823/TEST_erptest.env
          /oracle/PREPROD/ora/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07232337/TEST_erptest.env
          /oracle/PREPROD/ora/db/tech_st/11.1.0/appsutil/out/TEST_erptest/07091246/TEST_erptest.env
          find: /oracle/PREPROD/ora/db/tech_st/11.1.0/cfgtoollogs/cfgfw: Permission denied
          /oracle/PREPROD/ora/db/tech_st/11.1.0/TEST_erptest.env
          find: /oracle/PREPROD/ora/db/tech_st/11.1.0/opmn/logs: Permission denied
          /oracle/PREPROD/app/inst/apps/TEST_erptest/ora/10.1.2/TEST_erptest.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/ora/10.1.3/TEST_erptest.env
          find: /oracle/PREPROD/app/inst/apps/TEST_erptest/ora/10.1.3/opmn/logs/states: Permission denied
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07171806/TEST_erptest.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07171806/TEST_erptest1.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07171806/TEST_erptest0.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07232020/TEST_erptest.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07232020/TEST_erptest1.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07232020/TEST_erptest0.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07232340/TEST_erptest.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07232340/TEST_erptest1.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07232340/TEST_erptest0.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07161827/TEST_erptest.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07161827/TEST_erptest1.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07161827/TEST_erptest0.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07232058/TEST_erptest.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07232058/TEST_erptest1.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07232058/TEST_erptest0.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07091255/TEST_erptest1.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07091255/TEST_erptest0.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07231138/TEST_erptest.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07231138/TEST_erptest1.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/07231138/TEST_erptest0.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/08201153/TEST_erptest.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/08201153/TEST_erptest1.env
          /oracle/PREPROD/app/inst/apps/TEST_erptest/admin/out/08201153/TEST_erptest0.env
          find: /oracle/PREPROD/app/inst/apps/TEST_erptest/appl/fnd/12.0.0/secure: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.2/Apache/Apache/logs/oracle: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.2/appsutil/template: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.2/install/lockdir: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.2/ldap/odi: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.2/sysman/opmn: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.2/opmn/logs/states: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.3/Apache/Apache/logs/fastcgi: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.3/Apache/Apache/logs/oracle: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.3/Apache/Apache/conf/ssl.wlt: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.3/appsutil/template: Permission denied
          find: /oracle/PREPROD/app/apps/tech_st/10.1.3/opmn/logs/states: Permission denied
          /oracle/PREPROD/app/apps/apps_st/appl/TEST_erptest.env
          find: /oracle/PREPROD/app/apps/apps_st/appl/admin/TEST/log: Permission denied
          find: /oracle/PREPROD/app/apps/apps_st/appl/admin/TEST/out: Permission denied
          find: /oracle/PREPROD/app/apps/apps_st/appl/admin/PREPROD/log: Permission denied
          find: /oracle/PREPROD/app/apps/apps_st/appl/admin/PREPROD/out: Permission denied
          find: /oracle/PREPROD/app/apps/apps_st/appl/admin/PROD/log: Permission denied
          find: /oracle/PREPROD/app/apps/apps_st/appl/admin/PROD/out: Permission denied
          find: /oracle/lost+found: Permission denied
          find: /lost+found: Permission denied
          find: /media/disk1/lost+found: Permission denied
          find: /media/disk/lost+found: Permission denied
          [appltest@ERPTEST ~]$ 
          

          plz check and advise what to do, asif?

          • 17. Re: emctl failed to start
            Asif Muhammad

            Hi,

             

            You might seek more help from forum: General Questions

             

            If anything does not works out, I suggest you raise an SR.

             

            Thanks &

            Best Regards,

            • 18. Re: emctl failed to start
              SAYAN_RMAN

              Hi

               

              moved as requested by Asif.

               

              Message was edited by: SAYAN_RMAN

              • 19. Re: emctl failed to start
                SAYAN_RMAN

                Hi

                 

                Any idea?

                is my emca is corrupted?

                 

                SQL> show parameter remote_login_passwordfile

                 

                 

                NAME     TYPE VALUE

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

                remote_login_passwordfile     string EXCLUSIVE

                SQL> show parameter db_name

                 

                 

                NAME     TYPE VALUE

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

                db_name     string TEST

                SQL> select * from global_name;

                 

                 

                GLOBAL_NAME

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

                TEST.BIL.COM

                 

                 

                SQL>

                 

                Thanks And Regards

                • 20. Re: emctl failed to start
                  SAYAN_RMAN

                  Hi

                   

                  if anybody have emkey.ora plz send me that to my email id sayantan.chakraborty@live.in.

                  • 21. Re: emctl failed to start
                    Fran

                    if your emkey is corrupted or lost, your only way (as far as i know) is recreate repository.

                     

                    Check:

                    Fran DBA

                    • 22. Re: emctl failed to start
                      SAYAN_RMAN

                      Hi

                       

                      it is done several time but its no luck.please read rest of the log.

                      [appltest@ERPTEST ~]$ emctl status emkey
                      Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0 
                      Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.
                      Please enter repository password: 
                      Exception caught
                      Can't find file /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/emoms.properties
                      java.lang.IllegalStateException: Can't find file /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/emoms.properties
                        at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1126)
                        at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1099)
                        at oracle.sysman.eml.sec.rep.EmKeyUtil.<init>(EmKeyUtil.java:105)
                        at oracle.sysman.eml.sec.rep.EmKeyUtil.main(EmKeyUtil.java:478)
                      

                       

                      Thaks And Regards

                      • 23. Re: emctl failed to start
                        Fran

                        post:

                         

                        1) $ ls -l /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/emoms.properties 

                        2) $ echo ORACLE_SID and ORACLE_HOME

                        3) current user is administrator?

                        • 24. Re: emctl failed to start
                          SAYAN_RMAN

                          [appltest@ERPTEST ~]$ ls -l /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/emoms.properties

                          this file was missing

                           

                           

                          [appltest@ERPTEST ~]$ id

                          uid=501(appltest) gid=500(dba) groups=500(dba)

                          [appltest@ERPTEST ~]$ echo $ORACLE_SID

                          TEST

                          [appltest@ERPTEST ~]$ echo $ORACLE_HOME

                          /oracle/TEST/db/tech_st/11.1.0

                          • 25. Re: emctl failed to start
                            Fran

                            when you run emctl status emkey it will show you the solution but you didn't post it....

                            Something like this:

                             

                            SEVERE: Error copying Em Key to Management Repository. The Em Key is not configured properly or is corrupted in the file system and does not exist in the Management Repository. To correct the problem:

                            1) Copy the emkey.ora file from another OMS or backup machine to the /oracle/TEST/db/tech_st/11.1.0/db_1/sysman/config and run following commands:

                            i) /oracle/TEST/db/tech_st/11.1.0/db_1/bin/emctl config emkey -emkeyfile /oracle/TEST/db/tech_st/11.1.0/db_1/sysman/config/emkey.ora  -force

                            ii) /oracle/TEST/db/tech_st/11.1.0/db_1/bin/emctl  config emkey -copy_to_repos

                            iii) Run EM Configuration Assistant again

                            2) If emkey.ora is not available from backup, run /oracle/TEST/db/tech_st/11.1.0/db_1/bin/emca with -repos create option

                            • 26. Re: emctl failed to start
                              SAYAN_RMAN

                              Fran wrote:

                               

                              when you run emctl status emkey it will show you the solution but you didn't post it....

                              Something like this:

                               

                              SEVERE: Error copying Em Key to Management Repository. The Em Key is not configured properly or is corrupted in the file system and does not exist in the Management Repository. To correct the problem:

                              1) Copy the emkey.ora file from another OMS or backup machine to the /oracle/TEST/db/tech_st/11.1.0/db_1/sysman/config and run following commands:

                              i) /oracle/TEST/db/tech_st/11.1.0/db_1/bin/emctl config emkey -emkeyfile /oracle/TEST/db/tech_st/11.1.0/db_1/sysman/config/emkey.ora  -force

                              ii) /oracle/TEST/db/tech_st/11.1.0/db_1/bin/emctl  config emkey -copy_to_repos

                              iii) Run EM Configuration Assistant again

                              2) If emkey.ora is not available from backup, run /oracle/TEST/db/tech_st/11.1.0/db_1/bin/emca with -repos create option

                              its not working i do not have any emkey.ora

                               

                              Aug 29, 2013 4:33:05 PM oracle.sysman.emcp.util.PlatformInterface executeCommand

                              CONFIG: Unable to copy /oracle/TEST/db/tech_st/11.1.0/sysman/config/b64InternetCertificate.txt to /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/b64InternetCertificate.txt: No such file or directory at /oracle/TEST/db/tech_st/11.1.0/bin/EMDeploy.pm line 262.

                               

                               

                              Aug 29, 2013 4:33:05 PM oracle.sysman.emcp.util.PlatformInterface executeCommand

                              WARNING: Error executing /oracle/TEST/db/tech_st/11.1.0/bin/emctl deploy dbconsole /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST ERPTEST.BIL.COM:3938 ERPTEST.BIL.COM TEST

                              Aug 29, 2013 4:33:05 PM oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles

                              CONFIG: Failed to deploy state dirs

                              Aug 29, 2013 4:33:05 PM oracle.sysman.emcp.EMConfig perform

                              SEVERE: Erro

                              • 27. Re: emctl failed to start
                                Fran

                                Anyway, did you try this options? when you recreate repository the emkey.ora file will be created again.

                                 

                                If yes recreate emoms.properties, with the same structure like:

                                Oracle DBA Place: Empty emoms.properties - The Solution

                                Of course, you should change some parameters values.

                                • 28. Re: emctl failed to start
                                  SAYAN_RMAN

                                  Fran wrote:

                                   

                                  Anyway, did you try this options? when you recreate repository the emkey.ora file will be created again.

                                   

                                  If yes recreate emoms.properties, with the same structure like:

                                  Oracle DBA Place: Empty emoms.properties - The Solution

                                  Of course, you should change some parameters values.

                                  Did

                                   

                                  emctl start oms

                                   

                                  its not 11g usage.

                                  • 29. Re: emctl failed to start
                                    REDO LOG

                                    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