日志文件内容如下 :
D:\oracle\cfgtoollogs\emca\orcl\emca_repos_create_2012_10_15_23_15_38.log
Check if repos user already exists.
old 6: WHERE username=UPPER('&EM_REPOS_USER');
new 6: WHERE username=UPPER('SYSMAN');
old 8: IF ( '&EM_CHECK_TYPE' = 'EXISTS') THEN
new 8: IF ( 'NOT_EXISTS' = 'EXISTS') THEN
old 11: raise_application_error(-20000, '&EM_REPOS_USER does not exists..');
new 11: raise_application_error(-20000, 'SYSMAN does not exists..');
old 14: ELSIF ( '&EM_CHECK_TYPE' = 'NOT_EXISTS' ) THEN
new 14: ELSIF ( 'NOT_EXISTS' = 'NOT_EXISTS' ) THEN
old 17: raise_application_error(-20001, '&EM_REPOS_USER already exists..');
new 17: raise_application_error(-20001, 'SYSMAN already exists..');
old 21: raise_application_error(-20002, 'Invalid Check type &EM_CHECK_TYPE');
new 21: raise_application_error(-20002, 'Invalid Check type NOT_EXISTS');
DECLARE
*
ERROR at line 1:
ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
D:\oracle\cfgtoollogs\emca\orcl\emca_2012_10_15_23_12_37.log
配置: 未设置参数 ORACLE_HOSTNAME 的值。
2012-10-15 23:12:54 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: CONFIRMATION ANSWER value:
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: CONFIRMATION ANSWER value: 是
2012-10-15 23:15:36 oracle.sysman.emcp.EMConfig restoreOuiLoc
配置: Restoring oracle.installer.oui_loc to d:\oracle\product\11.2.0\dbhome_1\oui
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 LOG_FILE 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.EMConfig addEMCALogFile
配置: ORACLE_BASE :d:\oracle
2012-10-15 23:15:36 oracle.sysman.emcp.EMConfig restoreOuiLoc
配置: Restoring oracle.installer.oui_loc to d:\oracle\product\11.2.0\dbhome_1\oui
2012-10-15 23:15:36 oracle.sysman.emcp.EMConfig restoreOuiLoc
配置: Restoring oracle.installer.oui_loc to d:\oracle\product\11.2.0\dbhome_1\oui
2012-10-15 23:15:36 oracle.sysman.emcp.EMConfig perform
信息: 正在将此操作记录到 d:\oracle\cfgtoollogs\emca\orcl\emca_2012_10_15_23_12_37.log。
2012-10-15 23:15:36 oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
配置: isCRSInstalled: false
2012-10-15 23:15:36 oracle.sysman.emcp.EMConfig restoreOuiLoc
配置: Restoring oracle.installer.oui_loc to d:\oracle\product\11.2.0\dbhome_1\oui
2012-10-15 23:15:36 oracle.sysman.emcp.EMConfig restoreOuiLoc
配置: Restoring oracle.installer.oui_loc to d:\oracle\product\11.2.0\dbhome_1\oui
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: EM_HOME value: d:\oracle\product\11.2.0\dbhome_1
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setFlag
配置: Flag 'CHECK_CONFIG' set to true
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ASM_OH 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getHost
配置: Host having instnces running for database orcl : Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: REP_DB_RUNNING_HOST value: Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getRepDbPort
配置: Listener Port: 1521
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
配置: isLocalConnectionRequired: true
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
配置: isLocalConnectionRequired: true. Connecting to database instance locally.
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine connecting with SID: orcl, oracleHome: d:\oracle\product\11.2.0\dbhome_1, and user: SYS
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine created successfully and connected
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ASM_OH 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getHost
配置: Host having instnces running for database orcl : Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: REP_DB_RUNNING_HOST value: Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getRepDbPort
配置: Listener Port: 1521
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
配置: isLocalConnectionRequired: true
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
配置: isLocalConnectionRequired: true. Connecting to database instance locally.
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine connecting with SID: orcl, oracleHome: d:\oracle\product\11.2.0\dbhome_1, and user: DBSNMP
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine created successfully and connected
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 MODIFY_SID 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getHost
配置: Host having instnces running for database orcl : Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: REP_DB_RUNNING_HOST value: Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getRepDbPort
配置: Listener Port: 1521
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
配置: isLocalConnectionRequired: true
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
配置: isLocalConnectionRequired: true. Connecting to database instance locally.
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine connecting with SID: orcl, oracleHome: d:\oracle\product\11.2.0\dbhome_1, and user: SYS
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine created successfully and connected
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setFlag
配置: Flag 'asm_db' set to false
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 MODIFY_SID 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.DatabaseChecks getDbServiceName
配置: No service name available. Will try to set db_unique_name.db_domain
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getHost
配置: Host having instnces running for database orcl : Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: REP_DB_RUNNING_HOST value: Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getRepDbPort
配置: Listener Port: 1521
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
配置: isLocalConnectionRequired: true
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
配置: isLocalConnectionRequired: true. Connecting to database instance locally.
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine connecting with SID: orcl, oracleHome: d:\oracle\product\11.2.0\dbhome_1, and user: SYS
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine created successfully and connected
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: DB_UNIQUE_NAME value:
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 DB_UNIQUE_NAME 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.DatabaseChecks getDbUniqueName
配置: No Database unique name available. Will try to retrieve it from DB itself
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: DB_UNIQUE_NAME value: orcl
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 DB_DOMAIN 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.DatabaseChecks getDbDomain
配置: No db domain available. Will query db for db_domain parameter
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: DB_UNIQUE_NAME value: orcl
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: SERVICE_NAME value: orcl
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 MODIFY_SID 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 DBID 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.DatabaseChecks getDbid
配置: No dbid available. Will query db to extract it.
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getHost
配置: Host having instnces running for database orcl : Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: REP_DB_RUNNING_HOST value: Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getRepDbPort
配置: Listener Port: 1521
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
配置: isLocalConnectionRequired: true
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
配置: isLocalConnectionRequired: true. Connecting to database instance locally.
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine connecting with SID: orcl, oracleHome: d:\oracle\product\11.2.0\dbhome_1, and user: SYS
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine created successfully and connected
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: DBID value: 1321276814
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ORACLE_HOSTNAME 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ORACLE_HOSTNAME 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setFlag
配置: Flag 'db' set to true
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 MODIFY_SID 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.DatabaseChecks getDbServiceName
配置: No service name available. Will try to set db_unique_name.db_domain
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getHost
配置: Host having instnces running for database orcl : Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: REP_DB_RUNNING_HOST value: Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getRepDbPort
配置: Listener Port: 1521
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
配置: isLocalConnectionRequired: true
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
配置: isLocalConnectionRequired: true. Connecting to database instance locally.
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine connecting with SID: orcl, oracleHome: d:\oracle\product\11.2.0\dbhome_1, and user: SYS
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine created successfully and connected
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: DB_UNIQUE_NAME value:
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 DB_UNIQUE_NAME 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.DatabaseChecks getDbUniqueName
配置: No Database unique name available. Will try to retrieve it from DB itself
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: DB_UNIQUE_NAME value: orcl
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 DB_DOMAIN 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.DatabaseChecks getDbDomain
配置: No db domain available. Will query db for db_domain parameter
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: DB_UNIQUE_NAME value: orcl
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: SERVICE_NAME value: orcl
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 EMAIL_ADDRESS 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 MAIL_SERVER_NAME 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ORACLE_HOSTNAME 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getHost
配置: Host having instnces running for database orcl : Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: REP_DB_RUNNING_HOST value: Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getRepDbPort
配置: Listener Port: 1521
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
配置: isLocalConnectionRequired: true
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
配置: isLocalConnectionRequired: true. Connecting to database instance locally.
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine connecting with SID: orcl, oracleHome: d:\oracle\product\11.2.0\dbhome_1, and user: SYS
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine created successfully and connected
2012-10-15 23:15:36 oracle.sysman.emcp.EMDBPreConfig invoke
配置: Passed repository configuration check
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 MODIFY_SID 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 MODIFY_SID 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 GLOBAL_DB_UNIQUE_NAME 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
配置: No Global database unique name available. Will try to retrieve it from DB itself
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getHost
配置: Host having instnces running for database orcl : Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: REP_DB_RUNNING_HOST value: Ashin-PC
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getRepDbPort
配置: Listener Port: 1521
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
配置: isLocalConnectionRequired: true
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
配置: isLocalConnectionRequired: true. Connecting to database instance locally.
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine connecting with SID: orcl, oracleHome: d:\oracle\product\11.2.0\dbhome_1, and user: SYS
2012-10-15 23:15:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine created successfully and connected
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 DB_DOMAIN 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.DatabaseChecks getDbDomain
配置: No db domain available. Will query db for db_domain parameter
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: GLOBAL_DB_UNIQUE_NAME value: orcl
2012-10-15 23:15:36 oracle.sysman.emcp.util.FileUtil _copyFile
配置: 正在将文件 d:\oracle\product\11.2.0\dbhome_1\sysman\config\emd.properties 复制到 d:\oracle\product\11.2.0\dbhome_1\sysman\config\emd.properties.emca.tmp
2012-10-15 23:15:36 oracle.sysman.emcp.util.FileUtil backupFile
配置: 原始文件 d:\oracle\product\11.2.0\dbhome_1\sysman\config\emd.properties 已被复制到 d:\oracle\product\11.2.0\dbhome_1\sysman\config\emd.properties.emca.tmp
2012-10-15 23:15:36 oracle.sysman.emcp.util.FileUtil _copyFile
配置: 正在将文件 d:\oracle\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca 复制到 d:\oracle\product\11.2.0\dbhome_1\sysman\config\emoms.properties
2012-10-15 23:15:36 oracle.sysman.emcp.util.FileUtil backupFile
配置: 原始文件 d:\oracle\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca 已被复制到 d:\oracle\product\11.2.0\dbhome_1\sysman\config\emoms.properties
2012-10-15 23:15:36 oracle.sysman.emcp.util.FileUtil _copyFile
配置: 正在将文件 d:\oracle\product\11.2.0\dbhome_1\sysman\emd\targets.xml 复制到 d:\oracle\product\11.2.0\dbhome_1\sysman\emd\targets.xml.emca.tmp
2012-10-15 23:15:36 oracle.sysman.emcp.util.FileUtil backupFile
配置: 原始文件 d:\oracle\product\11.2.0\dbhome_1\sysman\emd\targets.xml 已被复制到 d:\oracle\product\11.2.0\dbhome_1\sysman\emd\targets.xml.emca.tmp
2012-10-15 23:15:36 oracle.sysman.emcp.util.ClusterUtil isHASInstalled
配置: isHAInstalled: false
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ORACLE_HOSTNAME 的值。
2012-10-15 23:15:36 oracle.sysman.emcp.util.ClusterUtil getLocalNode
配置: isLocalNodeDone: true localNode: null
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager setFlag
配置: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
2012-10-15 23:15:36 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ORACLE_HOSTNAME 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.util.ClusterUtil getLocalNode
配置: isLocalNodeDone: true localNode: null
2012-10-15 23:15:37 oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
配置: Sid: orcl Host: Ashin-PC Node: null OH: d:\oracle\product\11.2.0\dbhome_1 agentHome: null isCentral: false
2012-10-15 23:15:37 oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
配置: Sid: orcl Host: Ashin-PC Node: null OH: d:\oracle\product\11.2.0\dbhome_1 isDBC: true
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager setFlag
配置: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager setFlag
配置: Flag 'IS_DBCONTROL_CONFIGURED' set to true
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 DBCONTROL_HTTP_PORT 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 AGENT_PORT 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 RMI_PORT 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 JMS_PORT 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ORACLE_HOSTNAME 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.util.ClusterUtil getLocalNode
配置: isLocalNodeDone: true localNode: null
2012-10-15 23:15:37 oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
配置: Sid: orcl Host: Ashin-PC Node: null OH: d:\oracle\product\11.2.0\dbhome_1 isDBC: true
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ORACLE_HOSTNAME 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 PORTS_FILE 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.util.ClusterUtil getLocalNode
配置: isLocalNodeDone: true localNode: null
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 JMS_PORT_null 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 JMS_PORT 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 RMI_PORT_null 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 RMI_PORT 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 DBCONTROL_HTTP_PORT_null 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 DBCONTROL_HTTP_PORT 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 AGENT_PORT_null 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 AGENT_PORT 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.util.FileUtil getProperties
配置: 读取文件 d:\oracle\product\11.2.0\dbhome_1\install\staticports.ini 时出错
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager getConfiguredPorts
配置: d:\oracle\product\11.2.0\dbhome_1:Ashin-PC:null:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 AGENT_PORT_Ashin-PC 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: AGENT_PORT_Ashin-PC value: 3938
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 DBCONTROL_HTTP_PORT_Ashin-PC 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: DBCONTROL_HTTP_PORT_Ashin-PC value: 1158
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 JMS_PORT_Ashin-PC 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: JMS_PORT_Ashin-PC value: 5540
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 RMI_PORT_Ashin-PC 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: RMI_PORT_Ashin-PC value: 5520
2012-10-15 23:15:37 oracle.sysman.emcp.EMDBPreConfig getConfiguredPorts
配置: Configured ports for SID: orcl : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ORACLE_HOSTNAME 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 PORTS_FILE 的值。
2012-10-15 23:15:37 oracle.sysman.emcp.util.ClusterUtil getLocalNode
配置: isLocalNodeDone: true localNode: null
2012-10-15 23:15:37 oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
配置: Setting oracle.installer.oui_loc to d:\oracle\product\11.2.0\dbhome_1\oui
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Homes to scan for used ports: [d:\oracle\product\11.2.0\dbhome_1]
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Searching all DBConsole instances for used ports under ORACLE_HOME d:\oracle\product\11.2.0\dbhome_1
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Marking JMS port: null from d:\oracle\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Marking RMI port: null from d:\oracle\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Marking HTTP port: null from d:\oracle\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Marking JMS port: 5540 from d:\oracle\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole_Ashin-PC_orcl
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Marking RMI port: 5520 from d:\oracle\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole_Ashin-PC_orcl
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Marking HTTP port: 1158 from d:\oracle\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole_Ashin-PC_orcl
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Marking Agent port: 3938 from d:\oracle\product\11.2.0\dbhome_1\Ashin-PC_orcl\sysman\config\emd.properties
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager getAgentPort
配置: Cannot parse EMD_URL correctly. No port identified
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Marking Agent port: null from d:\oracle\product\11.2.0\dbhome_1\sysman\config\emd.properties
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager markAllUsedPorts
配置: Cannnot parse EMD_URL correctly. No port identified
2012-10-15 23:15:37 oracle.sysman.emcp.util.PortManager getFreePorts
配置: d:\oracle\product\11.2.0\dbhome_1:Ashin-PC:null
rcl:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
2012-10-15 23:15:37 oracle.sysman.emcp.EMDBPreConfig getFreePorts
配置: Ports assigned for Node: Ashin-PC : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
2012-10-15 23:15:37 oracle.sysman.emcp.util.DBControlUtil stopOMS
信息: 正在停止 Database Control (此操作可能需要一段时间)...
2012-10-15 23:15:37 oracle.sysman.emcp.util.PlatformInterface serviceCommand
配置: cmdType: 1
2012-10-15 23:15:37 oracle.sysman.emcp.util.PlatformInterface isPre112Home
配置: oracleHome: d:\oracle\product\11.2.0\dbhome_1 isPre112Home: false
2012-10-15 23:15:37 oracle.sysman.emcp.util.PlatformInterface serviceCommand
配置: Service does not exist
2012-10-15 23:15:37 oracle.sysman.emcp.util.ClusterUtil getLocalNode
配置: isLocalNodeDone: true localNode: null
2012-10-15 23:15:37 oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
配置: New Env List: [1830B7BD-F7A3-4C4D-989B-C004DE465EDE=b08:304d260, ALLUSERSPROFILE=C:\ProgramData, APPDATA=C:\Users\Ashin\AppData\Roaming, CLASSPATH=d:\oracle\product\11.2.0\dbhome_1\jlib\emca.jar;d:\oracle\product\11.2.0\dbhome_1\jlib\srvm.jar;d:\oracle\product\11.2.0\dbhome_1\jlib\srvmasm.jar;d:\oracle\product\11.2.0\dbhome_1\jlib\cvu.jar;d:\oracle\product\11.2.0\dbhome_1\jlib\emConfigInstall.jar;d:\oracle\product\11.2.0\dbhome_1\jlib\ldapjclnt11.jar;d:\oracle\product\11.2.0\dbhome_1\jlib\ldap.jar;d:\oracle\product\11.2.0\dbhome_1\jlib\share.jar;d:\oracle\product\11.2.0\dbhome_1\jlib\srvmhas.jar;d:\oracle\product\11.2.0\dbhome_1\jlib\netcfg.jar;d:\oracle\product\11.2.0\dbhome_1\jlib\http_client.jar;d:\oracle\product\11.2.0\dbhome_1\lib\http_client.jar;d:\oracle\product\11.2.0\dbhome_1\lib\xmlparserv2.jar;d:\oracle\product\11.2.0\dbhome_1\assistants\jlib\assistantsCommon.jar;d:\oracle\product\11.2.0\dbhome_1\sysman\jlib\emCORE.jar;d:\oracle\product\11.2.0\dbhome_1\sysman\jlib\emagentSDK.jar;d:\oracle\product\11.2.0\dbhome_1\oui\jlib\OraInstaller.jar;d:\oracle\product\11.2.0\dbhome_1\oui\jlib\OraPrereq.jar;d:\oracle\product\11.2.0\dbhome_1\inventory\prereqs\oui\OraPrereqChecks.jar;d:\oracle\product\11.2.0\dbhome_1\oui\jlib\OraPrereqChecks.jar;, COMMONPROGRAMFILES=C:\Program Files\Common Files, COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files, COMMONPROGRAMW6432=C:\Program Files\Common Files, COMPUTERNAME=ASHIN-PC, COMSPEC=C:\Windows\system32\cmd.exe, EMCA_JAR=d:\oracle\product\11.2.0\dbhome_1\jlib\emca.jar, EMDROOT=d:\oracle\product\11.2.0\dbhome_1, FP_NO_HOST_CHECK=NO, HOMEDRIVE=C:, HOMEPATH=\Users\Ashin, JAVA_HOME=D:\Program Files\Java\jdk1.7.0_06, JRE_JAVA=d:\oracle\product\11.2.0\dbhome_1\jdk\jre\bin\java, LD_LIBRARY_PATH=d:\oracle\product\11.2.0\dbhome_1\lib32;d:\oracle\product\11.2.0\dbhome_1\lib;d:\oracle\product\11.2.0\dbhome_1\perl\lib;null, LIB_DIR=d:\oracle\product\11.2.0\dbhome_1\jlib, LOCALAPPDATA=C:\Users\Ashin\AppData\Local, LOGONSERVER=\\ASHIN-PC, NLS_LANG=AMERICAN_AMERICA.ZHS16GBK, NUMBER_OF_PROCESSORS=4, OH=d:\oracle\product\11.2.0\dbhome_1, OS=Windows_NT, PATH=d:\oracle\product\11.2.0\dbhome_1\bin;d:\oracle\product\11.2.0\dbhome_1\jdk\jre\bin\server;d:\oracle\product\11.2.0\dbhome_1\bin;d:\oracle\product\11.2.0\client_1;d:\oracle\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;D:\Program Files\TortoiseSVN\bin, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PERL5LIB=d:\oracle\product\11.2.0\dbhome_1\sysman\admin\scripts;d:\oracle\product\11.2.0\dbhome_1\bin;, PROCESSOR_ARCHITECTURE=AMD64, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 5, GenuineIntel, PROCESSOR_LEVEL=6, PROCESSOR_REVISION=2505, PROGRAMDATA=C:\ProgramData, PROGRAMFILES=C:\Program Files, PROGRAMFILES(X86)=C:\Program Files (x86), PROGRAMW6432=C:\Program Files, PROMPT=$P$G, PSMODULEPATH=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, PUBLIC=C:\Users\Public, SESSIONNAME=Console, SYSTEMDRIVE=C:, SYSTEMROOT=C:\Windows, TEMP=C:\Users\Ashin\AppData\Local\Temp, TMP=C:\Users\Ashin\AppData\Local\Temp, TNS_ADMIN=D:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN, USERDOMAIN=Ashin-PC, USERNAME=Ashin, USERPROFILE=C:\Users\Ashin, WINDIR=C:\Windows]
2012-10-15 23:15:37 oracle.sysman.emcp.util.PlatformInterface executeCommand
配置: 开始执行: d:/oracle/product/11.2.0/dbhome_1/perl/bin\perl.exe d:\oracle\product\11.2.0\dbhome_1\sysman\admin\scripts\db\sgastop.pl stop orcl Ashin-PC 1521 d:\oracle\product\11.2.0\dbhome_1
2012-10-15 23:15:38 oracle.sysman.emcp.util.PlatformInterface executeCommand
配置: Exit value of 0
2012-10-15 23:15:38 oracle.sysman.emcp.util.PlatformInterface executeCommand
配置: 已成功执行 d:/oracle/product/11.2.0/dbhome_1/perl/bin\perl.exe d:\oracle\product\11.2.0\dbhome_1\sysman\admin\scripts\db\sgastop.pl stop orcl Ashin-PC 1521 d:\oracle\product\11.2.0\dbhome_1
2012-10-15 23:15:38 oracle.sysman.emcp.util.PlatformInterface executeCommand
配置: nmccollector process does not exist
2012-10-15 23:15:38 oracle.sysman.emcp.util.DBControlUtil stopNmccollector
配置: Successfully stopped nmc-collector process
2012-10-15 23:15:38 oracle.sysman.emcp.util.PlatformInterface serviceCommand
配置: cmdType: 2
2012-10-15 23:15:38 oracle.sysman.emcp.util.PlatformInterface isPre112Home
配置: oracleHome: d:\oracle\product\11.2.0\dbhome_1 isPre112Home: false
2012-10-15 23:15:38 oracle.sysman.emcp.util.PlatformInterface serviceCommand
配置: Service does not exist
2012-10-15 23:15:38 oracle.sysman.emcp.ParamsManager getParam
配置: 未设置参数 ORACLE_HOSTNAME 的值。
2012-10-15 23:15:38 oracle.sysman.emcp.util.ClusterUtil getLocalNode
配置: isLocalNodeDone: true localNode: null
2012-10-15 23:15:38 oracle.sysman.emcp.EMDBPreConfig copyAgentTimeStampFile
配置: Copying file: d:\oracle\product\11.2.0\dbhome_1\Ashin-PC_orcl\sysman\emd\agntstmp.txt to d:\oracle\product\11.2.0\dbhome_1\sysman\emd\agntstmp.txt.orcl
2012-10-15 23:15:38 oracle.sysman.emcp.util.FileUtil _copyFile
配置: 正在将文件 d:\oracle\product\11.2.0\dbhome_1\Ashin-PC_orcl\sysman\emd\agntstmp.txt 复制到 d:\oracle\product\11.2.0\dbhome_1\sysman\emd\agntstmp.txt.orcl
2012-10-15 23:15:38 oracle.sysman.emcp.EMDBPreConfig copyAgentTimeStampFile
配置: File copied successfully.
2012-10-15 23:15:38 oracle.sysman.emcp.ParamsManager getHost
配置: Host having instnces running for database orcl : Ashin-PC
2012-10-15 23:15:38 oracle.sysman.emcp.ParamsManager setParam
配置: Setting param: REP_DB_RUNNING_HOST value: Ashin-PC
2012-10-15 23:15:38 oracle.sysman.emcp.ParamsManager getRepDbPort
配置: Listener Port: 1521
2012-10-15 23:15:38 oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
配置: isLocalConnectionRequired: true
2012-10-15 23:15:38 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
配置: isLocalConnectionRequired: true. Connecting to database instance locally.
2012-10-15 23:15:38 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine connecting with SID: orcl, oracleHome: d:\oracle\product\11.2.0\dbhome_1, and user: SYS
2012-10-15 23:15:38 oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
配置: SQLEngine created successfully and connected
2012-10-15 23:15:38 oracle.sysman.emcp.EMReposConfig createRepository
配置: Spooling to d:\oracle\cfgtoollogs\emca\orcl\emca_repos_create_2012_10_15_23_15_38.log
2012-10-15 23:15:38 oracle.sysman.emcp.EMReposConfig createRepository
信息: 正在创建 EM 资料档案库 (此操作可能需要一段时间)...
2012-10-15 23:15:38 oracle.sysman.emcp.EMReposConfig createRepository
配置: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:1005)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:339)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:380)
at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:511)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:229)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
2012-10-15 23:15:38 oracle.sysman.emcp.EMReposConfig invoke
严重: 创建资料档案库时出错
2012-10-15 23:15:38 oracle.sysman.emcp.EMReposConfig invoke
信息: 有关详细资料, 请参阅 d:\oracle\cfgtoollogs\emca\orcl\emca_repos_create_.log 中的日志文件。
2012-10-15 23:15:38 oracle.sysman.emcp.EMConfig perform
严重: 创建资料档案库时出错
有关详细资料, 请参阅 d:\oracle\cfgtoollogs\emca\orcl\emca_2012_10_15_23_12_37.log 中的日志文件。
2012-10-15 23:15:38 oracle.sysman.emcp.EMConfig perform
配置: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: 创建资料档案库时出错
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:241)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
2012-10-15 23:15:38 oracle.sysman.emcp.EMConfig restoreOuiLoc
配置: Restoring oracle.installer.oui_loc to d:\oracle\product\11.2.0\dbhome_1\oui