Cnfiguring EMCTL

hi,
Can any one please provide the link or documnet which states the step by step to configure emctl. I tried but i am getting lot of errors:
1.Agent is not running
or when i did emca -config all db -repos create
i got the following errors from log
racle.sysman.emcp.exception.EMConfigException: Error creating the repository
     at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:204)
     at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:134)
     at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171)
     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)
please help!

[How to Recreate the Database Control Repository - (Oracle10g R1) |http://www.idevelopment.info/data/Oracle/DBA_tips/Enterprise_Manager/OEM_3.shtml]
[How to Recreate the Database Control Repository - (Oracle10g R2)|http://www.idevelopment.info/data/Oracle/DBA_tips/Enterprise_Manager/OEM_4.shtml]

Similar Messages

  • Emctl failed to start

    Hi
    It is a new configuration of EMCA on clone instance in EBS R12.1.3 on linux (RHEL5.5) x86_64.DB:11.1.0.7
    emca -config dbcontrol db -repos recreate
    failed with error for not getting proper emkey.ora which is not with our any of instance ever.
    Aug 27, 2013 5:30:41 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 27, 2013 5:30:41 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 27, 2013 5:30:41 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_27_17_30_21.log for more details.
    Aug 27, 2013 5:30:41 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    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:1104)
        at oracle.sysman.emcp.EMReposConfig.stopDBMSJobs(EMReposConfig.java:1125)
    [appltest@ERPTEST TEST]$ emctl getemhome
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.
    EMHOME=/oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST
    [appltest@ERPTEST TEST]$ emctl start dbconsole
    Unable to determine local host from URL REPOSITORY_URL=http://ERPTEST.BIL.COM:%EM_UPLOAD_PORT%/em/upload/
    what to do?Its non RAC environment.
    [appltest@ERPTEST TEST]$ emctl reload
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.
    Malformed URL: http://ERPTEST.BIL.COM:%EM_SERVLET_PORT%/emd/main/
    Can't connect to http://ERPTEST.BIL.COM:%EM_SERVLET_PORT%/emd/main/
    reload failed with ret=6
    I used this script to remove sysman when i droped and recreated it.
    sqlplus / as sysdba << EOF
    exec DBMS_AQADM.DROP_QUEUE_TABLE(queue_table=>'SYSMAN.MGMT_NOTIFY_QTABLE',force =>TRUE);
    SHUTDOWN IMMEDIATE;
    STARTUP RESTRICT;
    EXEC sysman.emd_maintenance.remove_em_dbms_jobs;
    EXEC sysman.setEMUserContext('',5);
    REVOKE dba FROM sysman;
    DECLARE
    CURSOR c1 IS
    SELECT owner, synonym_name name
    FROM dba_synonyms
    WHERE table_owner = 'SYSMAN';
    BEGIN
    FOR r1 IN c1 LOOP
    IF r1.owner = 'PUBLIC' THEN
    EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
    ELSE
    EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
    END IF;
    END LOOP;
    END;
    DROP USER mgmt_view CASCADE;
    DROP ROLE mgmt_user;
    DROP USER sysman CASCADE;
    ALTER SYSTEM DISABLE RESTRICTED SESSION;
    EOF
    Thanks And Regards
    I have already read this docs but found no luck:
    Problem - emctl start dbconsole Fails with Error OC4J Configuration issue OC4J_DBConsole__ not found [ID 555218.1]
    Linux 64bit DBConsole Fails With "OC4J Configuration issue cannot find /oc4j/j2ee/oc4j_DBConsole_..." [ID 462325.1]
    Troubleshooting DbConsole Error - OC4J Configuration issue [ID 456111.1]
    The Database Console Fails to Start After a Change in the Hostname [ID 467598.1]

    [root@ERPTEST ~]# su - appltest
    [appltest@ERPTEST ~]$ . DB_TEST_erptest.env
    [appltest@ERPTEST ~]$  emca -deconfig dbcontrol db -repos drop
    STARTED EMCA at Aug 29, 2013 10:34:11 AM
    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:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 29, 2013 10:34:41 AM 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_10_34_11.log.
    Aug 29, 2013 10:34:41 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Aug 29, 2013 10:34:43 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /oracle/TEST/db/tech_st/11.1.0/bin/emctl stop dbconsole
    Aug 29, 2013 10:34:43 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Dropping the EM repository (this may take a while) ...
    Aug 29, 2013 10:52:53 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Aug 29, 2013 10:52:59 AM
    [appltest@ERPTEST ~]$ emctl status dbconsole
    OC4J Configuration issue. /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST not found.
    [appltest@ERPTEST ~]$ ls /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/
    ls: /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/: No such file or directory
    [appltest@ERPTEST ~]$ emca -repos create
    STARTED EMCA at Aug 29, 2013 10:58:14 AM
    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:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 29, 2013 10:58:49 AM 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_10_58_14.log.
    Aug 29, 2013 10:58:49 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Aug 29, 2013 11:07:21 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Aug 29, 2013 11:07:21 AM
    [appltest@ERPTEST ~]$  emca -config dbcontrol db
    STARTED EMCA at Aug 29, 2013 11:12:00 AM
    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: Email address for notifications (optional): [email protected]
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ /oracle/TEST/db/tech_st/11.1.0
    Local hostname ................ ERPTEST.BIL.COM
    Listener port number ................ 1528
    Database SID ................ TEST
    Email address for notifications ............... [email protected]
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 29, 2013 11:12:56 AM 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_11_12_00.log.
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Aug 29, 2013 11:13:55 AM 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 11:13:55 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error instantiating EM configuration files
    Refer to the log file at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_11_12_00.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_11_12_00.log for more details.
    [appltest@ERPTEST ~]$ cat  /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_11_12_00.log
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-config' set to true
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'UPDATE_EMAIL' set to true
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'dbcontrol' set to true
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: /oracle/TEST/db/tech_st/11.1.0
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: /oracle/TEST/db/tech_st/11.1.0
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: TEST
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 isDBC: false
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 agentHome: null isCentral: false
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 agentHome: null isCentral: false
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user:
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Aug 29, 2013 11:12:11 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1528
    Aug 29, 2013 11:12:16 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Aug 29, 2013 11:12:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: DBSNMP
    Aug 29, 2013 11:12:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYSMAN
    Aug 29, 2013 11:12:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:46 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EMAIL_ADDRESS value: [email protected]
    Aug 29, 2013 11:12:52 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: MAIL_SERVER_NAME value:
    Aug 29, 2013 11:12:52 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:52 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.EMConfig addEMCALogFile
    CONFIG: ORACLE_BASE :/oracle/TEST/db/tech_st/11.1.0
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: TEST
    Aug 29, 2013 11:12:56 AM 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_11_12_00.log.
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'CHECK_CONFIG' set to true
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: DBSNMP
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: TEST
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: TEST
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: TEST
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getDbid
    CONFIG: No dbid available. Will query db to extract it.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBID value: 2075308332
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYSMAN
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMDBPreConfig invoke
    CONFIG: Passed repository configuration check
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: TEST
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties has been copied to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties has been copied to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/emd/targets.xml to /oracle/TEST/db/tech_st/11.1.0/sysman/emd/targets.xml.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /oracle/TEST/db/tech_st/11.1.0/sysman/emd/targets.xml has been copied to /oracle/TEST/db/tech_st/11.1.0/sysman/emd/targets.xml.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 agentHome: null isCentral: false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 isDBC: false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 isDBC: false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORTS_FILE.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /oracle/TEST/db/tech_st/11.1.0/oui
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /oracle/TEST/db/tech_st/11.1.0/oui
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [/oracle/TEST/db/tech_st/11.1.0, /oracle/TEST/apps/tech_st/10.1.3, /oracle/TEST/apps/tech_st/10.1.2]
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /oracle/TEST/db/tech_st/11.1.0
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /oracle/TEST/apps/tech_st/10.1.3
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /oracle/TEST/apps/tech_st/10.1.3/sysman/config/emd.properties
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /oracle/TEST/apps/tech_st/10.1.3/sysman/config/emd.properties
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /oracle/TEST/apps/tech_st/10.1.2
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: 1157 from /oracle/TEST/apps/tech_st/10.1.2/sysman/config/emd.properties
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /oracle/TEST/db/tech_st/11.1.0/install/staticports.ini
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager getFreePorts
    CONFIG: /oracle/TEST/db/tech_st/11.1.0:ERPTEST.BIL.COM:null:TEST:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: AGENT_PORT_TEST value: 3938
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBCONTROL_HTTP_PORT_TEST value: 1158
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: JMS_PORT_TEST value: 5540
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: RMI_PORT_TEST value: 5520
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMDBPreConfig getFreePorts
    CONFIG: Ports assigned for SID: TEST : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMDBPreConfig copyAgentTimeStampFile
    CONFIG: File: /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/emd/agntstmp.txt:ERPTEST.BIL.COM does not exists.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMReposConfig updateReposVars
    CONFIG: Updating file /oracle/TEST/db/tech_st/11.1.0/sysman/emdrep/config/repository.variables ...
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/emdrep/config/repository.variables.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/sysman/emdrep/config/repository.variables
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMReposConfig updateReposVars
    CONFIG: File /oracle/TEST/db/tech_st/11.1.0/sysman/emdrep/config/repository.variables is successfully updated
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked relevant accounts
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYSMAN
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Finished executing emreposoutofbox.sql
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYSMAN
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Submitting dbms job: /oracle/TEST/db/tech_st/11.1.0/sysman/admin/emdrep/sql/core/latest/admin/admin_submit_dbms_jobs.sql
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Successfully submitted dbms job
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocking mgmt view user account
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts/emca/emcaDbUtil /oracle/TEST/db/tech_st/11.1.0/perl/lib:/oracle/TEST/db/tech_st/11.1.0/perl/lib/site_perl:/oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts:/oracle/TEST/db/tech_st/11.1.0/bin: /oracle/TEST/db/tech_st/11.1.0/perl/bin/perl /oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts/emca/emcaDbUtil.pl /oracle/TEST/db/tech_st/11.1.0 TEST SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts/emca/emcaDbUtil /oracle/TEST/db/tech_st/11.1.0/perl/lib:/oracle/TEST/db/tech_st/11.1.0/perl/lib/site_perl:/oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts:/oracle/TEST/db/tech_st/11.1.0/bin: /oracle/TEST/db/tech_st/11.1.0/perl/bin/perl /oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts/emca/emcaDbUtil.pl /oracle/TEST/db/tech_st/11.1.0 TEST SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD  completed successfully
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Arguments passed /oracle/TEST/db/tech_st/11.1.0 TEST SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Connecting to database TEST in home /oracle/TEST/db/tech_st/11.1.0 with user "SYS" role "SYSDBA".
    connected to database.
    sql to execute declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    noOfParams to bind: 1.
    sql execute successfully.
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocked mgmt_view account
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked mgmt_view account
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYSMAN
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: Passed listener validation check.Listener is up and running.
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.EMDBCConfig updateEmomsProps
    CONFIG: Updating file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties ...
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties.emca to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/server.xml.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/server.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
    CONFIG: Copying OC4J config files from /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/javacache.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/javacache.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/jazn-data.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jazn-data.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/application.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/application.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/oc4j-connectors.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/oc4j-connectors.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/mime.types to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/mime.types
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak.1 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak.1
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/jazn.security.props to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jazn.security.props
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/jazn.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jazn.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/entity-resolver-config.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/entity-resolver-config.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/rmi.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/oc4j.properties to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/oc4j.properties
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/global-web-application.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/global-web-application.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/http-web-site.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/data-sources.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/data-sources.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak.5 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak.5
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak.4 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak.4
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak.5 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak.5
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/j2ee-logging.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/j2ee-logging.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak.1 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak.1
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/default-web-site.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/default-web-site.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak.3 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak.3
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/principals.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/principals.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak.2 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak.2
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/server.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/server.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jms.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/internal-settings.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/internal-settings.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/orb-config.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/orb-config.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak.4 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak.4
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/java2.policy to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/java2.policy
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak.3 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak.3
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/transaction-manager.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/transaction-manager.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak.2 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak.2
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/postgresql.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/postgresql.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/sybase.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/sybase.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/hypersonic.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/hypersonic.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/ms-access.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/ms-access.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/oracle.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/oracle.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/ms-sql.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/ms-sql.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/connectors/README.txt to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors/README.txt
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors/datasources
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/connectors/datasources/datasources.rar to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors/datasources/datasources.rar
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors/OracleASjms
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/connectors/OracleASjms/OracleASjms.rar to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors/OracleASjms/OracleASjms.rar
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/META-INF
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/META-INF/MANIFEST.MF to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/META-INF/MANIFEST.MF
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/application-deployments/default/defaultWebApp
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/application-deployments/default/defaultWebApp/orion-web.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/application-deployments/default/defaultWebApp/orion-web.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
    CONFIG: Finished copying OC4J config files
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jms.xml.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jms.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/rmi.xml.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/rmi.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/rmi.xml.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/rmi.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/http-web-site.xml.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/http-web-site.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.EMAgentConfig updateEmdProps
    CONFIG: Updating file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties ...
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties.emca to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
    CONFIG: Updating file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties ...
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.EMAgentConfig updateTargets
    CONFIG: value for use102tgt: false
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: host:ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_database:TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_listener:TEST_ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: host:ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_database:TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_listener:TEST_ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: host:ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_database:TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_listener:TEST_ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: host:ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_database:TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_listener:TEST_ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: host:ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_database:TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_listener:TEST_ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getLocalListener
    CONFIG: Found listener named: TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
    CONFIG: Updating file /oracle/TEST/db/tech_st/11.1.0/sysman/emd/targets.xml ...
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
    CONFIG: Local host name: ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'DISPLAY' is '', discarding the same
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'TZ' is '', discarding the same
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [ADJREOPTS=-Xms128M -Xmx512M, ADJVAPRG=/oracle/TEST/db/tech_st/11.1.0/appsutil/jre/bin/java, ADPERLPRG=/oracle/TEST/db/tech_st/11.1.0/perl/bin/perl, CLASSPATH=/oracle/TEST/db/tech_st/11.1.0/jlib/emca.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/srvm.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/srvmasm.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/emConfigInstall.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/ldapjclnt11.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/ldap.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/share.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/srvmhas.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/netcfg.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/http_client.jar:/oracle/TEST/db/tech_st/11.1.0/lib/http_client.jar:/oracle/TEST/db/tech_st/11.1.0/lib/xmlparserv2.jar:/oracle/TEST/db/tech_st/11.1.0/assistants/jlib/assistantsCommon.jar:/oracle/TEST/db/tech_st/11.1.0/sysman/jlib/emCORE.jar:/oracle/TEST/db/tech_st/11.1.0/sysman/jlib/emagentSDK.jar:/oracle/TEST/db/tech_st/11.1.0/oui/jlib/OraInstaller.jar:/oracle/TEST/db/tech_st/11.1.0/oui/jlib/OraPrereq.jar:/oracle/TEST/db/tech_st/11.1.0/inventory/prereqs/oui/OraPrereqChecks.jar:/oracle/TEST/db/tech_st/11.1.0/oui/jlib/OraPrereqChecks.jar:, CONTEXT_FILE=/oracle/TEST/db/tech_st/11.1.0/appsutil/TEST_erptest.xml, CONTEXT_NAME=TEST_erptest, CVS_RSH=ssh, DYLD_LIBRARY_PATH=/oracle/TEST/db/tech_st/11.1.0/lib:, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/appltest, HOSTNAME=ERPTEST.BIL.COM, INPUTRC=/etc/inputrc, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/oracle/TEST/db/tech_st/11.1.0/jdk/jre/lib/amd64/server:/oracle/TEST/db/tech_st/11.1.0/jdk/jre/lib/amd64:/oracle/TEST/db/tech_st/11.1.0/jdk/jre/../lib/amd64:/oracle/TEST/db/tech_st/11.1.0/lib:/oracle/TEST/db/tech_st/11.1.0/perl/lib:/oracle/TEST/db/tech_st/11.1.0/lib32:/oracle/TEST/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/TEST/db/tech_st/11.1.0/lib:/usr/dt/lib:/oracle/TEST/db/tech_st/11.1.0/ctx/lib, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/oracle/TEST/db/tech_st/11.1.0/lib:/oracle/TEST/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/TEST/db/tech_st/11.1.0/lib:/usr/dt/lib:/oracle/TEST/db/tech_st/11.1.0/ctx/lib, LINK_CNTRL=, LOGNAME=appltest, LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:, MAIL=/var/spool/mail/appltest, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, NLS_DATE_FORMAT=DD-MON-RR, NLS_LANG=American_America.US7ASCII, NLS_NUMERIC_CHARACTERS=.,, NLS_SORT=binary, ORACLE_HOME=/oracle/TEST/db/tech_st/11.1.0, ORACLE_HOSTNAME=ERPTEST.BIL.COM, ORACLE_SID=TEST, ORA_NLS10=/oracle/TEST/db/tech_st/11.1.0/nls/data/9idata, ORA_TZFILE=/oracle/TEST/db/tech_st/11.1.0/oracore/zoneinfo/timezlrg.dat, PATH=/oracle/TEST/db/tech_st/11.1.0/perl/bin:/oracle/TEST/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/oracle/TEST/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/oracle/TEST/db/tech_st/11.1.0/perl/bin:/oracle/TEST/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/oracle/TEST/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/appltest/bin:.:., PERL5LIB=/oracle/TEST/db/tech_st/11.1.0/perl/lib/5.8.3:/oracle/TEST/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3:/oracle/TEST/db/tech_st/11.1.0/appsutil/perl, PWD=/home/appltest, SHELL=/bin/bash, SHLIB_PATH=/oracle/TEST/db/tech_st/11.1.0/lib:/oracle/TEST/db/tech_st/11.1.0/lib:/usr/lib:/oracle/TEST/db/tech_st/11.1.0/ctx/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, TNS_ADMIN=/oracle/TEST/db/tech_st/11.1.0/network/admin/TEST_erptest, USER=appltest, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/oracle/TEST/db/tech_st/11.1.0/jdk/jre/bin/java]
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /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 11:13:55 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 2
    Aug 29, 2013 11:13:55 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Creating shared install...
    Source location: /oracle/TEST/db/tech_st/11.1.0
    Destination (shared install) : /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST
    DeployMode : dbconsole
    Creating directories...
    Aug 29, 2013 11:13:55 AM 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 11:13:55 AM 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 11:13:55 AM oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
    CONFIG: Failed to deploy state dirs
    Aug 29, 2013 11:13:55 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error instantiating EM configuration files
    Refer to the log file at /oracle/TEST/db/tech_st/11.1.0/cfgto

  • Issue with starting the emctl dbconsole

    Hello All,
    I need your help related to the below issue with the emctl, I am using Oracle 11g R2 on windows XP.
    My enterprise manager was working well.
    But at some day i was not able to start the dbconsole with error net msg
    A service specific error occurred: 1.
    More help is available by typing NET HELPMSG 3547.
    I fixed the issue by modifying the file : C:\app\oracle\product\11.2.0\dbhome_1\VirtualXP-20239_windb\sysman\config
    agentTZRegion=+03:00 instead of agentTZRegion=Europe/Minsk
    But again i faced an issue that localhost_windb is not found so i made a new copy of the folder VirtualXP-20239_windb but with name localhost_windb.
    Now the emctl start dbconsole is working with result sucsseful
    but the emctl staus dbconsole returning that the enterprise manager 11g is not running and i am not able to access my EM.
    Any solution..
    your help pls

    Hello
    It looks like the name of your host has been changed. Have you changed the hostname intentionally or do you use DHCP service for naming your system? You should use a static IP and hostname for DB system (please refer to installation requirements).
    If your hostname has been changed, DBControl needs to be dropped and re-created.
    Please read MOS [ID 467598.1] The Database Console Fails to Start After a Change in the Hostname:
    Please read MOS [ID 278100.1] How To Drop, Create And Recreate DB Control In A 10g/11g Database
    Regards
    Gokhan

  • Emctl start db console is not getting started

    hi all
    i trid to open 10g db em in browser vt http://servername:portno/em
    but it displays page cannot displaed
    emctl stauts dbconsole is showing
    oralce Em 10g is not running
    so i tried emctl start dbconsole from command line
    then i got message below
    Oracle Enterprice Manager 10g Database control release 1.20.1.1.0
    copy r-----------
    http://localhost:1158/em/console/aboutapplcation
    starting oracle enterprice manager 10g database control... the oralce dbconsoleorcl service is starting
    The oralceDBconsoleorcl service could not be started
    A system error has occured
    System error 3 has occured
    the system Cannot find the path specified
    How we can solve this pblem
    thanks & regards

    I have just wrote this reply to another thread, take a look at it, maybe you can solve your stuff with the instructions below:
    ----------------------------------Other thread paste below
    The EM is kind of sensitive with network change's, I had a similar issue a few days ago, try to check all this parameters if it helps.
    1. Get the machine name and go to c:\windows\system32\drivers\etc\hosts and hardcode the ip address and the hostname there, you should be able to ping <hostname> and get the anwsers back from the cmd.
    2. Go in your oracle home and check if the agent is pointing to the right ip and ports. The file is on $OH\<hostname>\sysman\emd\targets.xml
    3. Go in the OEM conf file and check out if you can connect with the same exacly connection string showed in the file $OH\<hosthame>\sysman\config\emoms.properties
    You can try to put the connection string on your tnsnames.ora and try to connect to the database.
    4. The listener should be registered into the instance, so you may look at the local_listener parameter (can't remember the parameter name for sure) and check if your listener is registered.
    5. You should also look at the lsnrctl application and see if the Service the OEM is trying to reach is there, if is not, you should modify your listener.ora.
    6. Last you could try the emctl reconfigure option emca -reconfig dbcontrol db
    There are other options to re-create the repository but I never had to take that far.
    Of course there should be more places to look and some steps are not need to solve your problem but I tryed to list all the places I had to reconfigure by the time I changed my network settings.
    In my case was a production server so no reboot, shutdown or stuff like that was an option.
    By last, remember to stop the service emctl stop dbconsole and emctl stop agent before doing changes to configuration.
    Have a nice day! Hope it helps!
    Ricardo Rodriguez

  • Problems with emctl in oracle 10.2.0.4

    Hello,
    I am trying to get OEM DB Console running for a database on a server I just inherited from the previous DBA. I get this error when I try emctl at the command line:
    emctl
    /app/oracle10g/product/10.2.0/bin/emctl: line 330: cd: /app/oracle/product/10.2.0: No such file or directory
    /app/oracle10g/product/10.2.0/bin/emctl: line 332: /app/oracle/product/10.2.0/perl/bin/perl: No such file or directoryYou can see that emctl is looking for "/app/oracle/..." and the DBA changed the directory to "app/oracle10g/..."
    When I look into the server a little more is appears that this DBA created the Oracle home as a copy from a different server. They did not use the "Clone" process. The OEM SYSMAN directory is for a different server:
    /app/oracle10g/product/10.2.0/otherserver.mycomp.com/sysman/configTo make this way more fun this is a production server.
    Any idea how I can get OEM DB Console running?

    I got it. Once I realized the emctl is a script I just edited the ORACLE_HOME set in the scripts. Same for emca.

  • Help with starting the EM dbconsole please - emctl error.

    Hi there - i've spent half my life trying to sort this and it's in vain. There's only 9 hits in google for the below error message and half of those are in Japanese. Not much help therefore. So any advice to be gratefully received!
    I've installed enterprise manager with the option for Oracle to create a new repository. All seems to have installed ok. I've issued the set oracle_sid and the usual "emctl status dbconsole" command and i always get the "unable to locate web application configuration from ." error.
    I can't see any oracle dbconsole service in the services window either. Should there be one or does this get created when you run a successful "emctl start dbconsole" command?
    I've tinkered with the Oracle homes (as per previous discussions) but to no avail.
    Appreciated if someone could point me in the right direction - I'm a newby to Enterprise Manager.
    Thanks in advance. Jon

    Nope. Still exactly the same.
    Error as per previous server before i started hacking it (emctl status dbconsole): "Unable to locate web application configuration from ." I'm completely losing my mind with this install. This same error has happened on 3 different servers now. Always falls over on this agent configuration. Don't Oracle test their installation procedures? Anyway, here's a not so useful snippet of the logs. If anyone knows anything, would be good to let me know - otherwise change of career for me :-(
    Cheers...
    "Oc4jDeploy tool completed successfully!
    INFO: Configuration assistant "OC4J Instance Configuration Assistant" succeeded
    INFO: Command = D:\Oracle_Server\EM\oms10g\perl\5.6.1\bin\MSWin32-x86\perl.exe D:\Oracle_Server\EM\oms10g\bin\genpluginpath.pl D:\Oracle_Server\EM\oms10g D:\Oracle_Server\EM\oms10g
    Operation successful.
    INFO: Configuration assistant "Register DCM Plug-Ins With EM" succeeded
    INFO: Command = D:\Oracle_Server\EM\oms10g\jdk\bin\javaw.exe -jar D:\Oracle_Server\EM\oms10g\dcm\lib\dcm.jar createInitialBackup -v -d -o D:\Oracle_Server\EM\oms10g -force
    backup created: InstalledImage_EnterpriseManager0.btn-wks-strauss.rdfgroup.com
    INFO: Configuration assistant "DCM Repository Backup Assistant" succeeded
    INFO: Command = D:\Oracle_Server\EM\oms10g\perl\5.6.1\bin\MSWin32-x86\perl D:\Oracle_Server\EM\oms10g/install/oneoffs/applyOneoffs.pl automatic
    INFO: Configuration assistant "EM Technology Stack Upgrade" succeeded
    INFO: Command = oracle.sysman.emcp.oms.OmsPlugIn -configureOms
    Operation Stopping OPMN Processes is in progress.
    Operation EM Deploying is in progress.
    Operation Unlocking Passwords and Out of Box setup is in progress.
    Operation Configuring OMS is in progress.
    OMS is being Secured and Lock is set to true.
    Precompiling JSPs.
    Performing installation of CLI services for client.
    Operation Restarting OPMN Processes is in progress.
    INFO: Configuration assistant "OMS Configuration" succeeded
    INFO: Command = oracle.sysman.emcp.agent.AgentPlugIn
    Performing free port detection on host=BTN-WKS-STRAUSS.RDFGROUP.COM
    Securing the agent
    Performing targets discovery and agent configuration
    Command = oracle.sysman.emcp.agent.AgentPlugIn has failed
    Exception : java.lang.Exception: 6
    INFO: Configuration assistant "Agent Configuration Assistant" failed "

  • Emctl and jdeveloper connection error

    Hi all,
    I have installed oracle database 11g 11.1.0.6 on a windows server 2003 machine, and then used patchset 11.1.0.7 to upgrade. After that, I am able to connect this database and the database instance using sqlplus.
    However, when I tried to create a new connection using JDeveloper, I got the following error:
    Test failed: ORA-01017: invalid username/password; logon denied
    When I tried with emctl.bat start dbconsole, I got error saying
    "could not find appropriate listener for this database. configuring db control requires database to be registered with at least one listener"
    Can anyone please help me with this strange issue?
    Thank you so much! Happy New Year too.

    here is the output of set:
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\Application Data
    ARISHOME110=C:\program files\Oracle BPA Suite11g\
    ATRIAHOME=c:\atria
    CCCS_HOME=c:\cccs
    ClusterLog=C:\WINDOWS\Cluster\cluster.log
    CommonProgramFiles=C:\Program Files\Common Files
    ComSpec=C:\WINDOWS\system32\cmd.exe
    COPYCMD=/Y
    DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\user1
    ImageType=windows2003enterprise.hosted
    ImageVersion=1.06
    include=C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include;c:\Program Files\Intel\Compiler60\IA32\Include;c:\Program Files\Intel\Compiler70\IA32\Include;C:\Program Files\Intel\CPP\Compiler81\Ia32\Include
    INTEL=c:\program files\intel
    INTEL_COMPILER80=C:\Program Files\Intel\CPP\Compiler81
    INTEL_LICENSE_FILE=C:\Program Files\Common Files\Intel\Licenses
    INTEL_SHARED=C:\Program Files\Common Files\Intel\Shared Files
    invPtr=C:\STEMAgent\agent10g\oraInst.loc
    JDK_15=c:\jdk1.5.0\bin
    lib=C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib;c:\Program Files\Intel\Compiler60\IA32\Lib;c:\Program Files\Intel\Compiler70\IA32\Lib;c:\Program Files\Common Files\Intel\Shared Files\Ia32\Lib;C:\Program Files\Intel\CPP\Compiler81\Ia32\Lib;C:\Program Files\Common Files\Intel\Shared Files\Ia32\Lib
    machine_type=X86
    MSDevDir=C:\Program Files\Microsoft Visual Studio\Common\MSDev98
    NUMBER_OF_PROCESSORS=4
    ORACLE_HOME=C:\app\product\11.1.0\db_1
    ORACLE_SID=DB11
    OS=Windows_NT
    Path=C:\app\product\11.1.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\MsNfs\;C:\AIME\BIN;C:\CCCS\BIN;c:\emacs\bin;C:\MKSNT;c:\PROGRAM FILES\TERATERM;C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\COMMON\TOOLS\WINNT;C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN;C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\COMMON\TOOLS;C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\BIN;c:\PROGRAM FILES\COMMON FILES\INTEL\SHARED FILES\IA32\BIN;c:\program files\intel\ICID;c:\program files\intel\EDB;c:\program files\intel\ISELECT\BIN6;c:\program files\intel\COMPILER60\IA32\BIN;c:\program files\intel\EDB70;c:\program files\intel\COMPILER70\IA32\BIN;C:\Program Files\Intel\CPP\Compiler81\IA32\BIN;C:\Program Files\Common Files\Intel\Shared Files\IA32\BIN;c:\program files\intel\CPP\IDB73\BIN;c:\program files\intel\cpp\idb80\bin;c:\Program Files\WinZip;c:\orautil;h:\mw\Oracle_IDM1\bin;h:\mw\Oracle_IDM1\opmn\lib;h:\mw\Oracle_IDM1\perl\bin;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    PROCESSOR_LEVEL=15
    PROCESSOR_REVISION=0209
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\LOCALS~1\Temp
    USERNAME=user1
    USERPROFILE=C:\Documents and Settings\user1
    VS=C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO
    VS71COMNTOOLS=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\
    VS80COMNTOOLS=c:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
    VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
    windir=C:\WINDOWS

  • 9iAS Release 2 and 9iFS V9.02 - emctl problem

    Hello All,
    I have a problem with 9iAS & 9iFS.
    The systems setup is as follows.
    Server 1 - SuSE Linux - 9iDB for ifs content.
    Server 2 - 9iAS Infrastructure (OID, portal content)
    Server 3 - 9iAS Middle tier. (portal 9iFS server)
    The portal and emctl were working well. After installation of 9iFS on server 3, emctl is very slow to start. the emctl website is very slow to load, and once logged in the site is virtually non-responsive.
    In the em.log and emd.log I get multiple references to 'Root cause: Unknown Oracle Home, "/usr/oracle/isuites/" '
    Unable to start portal
    Anybody know what the problem may be.
    Regards to all
    Steve

    Sounds like some initialization might have failed. Do you have any "DCM initialization failed" messages in the log files?

  • Can't start emctl after system reboot

    I installed 11g on Redhat E 5 last week. After instellation i use sqlplus and dbcounsole It work fine.
    https:// hostnamerhena:1158/em
    was working fine!
    Then I stop database from EM then shotdown the system.
    Then After a week today I tried to start system It is strange!!!!!
    sqlplus is working fine but EM is not accessable.
    SO I use following command
    emctl start dbconsole
    It give strange message
    https://localhost.localdomain:1158/emconsole/aboutApplication
    Starting Oracle Entriprise Manager 11 g Database Control.........................
    failed.
    Logs are generated
    2008-08-18 23:34:19,124 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found:oracle.sysman.pp.dn.ui.intg.DltNodeIntegration
    2008-08-18 23:34:19,124 [PAFDaemon] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2008-08-18 23:34:19,125 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.common.ui.intg.ProvCommonIntegration
    2008-08-18 23:34:19,127 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.paf.sample.ui.intg.PAFDemoIntegration
    2008-08-18 23:34:19,508 [PAFDaemon] ERROR emSDK.config getAgentState.4868 - java.io.IOException: java.io.IOException: /u01/app/oracle/product/11.1.0/db_1/bin/emctl: cannot execute
    java.io.IOException: java.io.IOException: /u01/app/oracle/product/11.1.0/db_1/bin/emctl: cannot execute
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
         at java.lang.ProcessImpl.start(ProcessImpl.java:65)
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
         at java.lang.Runtime.exec(Runtime.java:591)
         at java.lang.Runtime.exec(Runtime.java:507)
         at oracle.sysman.emd.targetIntg.Util.runOSCommand(Util.java:804)
         at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getAgentState(AgentTargetInstaller.java:4862)
         at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getAgentState(AgentTargetInstaller.java:4806)
         at oracle.sysman.pp.paf.util.OmsProperties.<init>(OmsProperties.java:56)
         at oracle.sysman.pp.paf.impl.PAFDepot.getInstanceLogDir(PAFDepot.java:716)
         at oracle.sysman.pp.paf.impl.PAFDepot.cleanupOldLckFiles(PAFDepot.java:462)
         at oracle.sysman.pp.paf.impl.PAFDepot.startup(PAFDepot.java:457)
         at oracle.sysman.pp.paf.ui.intg.ProvisioningAdvisorIntegration$1.run(ProvisioningAdvisorIntegration.java:229)
         at oracle.sysman.pp.paf.impl.PAFDepot$5.execute(PAFDepot.java:642)
         at oracle.sysman.pp.paf.util.UnaryFunctionThread.run(UnaryFunctionThread.java:119)
    =======================================
    First of all how come localhost comes now when i did hostname it say hostnamerhane???
    I am wondering whats wrong with it.
    Thanks
    AR

    Hi Aaron
    Can you please send us the status of the following commands
    ps -efd | grep oracle
    emctl status dbconsole
    Please note also
    Ensure that you start your services in the proper order:
    - establish IP address on the active node
    - start the TNS listener
    - start the database
    - start dbconsole
    - test functionality
    In case of failure…
    - Establish IP on failover box
    - start TNS listener lsnrctl start
    - start the database dbstart
    - start dbconsole emctl start dbconsole
    - test functionality
    If you want to manually stop or shutdown a service:
    Stop the application
    Stop DB Control emctl stop dbconsole
    Stop TNS listener lsnrctl stop
    Stop DB dbshut
    Stop IP
    We have to reconfigure the dbconsole, depending on the results of the commands.
    Note: For subsequent database / DBConsole installs requiring different hostnames than the physical hostname, simply set ORACLE_HOSTNAME variable to the new virtual hostname and run emca.
    There is no need to re-install the RDBMS server using the new hostname value for DBConsoles running from the same ORACLE_HOME but using different virtual hostnames for different SID values.
    If you would like to prevent the dbconsole from listening on all NICs of the cluster member based on the hostname and SID example in this Note, you can add host="lxdb.acme.com" in the web-site tag of http-web-site.xml present in ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_lxdb.acme.com_DBC/config directory.
    <web-site host="<virtual-ip>" port="<your dbconsole port>" display-name="OC4J Java HTTP Web Site">
    Then restart dbcontrol.
    On Oracle 10g I used the following Note:452305.1
    Subject:      How to Configure the 10.2 DB Console in a Failsafe Environment
    To do the reconfiguration
    Message was edited by:
    Hub

  • Emctl start dbconsole - fail 10g (10.2.0.2)

    Running 10g 10.2.0.2.0 on Solaris platform(this is my development environment, so I was trying to do some testing and
    get OEM to work).
    I try to configure OEM, this database is UPGRADE from oracle 8.1.7
    When I run:
    emctl start dbconsole
    and then I tail the emons.log logfile and saw this:
    at oracle.sysman.emdrep.omsservice.OmsServiceDriver.run(OmsServiceDriver.java:1
    47)
    2009-03-16 18:24:18,569 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRe
    positoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter cou
    ld not establish the connection
    2009-03-16 18:28:34,582 [OmsServiceDriver thread] WARN jdbc.ConnectionCache _getConnec
    tion.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning
    up cache and retrying
    2009-03-16 18:28:34,583 [OmsServiceDriver thread] WARN jdbc.ConnectionCache _getConnec
    tion.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connec
    tion
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
    And here is the :
    more emdctl.trc
    2008-12-10 18:38:49 Thread-1 WARN http: snmehl_connect: connect failed to (devdb3:1832
    ): Connection refused (error = 146)
    2008-12-10 18:39:10 Thread-1 WARN http: snmehl_connect: connect failed to (devdb3:1832
    ): Connection refused (error = 146)
    2008-12-10 18:39:15 Thread-1 WARN http: snmehl_connect: connect failed to (devdb3:1832
    ): Connection refused (error = 146)
    2008-12-10 18:39:20 Thread-1 WARN http: snmehl_connect: connect failed to (devdb3:1832
    ): Connection refused (error = 146)
    2008-12-10 18:39:25 Thread-1 WARN http: snmehl_connect: connect failed to (devdb3:1832
    ): Connection refused (error = 146)
    2008-12-10 18:39:30 Thread-1 WARN http: snmehl_connect: connect failed to (devdb3:1832
    ): Connection refused (error = 146)
    2008-12-10 18:39:35 Thread-1 WARN http: snmehl_connect:
    ===
    Here is the emoms.trc:
    more emoms.trc
    2009-01-26 23:35:49,284 [HttpRequestHandler-9775365] WARN jdbc.ConnectionCache _getCon
    nection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Clean
    ing up cache and retrying
    2009-01-26 23:35:49,285 [HttpRequestHandler-9775365] WARN jdbc.ConnectionCache _getCon
    nection.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connec
    tion
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:
    34)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
    at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.jav
    a:324)
    at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleCo
    nnectionPoolDataSource.java:114)
    at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleCo
    nnectionCacheImpl.java:694)
    at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnect
    ionCacheImpl.java:540)
    at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCac
    heImpl.java:346)
    at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCac
    heImpl.java:324)
    I will try to search this forum and see whether other people has this problem.
    For "NEW ORACLE INSTANCE"I created, those other instance's OEM is running fine.
    ======
    I try to do the following:
    emctl resetTZ agent
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.2.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    Updating /local1/app/oracle/product/10.2.0.2/devdb3_QADB1/sysman/config/emd.properties...
    resetTZ failed.
    The agentTZRegion in:
    /local1/app/oracle/product/10.2.0.2/devdb3_QADB1/sysman/config/emd.properties
    is not in agreement with what the agent thinks it should be.
    Fix your environment.
    Pick a TZ value that corresponds to time zone settings listed in:
    /local1/app/oracle/product/10.2.0.2/sysman/admin/supportedtzs.lst
    I check the
    /local1/app/oracle/product/10.2.0.2/devdb3_QADB1/sysman/config/emd.properties
    It has
    TZ=US/Eastern
    and then I check whether it exist in :
    /local1/app/oracle/product/10.2.0.2/sysman/admin/supportedtzs.lst
    It does, so I don't know what do to next?
    Edited by: user10489016 on Mar 16, 2009 5:53 PM

    start the listener and secure the dbconsole emctl secure dbconsole

  • Lost EMCTL in Application Server Home in Solaris 10

    I have lost my emctl file for Grid Control in the appplication server home for Solaris 10 . Can someone please please help me by posting a version of it so that I can then just add my paths to it .
    Thanks a bunch

    This have platform and server spcific settings. You can try a temporary install on another home and copy it from there

  • Emctl agent status command not working

    Every time I issue the command "emctl agent status", I get the following message:
    EM Configuration issue. /u01/app/oracle/product/OSE_10.2.0.1.0/itt.ppd.ppd-ds.com_HSI1t not found
    I've tried various environments. How can I determine the agent status?
    Baffling product :)
    Thanks
    John

    C:\>emctl status agent
    Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
    Copyright (c) 1996, 2004 Oracle Corporation.  All rights reserved.
    Agent Version     : 10.1.0.2.0
    OMS Version       : 10.1.0.2.0
    Protocol Version  : 10.1.0.2.0
    Agent Home        : D:\oracle\product\10.1.0\Db_1\ALwarid-Taj.fakhruddin.local_t
    aj
    Agent binaries    : D:\oracle\product\10.1.0\Db_1
    Agent Process ID  : 2992
    Agent Process ID  : 2992
    Agent URL         : http://ALwarid-Taj.fakhruddin.local:1832/emd/main
    Started at        : 2006-10-08 08:46:10
    Started by user   : SYSTEM
    Last Reload       : 2006-10-08 08:46:10
    Last successful upload                       : 2006-10-08 10:33:28
    Total Megabytes of XML files uploaded so far :     0.06
    Number of XML files pending upload           :        0
    Size of XML files pending upload(MB)         :     0.00
    Available disk space on upload filesystem    :    38.19%
    Agent is Running and Ready

  • Question about EMCTL status dbconsole

    Good morning,
    I am using Windows XP SP2 and 11gR1. I have an installation with 2 homes, db_1 is home to DBCASID and OCP11GSID, db_2 is home to ORCLSID. All are the same Oracle version, namely, 11gR1.
    I have set the EM services to start manually. I initially started the service for ORCLSID then stopped it and, started the service for DBCASID which started uneventfully. The services were started and stopped using EMCTL by setting the ORACLE_SID to the proper values, in addition, since those instances are in different homes, I switched the PATH as necessary to point to their respective homes.
    When I issue the commands:
    E:\Oracle\app\Private\product\11.1.0\db_1\BIN>set oracle_sid=dbcasid
    E:\Oracle\app\Private\product\11.1.0\db_1\BIN>emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
    https://OrahostB.john.local:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is not running.It reports the service as not running. Windows shows the service is running and in addition to that I have successfully started EM for the instance and used it to browse the state of various elements that make up the database.
    As I type this, the address in IE that I am currently looking at is:
    https://orahostb.john.local:5500/em/console/database/storage/tablespace?target=dbca&type=oracle_database&pageName=/database/storage/tablespace/showSegments&cancelURL=/em/console/database/storage/tablespace%3Foname%3DEXAMPLE%26event%3Dview%26otype%3DTABLESPACE%26target%3Ddbca%26type%3Doracle_database&oname=EXAMPLE&otype=TABLESPACE&processId2=1284272607223which proves the service is running and fully functional.
    The question is: Why is emctl reporting the service as not running when it is most definitely running ? Any ideas ?
    Thank you for your help,
    John.

    Dear 440bx - 11gR2,
    I had the same problem and the enterprise manager is running. The agent is not running on your situation but the enterprise manager itself is running.
    When you type emctl start dbconsole it keeps printing dots (.) and saying the dbconsole can not be started. Actually the dbconsole is started but the agent is not.
    Please type;
    emctl status dbconsoleHere is my output (enterprise manager is running);
    vals1:/home/oracle#emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
    https://10.6.104.171:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is not running.
    Logs are generated in directory /oracle/product/10.2.0/db_1/vals1_optprod/sysman/logThe error messages are;
    vals1:/oracle/product/10.2.0/db_1/vals1_optprod/sysman/log#tail emagent.trc
    2010-09-12 23:18:12 Thread-10 ERROR vpxoci: Error setting timeout for queue reader
    2010-09-12 23:18:12 Thread-10 ERROR recvlets.aq: unable to build queue agent for oracle_database optprod
    2010-09-12 23:18:25 Thread-53460 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:18:25 Thread-53460 ERROR http: 12: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:18:25 Thread-53460 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://10.6.104.171:1158/em/upload/: retStatus=-1
    2010-09-12 23:18:25 Thread-53460 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:18:25 Thread-53460 ERROR http: 12: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:18:25 Thread-53460 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://10.6.104.171:1158/em/upload/: retStatus=-1
    2010-09-12 23:18:35 Thread-10 ERROR vpxoci: Error setting timeout for queue reader
    2010-09-12 23:18:35 Thread-10 ERROR recvlets.aq: unable to build queue agent for oracle_database optprodI have never seen such error and i believe that your error is something like that. Please see metalink for further information or create an SR call.
    vals1:/oracle/product/10.2.0/db_1/vals1_optprod/sysman/log#tail emdctl.trc
    2010-09-12 23:15:26 Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:15:26 Thread-1 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:16:59 Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:16:59 Thread-1 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:17:55 Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:17:55 Thread-1 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:18:31 Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:18:31 Thread-1 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attempt
    2010-09-12 23:20:03 Thread-1 ERROR ssl: nzos_Handshake failed, ret=29024
    2010-09-12 23:20:03 Thread-1 ERROR http: 6: Unable to initialize ssl connection with server, aborting connection attemptPlease read the following thread because it may help you out;
    OEM "emagent.trc" showing errors for ssl
    If you need some more information please see and post the trace files.
    Regards.
    Ogan

  • Oracle 11gR2 emctl error....

    Hi,
    My database is running fine.I am not able to start EM console.PLease help me. Below given are the errors for the particular commands.
    [oracle@HMCSDS02V01 ~]$ emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://HMCSDS02V01:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is not running.
    Logs are generated in directory /orahigh/app/oracle/product/11.2.0/dbhome_1/HMCSDS02V01_orcl/sysman/log
    [oracle@HMCSDS02V01 ~]$ emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://HMCSDS02V01:5500/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............................................................................................. failed.
    Logs are generated in directory /orahigh/app/oracle/product/11.2.0/dbhome_1/HMCSDS02V01_orcl/sysman/log
    [oracle@HMCSDS02V01 ~]$ emca -config dbcontrol db -repos create
    STARTED EMCA at Oct 27, 2010 6:21:25 PM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: orcl
    Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.
    at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:151)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:139)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)
    at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1267)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
    [oracle@HMCSDS02V01 ~]$
    Please help me..
    Regards
    Bobby

    HI,
    THis is the output
    " ============================================================================
    " Netrw Directory Listing (netrw v125)
    " /orahigh/app/oracle/product/11.2.0/dbhome_1/HMCSDS02V01_orcl/
    " Sorted by name
    " Sort sequence: [\/]$,\.h$,\.c$,\.cpp$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~
    " Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:exec
    " ============================================================================
    pafLogs/
    emagent.log
    emagent.trc
    emagent.trc.1
    emagent.trc.2
    emagent_perl.trc
    emagentfetchlet.log
    emagentfetchlet.trc
    emctl.log
    emctl.msg
    emdb.nohup
    emdctl.log
    emdctl.trc
    emdctl.trc.1
    emdctl.trc.2
    emdctl.trc.3
    emdctl.trc.4
    emoms.log
    emoms.log.1
    "log" is a directory 8,1 Top

  • How to start emctl in windows in silent mode.

    hi all,
    I need to create a bat file on windows with the below commands.
    d:\orainf\bin\oidmon start
    d:\orainf\bin\oidctl server=oidldapd instance=1 start
    d:\orainf\dcm\bin\dcmctl start
    d:\orainf\bin\emctl start
    d:\ora9iAS\dcm\bin\dcmctl start -co OC4J_BI_Forms
    d:\ora9iAS\dcm\bin\dcmctl start -co "HTTP Server"
    But the problem is the "emctl start" does not come out of the command prompt and I have to do a Ctrl+C to execute the next set of commands. But the same command works in silent(non interactive) mode in Unix.
    Can anyone help me with this?
    thanks in Advance
    Bijesh

    hi Chris,
    I think you are right. It is not a good idea to override normal start.
    But in my case, if I use a start, I will not have control over the process and How will I know whether my emctl has started successfully before starting the next process?
    regards
    Bijesh

Maybe you are looking for

  • Cisco ASA 5510 - Cisco Client Can Connect To VPN But Can't Ping!

    Hi, I have an ASA 5510 with the configuration below. I have configure the ASA as remote access vpn server with cisco vpn client, my problem now is I can connect but I can't ping. Config ciscoasa# sh run : Saved ASA Version 8.0(3) hostname ciscoasa en

  • ITunes prompting me for an old ID and password to play purchases made with my new account

    I have been purchasing music with my current ID since 2007. I have recently noticed though that some music bought with this account will no longer play unless I give a password for an old account (pre-2007). Luckily I have receipts so can prove which

  • Error while doing migo for STO order

    hi, we have done migo wrt the outbound delivery number and due to wrong invoice values they have cancelled the GR and again they are going to do the GR but system is not allowing to post the document since there is an entry in rg23d table with the sp

  • What preference controls Screen Size and Resolution

    After many months of good behavior, my MacBook Pro is back mirroring video to a phantom VGA monitor every time I wake it up. This mangles the view of my actual laptop screen since the phantom is 800x600. I can get rid of it by clicking Detect Montior

  • Signature invalid message

    I am constantly being told that I should update iTunes.  Whenever I do that, it stops during the install stating the the signature is invalid.  I can still download my pruchases, but I cannot update iTunes. Anyone - please help... Stuart