Re: emca (database control ) re-create repository always fail

  • From: "Mostafa Eletriby" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "m_etrib@xxxxxxxxx" for DMARC)
  • To: Oracle-l Digest Users <oracle-l@xxxxxxxxxxxxx>
  • Date: Sun, 16 Nov 2014 11:27:28 +0000 (UTC)

HelloKindly find log file for emca , please check.I like to ask if this drop & 
delay at recreate will affect database by any means.
Thanks 

     On Sunday, November 16, 2014 1:22 PM, Mostafa Eletriby 
<dmarc-noreply@xxxxxxxxxxxxx> wrote:
   

 Hello , I had a problem at em database control & I dropped repository to 
re-cretae again.
EM recreate repository always fail, I successfully drop the repository but 
couldn't create it.I used this statement:-
emca -deconfig dbcontrol db -repos drop

emca -config dbcontrol db -repos recreate

Please advice.
Regards,

log file 
attached.-----------------------------------------------------Microsoft Windows 
[Version 6.1.7600]Copyright (c) 2009 Microsoft Corporation.  All rights 
reserved.
C:\Users\orasupport>SET ORACLE_HOSTNAME = localhost
C:\Users\orasupport>echo %ORACLE_HOSTNAME%%ORACLE_HOSTNAME%
C:\Users\orasupport>SET ORACLE_UNQNAME=pidb
C:\Users\orasupport>emca -config dbcontrol db -repos recreate
STARTED EMCA at Nov 16, 2014 1:11:05 PMEM Configuration Assistant, Version 
11.2.0.0.2 ProductionCopyright (c) 2003, 2005, Oracle.  All rights reserved.
Enter the following information:Database SID: pidbListener port number: 
1158Listener ORACLE_HOME [ D:\oradb\product\11.2.0\dbhome_1 ]: 
D:\oradb\product\11.2.0\dbhome_1Password for SYS user:Password for DBSNMP 
user:Password for SYSMAN user:Password for SYSMAN user: Email address for 
notifications (optional):Outgoing Mail (SMTP) server for notifications 
(optional):-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ D:\oradb\product\11.2.0\dbhome_1
Local hostname ................ ENR-HP-PIDB-01.ENR.gov.egListener ORACLE_HOME 
................ D:\oradb\product\11.2.0\dbhome_1Listener port number 
................ 1158Database SID ................ pidbEmail address for 
notifications ...............Outgoing Mail (SMTP) server for notifications 
...............
---------------------------------------------------------------------------------------------------------------------------------------WARNING
 : While repository is dropped the database will be put in quiesce 
mode.----------------------------------------------------------------------Do 
you wish to continue? [yes(Y)/no(N)]: yesNov 16, 2014 1:11:44 PM 
oracle.sysman.emcp.EMConfig performINFO: This operation is being logged at 
D:\oradb\cfgtoollogs\emca\PIDB\emca_2014_11_16_13_11_05.log.Nov 16, 2014 
1:11:45 PM oracle.sysman.emcp.util.FileUtil backupFileWARNING: Could not backup 
file D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.propertiesNov 16, 2014 
1:11:45 PM oracle.sysman.emcp.util.FileUtil backupFileWARNING: Could not backup 
file D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.propertiesNov 16, 
2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil backupFileWARNING: Could not 
backup file D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xmlNov 16, 2014 
1:11:46 PM oracle.sysman.emcp.ParamsManager 
checkListenerStatusForDBControlWARNING: ORA-12541: TNS:no listener
Nov 16, 2014 1:11:46 PM oracle.sysman.emcp.EMConfig performSEVERE:
Database connection through listener failed. Fix the error and run EM 
Configuration Assistant again.
Some of the possible reasons may be:
1) Listener port 1158 provided is incorrect. Provide the correct port.2) 
Listener is not up. Start the Listener.3) Database service PIDB is not 
registered with listener. Register the databaseservice.4) Listener is up on 
physical host and ORACLE_HOSTNAME environment variable is set to virtual host. 
Unset ORACLE_HOSTNAME environment variable.5) Listener is up on virtual host. 
Set environment variable ORACLE_HOSTNAME=<virtual host>.6) /etc/hosts does not 
have correct entry for hostname.
Refer to the log file at 
D:\oradb\cfgtoollogs\emca\PIDB\emca_2014_11_16_13_11_05.log for more 
details.Could not complete the configuration. Refer to the log file at 
D:\oradb\cfgtoollogs\emca\PIDB\emca_2014_11_16_13_11_05.log for more details.
C:\Users\orasupport>


   
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to D:\oradb\product\11.2.0\dbhome_1\oui
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
CONFIG: isHAInstalled: false
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-migrate' set to false
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromDBControl' set to false
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToCentralAgent' set to false
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromCentralAgent' set to false
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToDBControl' set to false
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'STANDALONE_MODE' set to true
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-config' set to true
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'UPDATE_EMAIL' set to true
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'dbcontrol' set to true
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'create' set to true
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'drop' set to true
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: D:\oradb\product\11.2.0\dbhome_1
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Nov 16, 2014 1:11:05 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
CONFIG: isHAInstalled: false
Nov 16, 2014 1:11:07 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: pidb
Nov 16, 2014 1:11:07 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Nov 16, 2014 1:11:07 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter REP_DB_RUNNING_HOST.
Nov 16, 2014 1:11:07 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Nov 16, 2014 1:11:07 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 16, 2014 1:11:07 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database null : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:07 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:07 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYSMAN_PWD.
Nov 16, 2014 1:11:07 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORT.
Nov 16, 2014 1:11:07 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Couldn't get listener port. File 
D:\oradb\product\11.2.0\dbhome_1\ENR-HP-PIDB-01.ENR.gov.eg_null\sysman\config\emoms.properties
 does not exists
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SERVICE_NAME.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: 
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB 
itself
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: PIDB
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: PIDB
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.DBControlUtil 
isDBConsoleConfigured
CONFIG: Sid: PIDB Host: ENR-HP-PIDB-01.ENR.gov.eg Node: null OH: 
D:\oradb\product\11.2.0\dbhome_1 isDBC: false
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.CentralAgentUtil 
isCentralAgentConfigured
CONFIG: Sid: PIDB Host: ENR-HP-PIDB-01.ENR.gov.eg Node: null OH: 
D:\oradb\product\11.2.0\dbhome_1 agentHome: null isCentral: false
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.CentralAgentUtil 
isCentralAgentConfigured
CONFIG: Sid: PIDB Host: ENR-HP-PIDB-01.ENR.gov.eg Node: null OH: 
D:\oradb\product\11.2.0\dbhome_1 agentHome: null isCentral: false
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
CONFIG: isHAInstalled: false
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYSMAN_PWD.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORT.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Couldn't get listener port. File 
D:\oradb\product\11.2.0\dbhome_1\ENR-HP-PIDB-01.ENR.gov.eg_PIDB\sysman\config\emoms.properties
 does not exists
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: 
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Nov 16, 2014 1:11:08 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Nov 16, 2014 1:11:11 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1158
Nov 16, 2014 1:11:20 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: LISTENER_OH value: D:\oradb\product\11.2.0\dbhome_1
Nov 16, 2014 1:11:23 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Nov 16, 2014 1:11:23 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ASM_OH.
Nov 16, 2014 1:11:23 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:23 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:23 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYSMAN_PWD.
Nov 16, 2014 1:11:23 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:23 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: SYS
Nov 16, 2014 1:11:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ASM_OH.
Nov 16, 2014 1:11:29 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:29 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYSMAN_PWD.
Nov 16, 2014 1:11:29 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:29 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:29 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:29 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: DBSNMP
Nov 16, 2014 1:11:30 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:37 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EMAIL_ADDRESS value: 
Nov 16, 2014 1:11:38 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: MAIL_SERVER_NAME value: 
Nov 16, 2014 1:11:38 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 16, 2014 1:11:38 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: 
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to 
D:\oradb\product\11.2.0\dbhome_1\oui
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LOG_FILE.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.EMConfig addEMCALogFile
CONFIG: ORACLE_BASE :D:\oradb
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to 
D:\oradb\product\11.2.0\dbhome_1\oui
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to 
D:\oradb\product\11.2.0\dbhome_1\oui
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at 
D:\oradb\cfgtoollogs\emca\PIDB\emca_2014_11_16_13_11_05.log.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to 
D:\oradb\product\11.2.0\dbhome_1\oui
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to 
D:\oradb\product\11.2.0\dbhome_1\oui
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: D:\oradb\product\11.2.0\dbhome_1
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ASM_OH.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: SYS
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ASM_OH.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: DBSNMP
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: SYS
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: SYS
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: 
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB 
itself
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: PIDB
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: PIDB
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: PIDB
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: SYS
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 3714651661
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: SYS
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: 
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB 
itself
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: PIDB
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: PIDB
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: PIDB
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ASM_OH.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: SYS
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter EMAIL_ADDRESS.
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: SYS
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from 
DB itself
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: SYS
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: PIDB
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil _deleteFile
CONFIG: Deleting file 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.properties.emca.tmp
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil copyFile
CONFIG: exception caught in copyFile: 
oracle.sysman.emcp.exception.FileUtilException: Copying file 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.properties to 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.properties.emca.tmp
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:277)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:618)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:394)
        at oracle.sysman.emcp.util.FileUtil.backupFile(FileUtil.java:1264)
        at 
oracle.sysman.emcp.EMDBPreConfig.backupSharedFiles(EMDBPreConfig.java:1264)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:257)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:198)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
        at 
oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
        at 
oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)
        at 
oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
Caused by: java.io.FileNotFoundException: 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.properties.emca.tmp (Access 
is denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:263)
        ... 11 more
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil backupFile
WARNING: Could not backup file 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.properties
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: Stack trace: 
oracle.sysman.emcp.exception.FileUtilException: Copying file 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.properties to 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.properties.emca.tmp
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:625)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:394)
        at oracle.sysman.emcp.util.FileUtil.backupFile(FileUtil.java:1264)
        at 
oracle.sysman.emcp.EMDBPreConfig.backupSharedFiles(EMDBPreConfig.java:1264)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:257)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:198)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
        at 
oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
        at 
oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)
        at 
oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
Caused by: oracle.sysman.emcp.exception.FileUtilException: Copying file 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.properties to 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.properties.emca.tmp
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:277)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:618)
        ... 10 more
Caused by: java.io.FileNotFoundException: 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emd.properties.emca.tmp (Access 
is denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:263)
        ... 11 more
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil _deleteFile
CONFIG: Deleting file 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca.tmp
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil copyFile
CONFIG: exception caught in copyFile: 
oracle.sysman.emcp.exception.FileUtilException: Copying file 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.properties to 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca.tmp
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:277)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:618)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:394)
        at oracle.sysman.emcp.util.FileUtil.backupFile(FileUtil.java:1264)
        at 
oracle.sysman.emcp.EMDBPreConfig.backupSharedFiles(EMDBPreConfig.java:1285)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:257)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:198)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
        at 
oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
        at 
oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)
        at 
oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
Caused by: java.io.FileNotFoundException: 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca.tmp 
(Access is denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:263)
        ... 11 more
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil backupFile
WARNING: Could not backup file 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.properties
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: Stack trace: 
oracle.sysman.emcp.exception.FileUtilException: Copying file 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.properties to 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca.tmp
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:625)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:394)
        at oracle.sysman.emcp.util.FileUtil.backupFile(FileUtil.java:1264)
        at 
oracle.sysman.emcp.EMDBPreConfig.backupSharedFiles(EMDBPreConfig.java:1285)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:257)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:198)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
        at 
oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
        at 
oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)
        at 
oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
Caused by: oracle.sysman.emcp.exception.FileUtilException: Copying file 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.properties to 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca.tmp
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:277)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:618)
        ... 10 more
Caused by: java.io.FileNotFoundException: 
D:\oradb\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca.tmp 
(Access is denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:263)
        ... 11 more
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil _deleteFile
CONFIG: Deleting file 
D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xml.emca.tmp
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil copyFile
CONFIG: exception caught in copyFile: 
oracle.sysman.emcp.exception.FileUtilException: Copying file 
D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xml to 
D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xml.emca.tmp
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:277)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:618)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:394)
        at oracle.sysman.emcp.util.FileUtil.backupFile(FileUtil.java:1264)
        at 
oracle.sysman.emcp.EMDBPreConfig.backupSharedFiles(EMDBPreConfig.java:1291)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:257)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:198)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
        at 
oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
        at 
oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)
        at 
oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
Caused by: java.io.FileNotFoundException: 
D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xml.emca.tmp (Access is 
denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:263)
        ... 11 more
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil backupFile
WARNING: Could not backup file 
D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xml
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: Stack trace: 
oracle.sysman.emcp.exception.FileUtilException: Copying file 
D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xml to 
D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xml.emca.tmp
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:625)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:394)
        at oracle.sysman.emcp.util.FileUtil.backupFile(FileUtil.java:1264)
        at 
oracle.sysman.emcp.EMDBPreConfig.backupSharedFiles(EMDBPreConfig.java:1291)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:257)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:198)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
        at 
oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
        at 
oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)
        at 
oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
Caused by: oracle.sysman.emcp.exception.FileUtilException: Copying file 
D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xml to 
D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xml.emca.tmp
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:277)
        at oracle.sysman.emcp.util.FileUtil.copyFile(FileUtil.java:618)
        ... 10 more
Caused by: java.io.FileNotFoundException: 
D:\oradb\product\11.2.0\dbhome_1\sysman\emd\targets.xml.emca.tmp (Access is 
denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:263)
        ... 11 more
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
CONFIG: isHAInstalled: false
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager 
checkListenerStatusForDBControl
CONFIG: HOST: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager 
checkListenerStatusForDBControl
CONFIG:  connectDesc : 
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ENR-HP-PIDB-01.ENR.gov.eg)(PORT=1158)))(CONNECT_DATA=(SERVICE_NAME=PIDB)))
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database PIDB : 
ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: ENR-HP-PIDB-01.ENR.gov.eg
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1158
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil 
isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance 
locally.
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: pidb, oracleHome: 
D:\oradb\product\11.2.0\dbhome_1, and user: SYS
Nov 16, 2014 1:11:45 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Nov 16, 2014 1:11:46 PM oracle.sysman.emcp.ParamsManager 
checkListenerStatusForDBControl
WARNING: ORA-12541: TNS:no listener

Nov 16, 2014 1:11:46 PM oracle.sysman.emcp.EMConfig perform
SEVERE: 

Database connection through listener failed. Fix the error and run EM 
Configuration Assistant again.

Some of the possible reasons may be: 

1) Listener port 1158 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service PIDB is not registered with listener. Register the database 
service. 
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is 
set to virtual host. Unset ORACLE_HOSTNAME environment variable. 
5) Listener is up on virtual host. Set environment variable 
ORACLE_HOSTNAME=<virtual host>.
6) /etc/hosts does not have correct entry for hostname. 

Refer to the log file at 
D:\oradb\cfgtoollogs\emca\PIDB\emca_2014_11_16_13_11_05.log for more details.
Nov 16, 2014 1:11:46 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace: 
oracle.sysman.emcp.exception.EMConfigException: 

Database connection through listener failed. Fix the error and run EM 
Configuration Assistant again.

Some of the possible reasons may be: 

1) Listener port 1158 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service PIDB is not registered with listener. Register the database 
service. 
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is 
set to virtual host. Unset ORACLE_HOSTNAME environment variable. 
5) Listener is up on virtual host. Set environment variable 
ORACLE_HOSTNAME=<virtual host>.
6) /etc/hosts does not have correct entry for hostname. 

        at 
oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3342)
        at 
oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:858)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:288)
        at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:198)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
        at 
oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
        at 
oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)
        at 
oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
Nov 16, 2014 1:11:46 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to 
D:\oradb\product\11.2.0\dbhome_1\oui

Other related posts: