Home » RDBMS Server » Enterprise Manager » Error in creating Enterprise manager repository (Suse 9, Oracle 10.2.0.1)
Error in creating Enterprise manager repository [message #390666] Mon, 09 March 2009 04:05 Go to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
oracle@oracle:~> emca -config dbcontrol db -repos create

STARTED EMCA at Mar 8, 2009 9:38:46 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID: ora01
Listener port number: 1521
Password for SYS user:
Password for DBSNMP 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 ................ /home/oracle/product/10gR2

Database hostname ................ srv603484.adpepper.com
Listener port number ................ 1521
Database SID ................ ora01
Email address for notifications ............... abhoite@cybage.com
Outgoing Mail (SMTP) server for notifications ............... www.cyabge.com


--------------------------------------------------------------------------------
Do you wish to continue? yes(Y)/no(N): Y
Mar 8, 2009 9:39:23 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /home/oracle/product/10gR2/cfgtoollogs/emca/ora01/emca_2009-03-08_09-38-46-PM.log.
Mar 8, 2009 9:39:24 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Mar 8, 2009 9:41:39 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Mar 8, 2009 9:41:43 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...

Mar 8, 2009 9:48:24 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /home/oracle/product/10gR2/bin/emctl start dbconsole
Mar 8, 2009 9:48:24 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /home/oracle/product/10gR2/cfgtoollogs/emca/ora01/emca_2009-03-08_09-38-46-PM.log for more details.
Could not complete the configuration. Refer to the log file at /home/oracle/product/10gR2/cfgtoollogs/emca/ora01/emca_2009-03-08_09-38-46-PM.log for more details.

oracle@oracle:~> emctl start dbconsole
TZ set to US/Pacific
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://**********:5500/em/console/aboutApplication

Timezone mismatch: The agentTZRegion value (US/Pacific) in
/home/oracle/product/10gR2/**********8_ora01/sysman/config/emd.properties
does not match the current environment TZ setting(US/Pacific).
The dbconsole cannot run with this mismatch.

If US/Pacific is the correct timezone, set your timezone environment variable to US/Pacific and repeat the 'emctl start dbconsole' operation.

If US/Pacific is not the correct timezone, make sure that the timezone in your environment is correct, and then run the following command in your local Oracle Home: 'emctl resetTZ agent'

The output of this command will include detailed instructions to follow, to correct the mismatch.

oracle@oracle:~> emctl config agent getTZ
TZ set to US/Pacific
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
US/Pacific

oracle@oracle:~> tail /home/oracle/product/10gR2/******888_ora01/sysman/config/emd.properties

Timeout value for reading Http primary header, default is 30 seconds.
httpTimeoutPrimaryHeader=30

# Timeout value for reading http secondary headers, default is 30 seconds
httpTimeoutSecondaryHeaders=30

# Timeout value for reading http body, default is 60 seconds.
httpTimeoutBody=60
omsRecvDir=/home/oracle/product/10gR2/********_ora01/sysman/recv
agentTZRegion=US/Pacific



What needs to done?

[Updated on: Mon, 09 March 2009 04:08]

Report message to a moderator

Re: Error in creating Enterprise manager repository [message #390683 is a reply to message #390666] Mon, 09 March 2009 04:44 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member


>>/home/oracle/product/10gR2/cfgtoollogs/emca/ora01/emca_2009-03-08_09-38-46-PM.log

Post log file details.
Re: Error in creating Enterprise manager repository [message #390695 is a reply to message #390666] Mon, 09 March 2009 05:26 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
last lines
ar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oraInst.loc to /home/oracle/product/10gR2/srv603484.adpepper.com_ora01/oraInst.loc
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
CONFIG: Successfully deployed state dirs for srv603484.adpepper.com
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.EMAgentConfig performConfiguration
CONFIG: Successfully updated agent config files
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/config/emd.properties.emca.tmp to /home/oracle/product/10gR2/sysman/config/emd.properties
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/sysman/config/emd.properties.emca.tmp has been copied to /home/oracle/product/10gR2/sysman/config/emd.properties
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/emd/targets.xml.emca.tmp to /home/oracle/product/10gR2/sysman/emd/targets.xml
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/sysman/emd/targets.xml.emca.tmp has been copied to /home/oracle/product/10gR2/sysman/emd/targets.xml
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: Updating file /home/oracle/product/10gR2/install/portlist.ini ...
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/install/portlist.ini to /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/install/portlist.ini has been copied to /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: Writing the selected ports to a tmp file
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp to /home/oracle/product/10gR2/install/portlist.ini
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: File /home/oracle/product/10gR2/install/portlist.ini is successfully updated
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: Updating file /home/oracle/product/10gR2/install/portlist.ini ...
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/install/portlist.ini to /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/install/portlist.ini has been copied to /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: Writing the selected ports to a tmp file
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp to /home/oracle/product/10gR2/install/portlist.ini
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: File /home/oracle/product/10gR2/install/portlist.ini is successfully updated
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [DISPLAY=localhost:10.0, NEED_EXIT_CODE=1, ORACLE_SID=ora01, PATH=/home/oracle/product/10gR2/bin:/home/oracle/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/home/oracle/bin:/home/oracle/product/10gR2/bin:/home/oracle/bin, TZ=]
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /home/oracle/product/10gR2/bin/emctl start dbconsole 


What changes needs to be done?
Re: Error in creating Enterprise manager repository [message #390699 is a reply to message #390695] Mon, 09 March 2009 05:48 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member


I think you many need post entire log details.

Babu
Re: Error in creating Enterprise manager repository [message #390701 is a reply to message #390699] Mon, 09 March 2009 05:51 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
Mar 9, 2009 2:17:38 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-config' set to true
Mar 9, 2009 2:17:38 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'UPDATE_EMAIL' set to true
Mar 9, 2009 2:17:38 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'dbcontrol' set to true
Mar 9, 2009 2:17:38 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Mar 9, 2009 2:17:38 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'create' set to true
Mar 9, 2009 2:17:38 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: /home/oracle/product/10gR2
Mar 9, 2009 2:17:38 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:17:38 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: /home/oracle/product/10gR2
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: ora01
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: This is expected, as we might be calling it from a non-rac home
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Error retrieving the local node for the cluster
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: PRKH-1010 : Unable to communicate with CRS services.
  [OCR Error(Native: prsr_initCLSS:[21])]
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Cluster Error Message: PRKH-1010 : Unable to communicate with CRS services.
  [OCR Error(Native: prsr_initCLSS:[21])]
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: ora01 Host: ********** Node: null OH: /home/oracle/product/10gR2 isDBC: false
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: ora01 Host: ********** Node: null OH: /home/oracle/product/10gR2 agentHome: null isCentral: false
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: ora01 Host: ********** Node: null OH: /home/oracle/product/10gR2 agentHome: null isCentral: false
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: 
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 9, 2009 2:17:40 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 9, 2009 2:17:43 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1521
Mar 9, 2009 2:17:45 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Mar 9, 2009 2:17:45 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:17:45 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:48 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: DBSNMP
Mar 9, 2009 2:17:48 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:52 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EMAIL_ADDRESS value: 
Mar 9, 2009 2:17:56 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: MAIL_SERVER_NAME value: 
Mar 9, 2009 2:17:56 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:17:56 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: 
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LOG_FILE.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: ora01
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /home/oracle/product/10gR2/cfgtoollogs/emca/ora01/emca_2009-03-09_02-17-38-AM.log.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: DBSNMP
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: 
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: ora01
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: ora01
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: ora01
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 723948253
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: 
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: ora01
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: ora01
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: ora01
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter EMAIL_ADDRESS.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: ora01
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/config/emd.properties to /home/oracle/product/10gR2/sysman/config/emd.properties.emca.tmp
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/sysman/config/emd.properties has been copied to /home/oracle/product/10gR2/sysman/config/emd.properties.emca.tmp
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/config/emoms.properties.emca to /home/oracle/product/10gR2/sysman/config/emoms.properties
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/sysman/config/emoms.properties.emca has been copied to /home/oracle/product/10gR2/sysman/config/emoms.properties
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/emd/targets.xml to /home/oracle/product/10gR2/sysman/emd/targets.xml.emca.tmp
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/sysman/emd/targets.xml has been copied to /home/oracle/product/10gR2/sysman/emd/targets.xml.emca.tmp
Mar 9, 2009 2:17:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: ora01 Host: ********** Node: null OH: /home/oracle/product/10gR2 agentHome: null isCentral: false
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: ora01 Host: ********** Node: null OH: /home/oracle/product/10gR2 isDBC: false
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: ora01 Host: ********** Node: null OH: /home/oracle/product/10gR2 isDBC: false
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORTS_FILE.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_ora01.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_ora01.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_ora01.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_ora01.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to /home/oracle/product/10gR2/oui
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to /home/oracle/product/10gR2/oui
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Homes to scan for used ports: [/home/oracle/product/10gR2]
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /home/oracle/product/10gR2
Mar 9, 2009 2:17:59 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: null from /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: null from /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: null from /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: 5540 from /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_orcl
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: 5520 from /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_orcl
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: 1158 from /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_orcl
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: 3938 from /home/oracle/product/10gR2/**********_orcl/sysman/config/emd.properties
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.PortManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: null from /home/oracle/product/10gR2/sysman/config/emd.properties
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file /home/oracle/product/10gR2/install/staticports.ini
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.PortManager getFreePorts
CONFIG: /home/oracle/product/10gR2:**********:null:ora01:{}:null:{DBCONTROL_HTTP_PORT=5500, RMI_PORT=5521, JMS_PORT=5541, AGENT_PORT=1830}
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_ora01.
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: AGENT_PORT_ora01 value: 1830
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_ora01.
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBCONTROL_HTTP_PORT_ora01 value: 5500
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_ora01.
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: JMS_PORT_ora01 value: 5541
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_ora01.
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: RMI_PORT_ora01 value: 5521
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.EMDBPreConfig getFreePorts
CONFIG: Ports assigned for SID: ora01 : {DBCONTROL_HTTP_PORT=5500, RMI_PORT=5521, JMS_PORT=5541, AGENT_PORT=1830}
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to /home/oracle/product/10gR2/cfgtoollogs/emca/ora01/emca_repos_create_2009-03-09_02-18-00-AM.log
Mar 9, 2009 2:18:00 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully granted priviliges to dbsnmp.
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter EMAIL_ADDRESS.
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYS
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:20:18 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocking dbsnmp and sysman
Mar 9, 2009 2:20:19 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocked mgmt_view account
Mar 9, 2009 2:20:19 AM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully unlocked relevant accounts
Mar 9, 2009 2:20:19 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: ora01, oracleHome: /home/oracle/product/10gR2, and user: SYSMAN
Mar 9, 2009 2:20:19 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
CONFIG: Finished executing emreposoutofbox.sql
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.EMDBCConfig updateEmomsProps
CONFIG: Updating file /home/oracle/product/10gR2/sysman/config/emoms.properties ...
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/config/emoms.properties.emca to /home/oracle/product/10gR2/sysman/config/emoms.properties
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/config/emoms.properties.emca.util.tmp to /home/oracle/product/10gR2/sysman/config/emoms.properties
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/server.xml.emca.util.tmp to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/server.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
CONFIG: Copying OC4J config files from /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
CONFIG: Create directory /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/application.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/application.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/data-sources.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/data-sources.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/global-web-application.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/global-web-application.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/http-web-site.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/internal-settings.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/internal-settings.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/java2.policy to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/java2.policy
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/jazn-data.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/jazn-data.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/jazn.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/jazn.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/jms.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/jms.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/mime.types to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/mime.types
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/oc4j-connectors.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/oc4j-connectors.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/principals.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/principals.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/rmi.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/config/server.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/server.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
CONFIG: Create directory /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/META-INF
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/META-INF/MANIFEST.MF to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/META-INF/MANIFEST.MF
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
CONFIG: Create directory /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/application-deployments/default/defaultWebApp
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole/application-deployments/default/defaultWebApp/orion-web.xml to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/application-deployments/default/defaultWebApp/orion-web.xml
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
CONFIG: Finished copying OC4J config files
Mar 9, 2009 2:20:20 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/jms.xml.emca.util.tmp to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/jms.xml
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/rmi.xml.emca.util.tmp to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/rmi.xml
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/http-web-site.xml.emca.util.tmp to /home/oracle/product/10gR2/oc4j/j2ee/OC4J_DBConsole_**********_ora01/config/http-web-site.xml
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter EMAIL_ADDRESS.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.EMAgentConfig updateEmdProps
CONFIG: Updating file /home/oracle/product/10gR2/sysman/config/emd.properties ...
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/config/emd.properties.emca to /home/oracle/product/10gR2/sysman/config/emd.properties
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/config/emd.properties.emca.util.tmp to /home/oracle/product/10gR2/sysman/config/emd.properties
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
CONFIG: Updating file /home/oracle/product/10gR2/sysman/config/emd.properties ...
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER_OH.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getListenerHome
CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER_OH.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getListenerHome
CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER_OH.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getListenerHome
CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getLocalListener
CONFIG: Found listener named: LISTENER
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
CONFIG: Updating file /home/oracle/product/10gR2/sysman/emd/targets.xml ...
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
CONFIG: Local host name: **********
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [DISPLAY=localhost:10.0, NEED_EXIT_CODE=1, ORACLE_SID=ora01, PATH=/home/oracle/product/10gR2/bin:/home/oracle/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/home/oracle/bin:/home/oracle/product/10gR2/bin:/home/oracle/bin, TZ=]
Mar 9, 2009 2:20:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /home/oracle/product/10gR2/bin/emctl deploy dbconsole /home/oracle/product/10gR2/**********_ora01 **********:1830 ********** ora01 
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /home/oracle/product/10gR2/bin/emctl deploy dbconsole /home/oracle/product/10gR2/**********_ora01 **********:1830 ********** ora01  completed successfully
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Pacific
Creating shared install...
Source location: /home/oracle/product/10gR2
Destination (shared install) : /home/oracle/product/10gR2/**********_ora01
DeployMode : dbconsole

Creating directories...
Setting console properties ... 
Setting log and trace files locations for Console ... 
Setting log and trace files locations for Agent ... 

Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/**********_ora01/sysman/config/emoms.properties.emca.util.tmp to /home/oracle/product/10gR2/**********_ora01/sysman/config/emoms.properties
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/**********_ora01/sysman/config/emd.properties.emca.util.tmp to /home/oracle/product/10gR2/**********_ora01/sysman/config/emd.properties
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/**********_ora01/sysman/config/emd.properties.emca.util.tmp to /home/oracle/product/10gR2/**********_ora01/sysman/config/emd.properties
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [LD_LIBRARY_PATH=/home/oracle/product/10gR2/lib32:/home/oracle/product/10gR2/lib:/home/oracle/product/10gR2/perl/lib:null, PERL5LIB=/home/oracle/product/10gR2/perl/lib:/home/oracle/product/10gR2/perl/lib/site_perl:/home/oracle/product/10gR2/sysman/admin/scripts:/home/oracle/product/10gR2/bin:]
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /home/oracle/product/10gR2/perl/bin/perl /home/oracle/product/10gR2/bin/targetdeploy.pl /home/oracle/product/10gR2/**********_ora01 ********** ora01 
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /home/oracle/product/10gR2/perl/bin/perl /home/oracle/product/10gR2/bin/targetdeploy.pl /home/oracle/product/10gR2/**********_ora01 ********** ora01  completed successfully
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Creating targets.xml in state directories...
Source location: /home/oracle/product/10gR2
Destination : /home/oracle/product/10gR2/**********_ora01

Creating directories...
Creating targets.xml...
Done.

Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/oraInst.loc to /home/oracle/product/10gR2/**********_ora01/oraInst.loc
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
CONFIG: Successfully deployed state dirs for **********
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.EMAgentConfig performConfiguration
CONFIG: Successfully updated agent config files
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/config/emd.properties.emca.tmp to /home/oracle/product/10gR2/sysman/config/emd.properties
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/sysman/config/emd.properties.emca.tmp has been copied to /home/oracle/product/10gR2/sysman/config/emd.properties
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/sysman/emd/targets.xml.emca.tmp to /home/oracle/product/10gR2/sysman/emd/targets.xml
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/sysman/emd/targets.xml.emca.tmp has been copied to /home/oracle/product/10gR2/sysman/emd/targets.xml
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: Updating file /home/oracle/product/10gR2/install/portlist.ini ...
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/install/portlist.ini to /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/install/portlist.ini has been copied to /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: Writing the selected ports to a tmp file
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp to /home/oracle/product/10gR2/install/portlist.ini
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: File /home/oracle/product/10gR2/install/portlist.ini is successfully updated
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: Updating file /home/oracle/product/10gR2/install/portlist.ini ...
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/install/portlist.ini to /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /home/oracle/product/10gR2/install/portlist.ini has been copied to /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: Writing the selected ports to a tmp file
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /home/oracle/product/10gR2/install/portlist.ini.emca.util.tmp to /home/oracle/product/10gR2/install/portlist.ini
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: File /home/oracle/product/10gR2/install/portlist.ini is successfully updated
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [DISPLAY=localhost:10.0, NEED_EXIT_CODE=1, ORACLE_SID=ora01, PATH=/home/oracle/product/10gR2/bin:/home/oracle/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/home/oracle/bin:/home/oracle/product/10gR2/bin:/home/oracle/bin, TZ=]
Mar 9, 2009 2:20:22 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /home/oracle/product/10gR2/bin/emctl start dbconsole 
Mar 9, 2009 2:27:09 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Mar 9, 2009 2:27:09 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Pacific
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://**********:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed. 
------------------------------------------------------------------
Logs are generated in directory /home/oracle/product/10gR2/**********_ora01/sysman/log 

Mar 9, 2009 2:27:09 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /home/oracle/product/10gR2/bin/emctl start dbconsole 
Mar 9, 2009 2:27:09 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /home/oracle/product/10gR2/cfgtoollogs/emca/ora01/emca_2009-03-09_02-17-38-AM.log for more details.
Mar 9, 2009 2:27:09 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace: 
oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
	at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:565)
	at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:177)
	at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:146)
	at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
	at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
	at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
	at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
	at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)

[Updated on: Mon, 09 March 2009 05:52]

Report message to a moderator

Re: Error in creating Enterprise manager repository [message #390704 is a reply to message #390701] Mon, 09 March 2009 05:56 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member

Quote:
SEVERE: Error starting Database Control
Refer to the log file at /home/oracle/product/10gR2/cfgtoollogs/emca/ora01/emca_2009-03-09_02-17-38-AM.log for more details.


>>/home/oracle/product/10gR2/cfgtoollogs/emca/ora01/emca_2009-03-09_02-17-38-AM.log

Post this details..
Re: Error in creating Enterprise manager repository [message #390705 is a reply to message #390666] Mon, 09 March 2009 06:09 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
That is the same file i am posting.
I think the problem is with timzone.
I checked all things but could not able to resolve it.

oracle@oracle:~> emctl start dbconsole
TZ set to US/Pacific
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://**********:5500/em/console/aboutApplication

Timezone mismatch: The agentTZRegion value (US/Pacific) in
/home/oracle/product/10gR2/**********8_ora01/sysman/config/emd.properties
does not match the current environment TZ setting(US/Pacific).
The dbconsole cannot run with this mismatch.

If US/Pacific is the correct timezone, set your timezone environment variable to US/Pacific and repeat the 'emctl start dbconsole' operation.

If US/Pacific is not the correct timezone, make sure that the timezone in your environment is correct, and then run the following command in your local Oracle Home: 'emctl resetTZ agent'

The output of this command will include detailed instructions to follow, to correct the mismatch.


Re: Error in creating Enterprise manager repository [message #390712 is a reply to message #390705] Mon, 09 March 2009 07:02 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member

http://download.oracle.com/docs/cd/B19306_01/em.102/b40002/postinstall_config.htm#CBDEFCGB

Babu
Re: Error in creating Enterprise manager repository [message #390716 is a reply to message #390666] Mon, 09 March 2009 07:32 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
SQL> exec mgmt_target.set_agent_tzrgn(*****:1830','US/Pacific');
BEGIN mgmt_target.set_agent_tzrgn('******:1830','US/Pacific'); END;

*
ERROR at line 1:
ORA-20233: Invalid agent name 10.10.70.73:1830
ORA-06512: at "SYSMAN.MGMT_TARGET", line 3683
ORA-06512: at line 1


How i can get the agent name?
What could be the reason behind it?
Re: Error in creating Enterprise manager repository [message #390719 is a reply to message #390716] Mon, 09 March 2009 07:43 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member


Try using HostName

Babu
Re: Error in creating Enterprise manager repository [message #390722 is a reply to message #390666] Mon, 09 March 2009 07:55 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
Regarding this i tried each and every parameter still do not get any success Sad

I need help very urgently
Re: Error in creating Enterprise manager repository [message #390724 is a reply to message #390722] Mon, 09 March 2009 07:58 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member

Okay

Try This Metalink Doc ID: 388280.1
Re: Error in creating Enterprise manager repository [message #390733 is a reply to message #390724] Mon, 09 March 2009 08:29 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
As note says.

To execute the mgmt_target.set_agent_tzrgn procedure, there should be a target of type 'oracle_emd' in this table.

SELECT target_name, target_type FROM sysman.mgmt_targets; 

target_name------------------------- target_type 
---------------------------------------------------
Management Services and Repository | oracle_emrep


But 'oracle_emd' doesnt exists?

Re: Error in creating Enterprise manager repository [message #390734 is a reply to message #390733] Mon, 09 March 2009 08:42 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member

Yes your correct. So; target_type is not retrun oracle_emd; Then as per document id check solution..

Babu
Re: Error in creating Enterprise manager repository [message #390735 is a reply to message #390666] Mon, 09 March 2009 08:51 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
oracle@globase-oracle:~/product/10gR2/bin> export ORACLE_HOME=$ORACLE_BASE/10gR2
oracle@globase-oracle:~/product/10gR2/bin> export ORACLE_SID=ora01
oracle@globase-oracle:~/product/10gR2/bin> export EMDROOT=$ORACLE_HOME
oracle@globase-oracle:~/product/10gR2/bin> export EMSTATE=$ORACLE_HOME
oracle@globase-oracle:~/product/10gR2/bin> cd $ORACLE_HOME/bin
oracle@globase-oracle:~/product/10gR2/bin> emctl resetTZ agent
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Updating /home/oracle/product/10gR2/sysman/config/emd.properties...
resetTZ failed.
The agentTZRegion in:
/home/oracle/product/10gR2/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:
/home/oracle/product/10gR2/sysman/admin/supportedtzs.lst
oracle@globase-oracle:~/product/10gR2/bin>


The 1 step in that document failed Sad
Re: Error in creating Enterprise manager repository [message #390751 is a reply to message #390735] Mon, 09 March 2009 11:04 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member


after export check your PATH is correct or not.


Re: Error in creating Enterprise manager repository [message #390854 is a reply to message #390666] Tue, 10 March 2009 01:18 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
Still i have the same problem. I tried in every way but do not find any solution.

Your help is really appriciable.
Thanks,
Re: Error in creating Enterprise manager repository [message #390898 is a reply to message #390854] Tue, 10 March 2009 03:59 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member

Quote:
oracle@globase-oracle:~/product/10gR2/bin> export ORACLE_HOME=$ORACLE_BASE/10gR2
oracle@globase-oracle:~/product/10gR2/bin> export ORACLE_SID=ora01
oracle@globase-oracle:~/product/10gR2/bin> export EMDROOT=$ORACLE_HOME
oracle@globase-oracle:~/product/10gR2/bin> export EMSTATE=$ORACLE_HOME
oracle@globase-oracle:~/product/10gR2/bin> cd $ORACLE_HOME/bin



Post your all path.
Re: Error in creating Enterprise manager repository [message #390899 is a reply to message #390666] Tue, 10 March 2009 04:06 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
oracle@oracle:~>  export ORACLE_HOME=$ORACLE_BASE/10gR2
oracle@oracle:~> echo $ORACLE_HOME
/home/oracle/product/10gR2

oracle@oracle:~> export ORACLE_SID=ora01
oracle@oracle:~> echo $ORACLE_SID
ora01

oracle@oracle:~> export EMDROOT=$ORACLE_HOME
oracle@oracle:~>  echo $EMDROOT
/home/oracle/product/10gR2

oracle@oracle:~> export EMSTATE=$ORACLE_HOME
oracle@oracle:~>  echo $EMSTATE
/home/oracle/product/10gR2

oracle@oracle:~> cd $ORACLE_HOME/bin
oracle@oracle:~/product/10gR2/bin> pwd
/home/oracle/product/10gR2/bin


Please le me know if any other information is required.
Re: Error in creating Enterprise manager repository [message #390904 is a reply to message #390899] Tue, 10 March 2009 04:20 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member


Post the emd.properties file details.
Re: Error in creating Enterprise manager repository [message #390910 is a reply to message #390666] Tue, 10 March 2009 04:44 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
/home/oracle/product/10gR2/sysman/config/emd.properties
#
#  perl executable directory  
#
perlBin=/home/oracle/product/10gR2/perl/bin

#
# script directory
#
scriptsDir=/home/oracle/product/10gR2/sysman/admin/scripts

#
#   emd Root directory(read-only location). Metrics should not create files
#   under this directory
#
emdRoot=/home/oracle/product/10gR2

#
#   agent Root directory(writeable).
#   Use this property to base any temporary file creation.
#
agentStateDir=/home/oracle/product/10gR2

#
#  Chronos root directory
#
chronosRoot=/home/oracle/product/10gR2/sysman/emd/chronos

#
#  OMS Upload URL
#
#  if there is no receiving OMS or if you wish to disable the UploadManager
#  please set this value to empty or comment out below line 
#
REPOSITORY_URL=http://******:4889/em/upload/

#
# Proxy settings used for fetchlets. not applicable for uploader.
#
#proxyHost=www-proxy.us.oracle.com
#proxyPort=80
#dontProxyFor=.us.oracle.com

#
# If it is necessary to go through an http proxy server to get to the
# repository, uncomment the following two lines
#
#REPOSITORY_PROXYHOST=
#REPOSITORY_PROXYPORT=
#REPOSITORY_PROXYREALM=%EM_REPOS_PROXYREALM%
#REPOSITORY_PROXYUSER=%EM_REPOS_PROXYUSER%
#REPOSITORY_PROXYPWD=%EM_REPOS_PROXYPWD%

#
# This string is used by the agent to connect to remote targets
# ***IMPORTANT*** Do not change the contents of this setting. Only the
# install should modify this value.
#
agentSeed=734207712

#
# This string is used by the agent to determine which algorithm to use for encrypted data
# The string value will be same as the release version
#
agentVersion=10.1.0.4.0

#
#  How long, in minutes, collector will wait until next load.
#
UploadInterval=5

#
# If an upload fails, we want to backoff by UploadFailBackoff
# percentage more each time for each successive upload failure
# e.g.  if we start the retry at 1 minute.  If we fail in our next
# upload attempt, we try again 1minute 12 seconds later etc.
#
#

UploadFailBackoffPct= 20

#
# Maximum amount of time, in seconds, upload will wait for response from
# repository before timing out.
# 0 means infinite.
#
UploadTimeout=1800

#
# Timeout for upload a file, HealthMonitor will abort the EMD process if
# UploadManager does not finish uploading one file within this time
# Unit is minite, the default value is 1 hour ( 15 Min) 
# 
#UploadMaxTime=15

#
#  How big the file the collector will upload (in KB)
#  the actual file size could be slightly bigger. 
#  This is only a guidance. 
#
UploadFileSize=2048

#
# The maximum number of megabytes(MB) the upload manager will support in the 
# upload directory before temporarily being disabled
#
UploadMaxBytesXML=50

#
# The maximum number of files the upload manager will support in the 
# upload directory before temporarily being disabled
#
UploadMaxNumberXML=5000


#
# The maximum amount (%) of disk space that can be used on the EMD filesystem
# before the following is disabled:
#    - Collection of data (upload manager)
#    - Logging and tracing

UploadMaxDiskUsedPct=98

#
# The amount (%) of disk space that can be used on the EMD filesystem
# before the following is re-enabled after being disabled previously:
#    - Collection of data (upload manager)
#    - Logging and tracing

UploadMaxDiskUsedPctFloor=95

# Time out for the Agent to think that the access to the database could be
# hung. The Agent would not allow more threads to go and hang with a database 
# if any one access to the database does not return within DbHangTimeout
# seconds. 
# The more the timeout more the possibility of allowing more threads
# to be hung in the EMD with a bad database.it is specified in seconds.
#DbHangTimeout=200

#
# The script to run if disk space usage exceeds parameters or if certain other
# error conditions occur.
#
#emdFailureScript=emdfail.command

#
# The location of the file that contains the root certificate.
#
emdRootCertLoc=/home/oracle/product/10gR2/sysman/config/b64LocalCertificate.txt
internetCertLoc=/home/oracle/product/10gR2/sysman/config/b64InternetCertificate.txt

#
# The download URL for the EMD Oracle Wallet and its local file location.
#
# Note: Ensure that this URL references a valid port number at which the
# console is available on http
#
emdWalletSrcUrl=http://**********:4889/em/wallets/emd
emdWalletDest=/home/oracle/product/10gR2/sysman/config/server

#
# The email address for out-of-band notifications
#
emd_email_address=
emd_email_gateway=

#
# The return email address for out-of-band notifications
#
emd_from_email_address=

#
#  EMD main servlet URL
#
EMD_URL=http://**********:/emd/main/


#
# Whether the EMD should listen on all NICs on the current host (the default)
# or just the NIC associated with the hostname in EMD_URL
#
AgentListenOnAllNICs=TRUE

#
# This parameter indicates the thread model to use. uncomment one of the 
#  following ThreadPoolModel line to indicate the model, agent need to use.
# SMALL if number of targets is less than 11. 
# MEDIUM if number of targets is from 11 to 50.
# LARGE if number of targets is greater than 50.
# This parameter can be overriden by 'MaxThreads' which indicates the maximum 
# number of threads that CEMD can have running at any point of time. User can 
# mostly use the other parameter ThreadPoolModel to indicate what model for the
# agent to use.
#
# ThreadPoolModel = SMALL
# ThreadPoolModel = MEDIUM
# ThreadPoolModel = LARGE
#

# This parameter indicates the stack size, threads have to be created with. 
# we can set it to 0 to use the OS default value. 
#
# In some version of solaris(such as 2.9 )  specify a stack size may cause Java Hotspot warning 
# when JVM is used.
#
NormalThreadStackSize=0
#

#Signals that users want to ignore. 
#It can be one or combination of SIGTERM, SIGINT
# The signals can listed with ',' as delimiter.
#IgnoreSignals=


#
# This property is NO LONGER USED for host config collection (instead, hostConfigClasspath is used). 
# If noone else uses it, it can be removed.  
#
ouiLoc=/home/oracle/product/10gR2/oui

#
# Classpath for host config collection
# VERY IMPORTANT NOTE: If you change the host config classpath entries in this section, you HAVE 
#                      to change the HOST_CONFIG_TEST_CLASSPATH entry in the utl/emdwqaenv file too.
#
# NOTE: if the location of emd_java.jar and/or log4j-core.jar is changed
#       make sure that appropriate changes are also made
#       to the CLASSPATH variable in this file if necessary

# PORTING NOTE: Check OUI-required jar files for OUI APIs to work. They could be different on your platform.
# Also, our version of xmlparserv2.jar must be compatible with the one OUI expects (both OUI and ECM use XML parser).
hostConfigClasspath=/home/oracle/product/10gR2/oui/jlib/xmlparserv2.jar:/home/oracle/product/10gR2/oui/jlib/OraInstaller.jar:/home/oracle/product/10gR2/oui/jlib/srvm.jar:/home/oracle/product/10gR2/oui/jlib/share.jar:/home/oracle/product/10gR2/sysman/jlib/emd_java.jar:/home/oracle/product/10gR2/sysman/jlib/log4j-core.jar

# JAVA HOME required for JavaExt metric calls
JAVA_HOME=/home/oracle/product/10gR2/jdk/jre

# CLASSPATH required for JavaExt metric calls
CLASSPATH=/home/oracle/product/10gR2/sysman/jlib/emd_java.jar:/home/oracle/product/10gR2/opmn/lib/ons.jar:/home/oracle/product/10gR2/lib/xmlparserv2.jar:/home/oracle/product/10gR2/sysman/jlib/log4j-core.jar:/home/oracle/product/10gR2/oc4j/j2ee/home/lib/http_client.jar:/home/oracle/product/10gR2/lib/dms.jar:/home/oracle/product/10gR2/lib/dmsEmd.jar:/home/oracle/product/10gR2/jlib/share.jar:/home/oracle/product/10gR2/jdbc/lib/ojdbc14dms.jar:/home/oracle/product/10gR2/jlib/jssl-1_1.jar:/home/oracle/product/10gR2/jlib/javax-ssl-1_1.jar:/home/oracle/product/10gR2/jlib/ojmisc.jar:/home/oracle/product/10gR2/lib/em_test.jar:/home/oracle/product/10gR2/jlib/ojmisc.jar:/home/oracle/product/10gR2/jlib/repository.jar:/home/oracle/product/10gR2/opmn/lib/optic.jar

#
# this is the java option
#
#JAVA_OPTIONS=-Xmx128m

#
# These are the optional Java flags for the in-process Java
# Native Interface (JNI)
#
agentJavaDefines=-Doracle.dms.refresh.wait.time=1000 -DUrlTiming.UseJSSE=true

#
# When set to true, the emd.log and emd.trc file will be appended by a pid
# For example:
#       emd_15789.log
#       emd_15789.trc
#
# By default, it is not set for regression test purpose.
#
# After installed, please uncomment this line because when EMD is restarted,
# previous log information will be lost if not set to true.
#
#LogFileWithPID=true

# Default log file maximum size before rolling in Kilobytes
LogFileMaxSize=4096

# Maximum number of log file roll files to maintain before deletion
LogFileMaxRolls=4

# Default trace file maximum size before rolling in Kilobytes
TrcFileMaxSize=4096

# Maximum number of trace file roll files to maintain before deletion
TrcFileMaxRolls=4

#
# To enable the metric browser, uncomment the following line
# This is a reloadable parameter
#
#enableMetricBrowser=true

#
# To disable Remote operations (non-reachable agent) uncomment the following
# line:
#
#disableRemoteOperations=true

#
# add an additional admin path from which the agent will read additional 
# target metadata. The specified path should have the mandatory 4 directories
# under it. 1. metadata 2. scripts  3. default_collection 4. discover
#
#altAdminPath=<additional admin path>


#
# The health monitor executes callbacks in a separate thread. if for some 
# reason the threads spawned from health monitor to execute callbacks are
# hung, the agent could run out of resource and freeze.
# so when the current thread count spawned from the Health monitor reaches 
# this limit, the agent is bounced. the default is set to 5.
#
#MaxHealthMonitorThreads=5
#

#
# dynamicPropsComputeTimeout default to 30s
dynamicPropsComputeTimeout=60

#
# emagent perl tracing levels
# supported levels: DEBUG, INFO, WARN, ERROR
# default level is ERROR 
#
EMAGENT_PERL_TRACE_LEVEL=ERROR


#
# other optional parameters for perl tracing
#
# EMAGENT_PERL_TRACE_DIR default to $ORACLE_HOME/sysman/log
#EMAGENT_PERL_TRACE_DIR=
#
# EMAGENT_PERL_TRACE_FILESIZE default to 5M
#EMAGENT_PERL_TRACE_FILESIZE=5
#

#
#  this section define the logging level for each component, 
#  it is "reloadable", you can change the level at runtime to reset
#  the logging level, but if you remove the line, it will not be
#  changed.
#
tracelevel.main=WARN
tracelevel.emSDK.xml=WARN
tracelevel.emSDK.utl=WARN
tracelevel.ResMonitor=WARN
tracelevel.Dispatcher=WARN
tracelevel.ThreadPool=WARN
tracelevel.pingManager=WARN
tracelevel.collector=WARN
tracelevel.http=WARN
tracelevel.ssl=WARN
tracelevel.ssl.io=WARN
tracelevel.blackouts=WARN
tracelevel.upload=WARN
tracelevel.command=WARN
tracelevel.reload=WARN
tracelevel.scheduler=WARN
tracelevel.Authentication=WARN
tracelevel.metadata=WARN
tracelevel.targets=WARN
tracelevel.TargetManager=WARN
tracelevel.engine=WARN
tracelevel.javaproc=WARN
tracelevel.vpxoci=WARN
tracelevel.javavm=WARN
tracelevel.fetchlets=WARN
tracelevel.fetchlets.os=WARN
tracelevel.fetchlets.osline=WARN
tracelevel.fetchlets.oslinetok=WARN
tracelevel.fetchlets.UDM=WARN
tracelevel.fetchlets.sql=WARN
tracelevel.fetchlets.url=WARN
tracelevel.fetchlets.urllines=WARN
tracelevel.fetchlets.urllinetoken=WARN
tracelevel.fetchlets.URLTiming=WARN
tracelevel.fetchlets.propEcho=WARN
tracelevel.fetchlets.readFromFile=WARN
tracelevel.fetchlets.readMultFromFile=WARN
tracelevel.fetchlets.throwable=WARN
tracelevel.fetchlets.resourceGrab=WARN
tracelevel.fetchlets.emSDK=WARN

# The following three properties are for HTTP timeout
# Timeout value for reading Http primary header, default is 30 seconds.
httpTimeoutPrimaryHeader=30

# Timeout value for reading http secondary headers, default is 30 seconds
httpTimeoutSecondaryHeaders=30

# Timeout value for reading http body, default is 60 seconds.
httpTimeoutBody=60
agentTZRegion=US/Pacific

[Updated on: Tue, 10 March 2009 04:48]

Report message to a moderator

Re: Error in creating Enterprise manager repository [message #390915 is a reply to message #390910] Tue, 10 March 2009 04:56 Go to previous messageGo to next message
babuknb
Messages: 1717
Registered: December 2005
Location: NJ
Senior Member

Thanks.

AS per metalink your configuring??

I hope it's single page configuraion only (Only few lines). But your NOT following as per document?

I having some restriction to post some details.

Quote:
Comment the agentTZRegion parameter in the emd.properties and run :


$ emctl resetTZ agent
 
$ emdctl validateTZ agent <TZ region from emd.properties>


If this does not give any errors, then start the dbconsole using:

$ emctl start dbconsole 



Babu

[Updated on: Tue, 10 March 2009 04:58]

Report message to a moderator

Re: Error in creating Enterprise manager repository [message #390917 is a reply to message #390666] Tue, 10 March 2009 05:16 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
Please send me which document id you are telling from metalink?



Re: Error in creating Enterprise manager repository [message #390918 is a reply to message #390917] Tue, 10 March 2009 05:26 Go to previous messageGo to next message
Michel Cadot
Messages: 58638
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Document is "Metalink Doc ID: 388280.1".
Sending or posting is illegal.
Asking for it also.

Regards
Michel
Re: Error in creating Enterprise manager repository [message #390920 is a reply to message #390666] Tue, 10 March 2009 05:35 Go to previous messageGo to next message
ora_2007
Messages: 430
Registered: July 2007
Location: Mumbai
Senior Member
$ export ORACLE_HOME=<OH of the 10g database>
$ export ORACLE_SID=<SID of the 10g database>
$ export EMDROOT=$ORACLE_HOME
$ export EMSTATE=$ORACLE_HOME
$ cd $ORACLE_HOME/bin

Comment the agentTZRegion parameter in the emd.properties and run :

$ emctl resetTZ agent
$ emdctl validateTZ agent <TZ region from emd.properties>

Experts,
I done the same steps..
I removed agentTZRegion parameter from /home/oracle/product/10gR2/sysman/config/emd.properties
And tried again But giving an error.

And i find that after running below command agentTZRegion is again populated in emd.properties file.

oracle@oracle:~> emctl resetTZ agent
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Updating /home/oracle/product/10gR2/sysman/config/emd.properties...
resetTZ failed.
The agentTZRegion in:
/home/oracle/product/10gR2/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:
/home/oracle/product/10gR2/sysman/admin/supportedtzs.lst

[Updated on: Tue, 10 March 2009 05:39]

Report message to a moderator

Re: Error in creating Enterprise manager repository [message #478985 is a reply to message #390920] Wed, 13 October 2010 21:59 Go to previous message
chuanshangyue
Messages: 1
Registered: October 2010
Location: china
Junior Member
experts´╝Ü
i have meet the some problem.while i want to use oracle Release 10.2.0.1.0 oem.i meet the error:i have search the solution from many bbs.but no one can solve my problem.is there any one can help me ? and the page host,do you have solve the problem?
Previous Topic: Need help with OEM
Next Topic: Error regarding the Enterprise Manager during Installation
Goto Forum:
  


Current Time: Thu Jul 31 17:59:43 CDT 2014

Total time taken to generate the page: 0.12270 seconds