Unable to recreate OEM repository
Hi,
I have a problem with Oracle Enterprise Manager.
Environment description: Oracle 10g R2 Standard Edition on Windows Server 2003 R2
I dropped the OEM repository. After that I was trying to recreate it via
D:\oracle\product\10.2.0\db_1\BIN>emca -config dbcontrol db -repos recreate
STARTED EMCA at Feb 23, 2009 3:38:32 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: OSYSTEST
Database Control is already configured for the database OSYSTEST
You have chosen to configure Database Control for managing the database OSYSTEST
This will remove the existing configuration and the default settings and perform
a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: y
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional): xxx
Outgoing Mail (SMTP) server for notifications (optional): xxx
You have specified the following settings
Database ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
Database hostname ................ uk13appa.area1.xxx.local
Listener port number ................ 1521
Database SID ................ OSYSTEST
Email address for notifications ............... xxx
Outgoing Mail (SMTP) server for notifications ............... xxx
Do you wish to continue? [yes(Y)/no(N)]: y
Feb 23, 2009 3:39:27 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\OSYSTEST\emca_2009-02-23_03-38-32-PM.log.
Feb 23, 2009 3:39:35 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Feb 23, 2009 3:39:38 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Feb 23, 2009 3:40:11 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Feb 23, 2009 3:40:12 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Feb 23, 2009 3:40:53 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Feb 23, 2009 3:40:56 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Feb 23, 2009 3:45:56 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\OSYSTEST
\emca_2009-02-23_03-38-32-PM.log for more details.
Could not complete the configuration. Refer to the log file at D:\oracle\product
\10.2.0\db_1\cfgtoollogs\emca\OSYSTEST\emca_2009-02-23_03-38-32-PM.log for more
details.
After 5 min waiting when the process started Database Control I got an error SEVERE: Error starting Database Control. There was details in a log file:
SEVERE: Error starting Database Control
Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\OSYSTEST\emca_2009-02-23_02-41-14-PM.log for more details.
Feb 23, 2009 2:48:40 PM 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:569)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:181)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:150)
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)
It would be great if you could give me a clue which help me to solve the problem.
Thanks
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to D:\oracle\product\10.2.0\db_1\oui
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Homes to scan for used ports: [D:\oracle\product\10.2.0\db_1]
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME D:\oracle\product\10.2.0\db_1
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: null from D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: null from D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: null from D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: 5541 from D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: 5521 from D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: 1158 from D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file D:\oracle\product\10.2.0\db_1\uk13appa.area1.eurofins.local_OSYSTEST\sysman\config\emd.properties
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: null from D:\oracle\product\10.2.0\db_1\uk13appa.area1.eurofins.local_OSYSTEST\sysman\config\emd.properties
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: null from D:\oracle\product\10.2.0\db_1\sysman\config\emd.properties
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file D:\oracle\product\10.2.0\db_1\install\staticports.ini
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PortManager getFreePorts
CONFIG: D:\oracle\product\10.2.0\db_1:uk13appa.area1.eurofins.local:null:OSYSTEST:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_OSYSTEST.
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: AGENT_PORT_OSYSTEST value: 3938
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_OSYSTEST.
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBCONTROL_HTTP_PORT_OSYSTEST value: 1158
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_OSYSTEST.
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: JMS_PORT_OSYSTEST value: 5540
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_OSYSTEST.
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: RMI_PORT_OSYSTEST value: 5520
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.EMDBPreConfig getFreePorts
CONFIG: Ports assigned for SID: OSYSTEST : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: cmdType: 1
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Stopping Windows service...OracleDBConsoleOSYSTEST
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Waiting for service 'OracleDBConsoleOSYSTEST' to fully stop
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface isInView
CONFIG: IN_VIEW marker not instantiated in D:\oracle\product\10.2.0\db_1\sysman\config\emca.properties
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [EMDROOT=D:\oracle\product\10.2.0\db_1, LD_LIBRARY_PATH=D:\oracle\product\10.2.0\db_1\lib32;D:\oracle\product\10.2.0\db_1\lib;D:\oracle\product\10.2.0\db_1\perl\lib;null, PATH=D:\oracle\product\10.2.0\db_1\jdk\jre\bin\server;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Dell\SysMgt\RAC5;C:\Program Files\Dell\SysMgt\oma\bin, PERL5LIB=D:\oracle\product\10.2.0\db_1\sysman\admin\scripts;D:\oracle\product\10.2.0\db_1\bin;, SystemRoot=C:\WINDOWS, WINDIR=C:\WINDOWS]
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: D:/oracle/product/10.2.0/db_1/perl/5.8.3/bin/MSWin32-x86-multi-thread\perl.exe D:\oracle\product\10.2.0\db_1\sysman\admin\scripts\db\sgastop.pl stop OSYSTEST uk13appa.area1.eurofins.local 1521 D:\oracle\product\10.2.0\db_1
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of D:/oracle/product/10.2.0/db_1/perl/5.8.3/bin/MSWin32-x86-multi-thread\perl.exe D:\oracle\product\10.2.0\db_1\sysman\admin\scripts\db\sgastop.pl stop OSYSTEST uk13appa.area1.eurofins.local 1521 D:\oracle\product\10.2.0\db_1 completed successfully
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: nmccollector process does not exist
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.DBControlUtil stopNmccollector
CONFIG: Successfully stopped nmc-collector process
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: cmdType: 2
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
CONFIG: Deleting Windows service...OracleDBConsoleOSYSTEST
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: CMD /C D:\oracle\product\10.2.0\db_1\bin\nmesrvops.exe delete OracleDBConsoleOSYSTEST
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of CMD /C D:\oracle\product\10.2.0\db_1\bin\nmesrvops.exe delete OracleDBConsoleOSYSTEST completed successfully
Feb 23, 2009 2:42:19 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Service "OracleDBConsoleOSYSTEST" delete SUCCESS
Feb 23, 2009 2:42:22 PM oracle.sysman.emcp.util.ClusterUtil deleteEmptyRegKeyOnNode
CONFIG: No Subkeys present under HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\SYSMAN
Feb 23, 2009 2:42:22 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Feb 23, 2009 2:42:22 PM oracle.sysman.emcp.EMReposConfig dropRepository
CONFIG: Spooling to D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\OSYSTEST\emca_repos_drop_2009-02-23_02-42-22-PM.log
Feb 23, 2009 2:42:22 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Feb 23, 2009 2:42:22 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: OSYSTEST, oracleHome: D:\oracle\product\10.2.0\db_1, and user: SYS
Feb 23, 2009 2:42:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Feb 23, 2009 2:42:23 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [ORACLE_HOME=D:\oracle\product\10.2.0\db_1, ORACLE_SID=OSYSTEST, PATH=D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Dell\SysMgt\RAC5;C:\Program Files\Dell\SysMgt\oma\bin, SystemRoot=C:\WINDOWS, WINDIR=C:\WINDOWS]
Feb 23, 2009 2:42:23 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: CMD /C D:\oracle\product\10.2.0\db_1\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=uk13appa.area1.eurofins.local)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=OSYSTEST))) -repos_user SYSMAN -action drop -verbose -output_file D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\OSYSTEST\emca_repos_drop_2009-02-23_02-42-22-PM.log
Feb 23, 2009 2:42:54 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Feb 23, 2009 2:42:54 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of CMD /C D:\oracle\product\10.2.0\db_1\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=uk13appa.area1.eurofins.local)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=OSYSTEST))) -repos_user SYSMAN -action drop -verbose -output_file D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\OSYSTEST\emca_repos_drop_2009-02-23_02-42-22-PM.log completed successfully
Feb 23, 2009 2:42:54 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Enter SYS user's password :
Enter repository user password :
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Environment :
ORACLE HOME = D:\oracle\product\10.2.0\db_1
REPOSITORY HOME = D:\oracle\product\10.2.0\db_1
SQLPLUS = D:\oracle\product\10.2.0\db_1/bin/sqlplus
SQL SCRIPT ROOT = D:\oracle\product\10.2.0\db_1/sysman/admin/emdrep/sql
EXPORT = D:\oracle\product\10.2.0\db_1/bin/exp
IMPORT = D:\oracle\product\10.2.0\db_1/bin/imp
LOADJAVA = D:\oracle\product\10.2.0\db_1/bin/loadjava
JAR FILE ROOT = D:\oracle\product\10.2.0\db_1/sysman/admin/emdrep/lib
JOB TYPES ROOT = D:\oracle\product\10.2.0\db_1/sysman/admin/emdrep/bin
Arguments :
Connect String = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=uk13appa.area1.eurofins.local)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=OSYSTEST)))
Action = drop
Repos User = SYSMAN
Default tablespace = MGMT_TABLESPACE
Default Data file = mgmt.dbf
Dflt Dfile Init size = 20m
Dflt Dfile Ext size = 20m
ECM tablespace = MGMT_ECM_DEPOT_TS
ECM Data file = mgmt_ecm_depot1.dbf
ECM Dfile Init size = 100m
ECM Dfile Ext size = 100m
TEMP tablespace = TEMP
Create options = 3
Verbose output = 1
Output File = D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\OSYSTEST\emca_repos_drop_2009-02-23_02-42-22-PM.log
Repos creation mode = CENTRAL
MetaLink user name = NOTAVAILABLE_
MetaLink URL = http://updates.oracle.com
Export Directory = D:\oracle\product\10.2.0\db_1/sysman/log
Import Directory = D:\oracle\product\10.2.0\db_1/sysman/log
Checking SYS Credentials ... File - C:\temp\AWpf1QtqQU\0YGYJjDtEN.sql.Return code = 0.OK.
Dropping the repository..
Quiescing DB ... File - C:\temp\9YZ78xsieC\rTii7S279Y.sql.Return code = 183.Failed.
Checking for Repos User ... File - C:\temp\VjWwFYYIj8\DKrPQghao6.sql.Return code = 0.Exists.
Repos User exists..
Clearing EM Contexts ... Clearing contexts. File - C:\temp\lLvkbSpYNz\NgECoaWNAB.sql.
Clearing contexts. Return code = 0.
OK.
Dropping EM users ...
Drop EM Users. File - C:\temp\4h3SzLFo8r\tpbCLVRGnk.sql.
Drop EM Users. Return code = 0.
Done.
Dropping Repos User ... Drop Repos User. File - C:\temp\yRgC00qxxf\TfeZ0AYUrL.sql.
Drop Repos User. Return code = 0.
Done.
Dropping Roles/Synonymns/Tablespaces ... File - C:\temp\Bu0UafeOSd\j4yOZprHPo.sql.Return code = 0.Done.
Unquiescing DB ... Temp File - C:\temp\acCnWkH8jW\RuBsvxKClt.sql. Return code = 0.Done.
Dropped Repository Successfully.
Feb 23, 2009 2:42:54 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: 'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
Feb 23, 2009 2:42:54 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Feb 23, 2009 2:42:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: OSYSTEST, oracleHome: D:\oracle\product\10.2.0\db_1, and user: SYS
Feb 23, 2009 2:42:55 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Feb 23, 2009 2:42:55 PM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\OSYSTEST\emca_repos_create_2009-02-23_02-42-55-PM.log
Feb 23, 2009 2:42:55 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Feb 23, 2009 2:43:36 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Feb 23, 2009 2:43:36 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: OSYSTEST, oracleHome: D:\oracle\product\10.2.0\db_1, and user: SYS
Feb 23, 2009 2:43:37 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Feb 23, 2009 2:43:37 PM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully granted priviliges to dbsnmp.
Feb 23, 2009 2:43:37 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
Feb 23, 2009 2:43:37 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
Feb 23, 2009 2:43:37 PM oracle.sysman.emcp.EMReposConfig updateReposVars
CONFIG: Updating file D:\oracle\product\10.2.0\db_1\sysman\emdrep\config\repository.variables ...
Feb 23, 2009 2:43:37 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\sysman\emdrep\config\repository.variables.emca.util.tmp to D:\oracle\product\10.2.0\db_1\sysman\emdrep\config\repository.variables
Feb 23, 2009 2:43:37 PM oracle.sysman.emcp.EMReposConfig updateReposVars
CONFIG: File D:\oracle\product\10.2.0\db_1\sysman\emdrep\config\repository.variables is successfully updated
Feb 23, 2009 2:43:37 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: OSYSTEST, oracleHome: D:\oracle\product\10.2.0\db_1, and user: SYS
Feb 23, 2009 2:43:38 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Feb 23, 2009 2:43:38 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocking dbsnmp and sysman
Feb 23, 2009 2:43:38 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocked mgmt_view account
Feb 23, 2009 2:43:38 PM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully unlocked relevant accounts
Feb 23, 2009 2:43:38 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: OSYSTEST, oracleHome: D:\oracle\product\10.2.0\db_1, and user: SYSMAN
Feb 23, 2009 2:43:38 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
CONFIG: Finished executing emreposoutofbox.sql
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.EMDBCConfig updateEmomsProps
CONFIG: Updating file D:\oracle\product\10.2.0\db_1\sysman\config\emoms.properties ...
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\sysman\config\emoms.properties.emca to D:\oracle\product\10.2.0\db_1\sysman\config\emoms.properties
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\sysman\config\emoms.properties.emca.util.tmp to D:\oracle\product\10.2.0\db_1\sysman\config\emoms.properties
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.EMDBCConfig deleteOC4JDir
CONFIG: Deleting state directories
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\application-deployments\default\defaultWebApp
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\application-deployments\default\dms
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\application-deployments\default\dms0
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\application-deployments\default
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\application-deployments\em\em
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\application-deployments\em
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\application-deployments
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\log
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\META-INF
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\persistence
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\server.xml.emca.util.tmp to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\server.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
CONFIG: Copying OC4J config files from D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _makeDirectory
CONFIG: Create directory D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\application.xml to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\application.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\data-sources.xml to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\data-sources.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\global-web-application.xml to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\global-web-application.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\http-web-site.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\internal-settings.xml to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\internal-settings.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\java2.policy to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\java2.policy
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\jazn-data.xml to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\jazn-data.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\jazn.xml to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\jazn.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\jms.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\mime.types to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\mime.types
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\oc4j-connectors.xml to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\oc4j-connectors.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole\config\principals.xml to D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_uk13appa.area1.eurofins.local_OSYSTEST\config\principals.xml
Feb 23, 2009 2:43:39 PM oracle.sysman.emcp.util.FileUtil _copyFile
Similar Messages
-
Unable to create or drop OEM repository
Hi;
I wanna recreate OEM and i use this command for it..
emca -config dbcontrol db -repos create
and its ended error.. while i look log i saw this:
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
As i my search i see i need to drop repos first... for this i used this command:
emca -deconfig dbcontrol db -repos drop
when i used it i have error again and log files says me:
*[20-05-2009 04:43:24] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=dbvault.xx.com)(PO*
RT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl))): ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)
i gave SYS password when process ask me but dont understand why i had this error...
Anyone has idea?
Thanks
Edited by: aaaaa on May 21, 2009 12:27 AMHi;
Verify the name of the password file, and make sure it is created as orapw<SID> (not orapw<sid>).You are right my password file was orapw<sid> and i made it orapw<SID>, and then i follow those steps:
1. emca -deconfig dbcontrol db -repos drop
successed
2. orapwd file=orapwORCL password=oracle entries=3
3.grant execute on utl_smtp to public;
grant execute on utl_tcp to public;
grant execute on utl_file to public;
grant execute on dbms_sql to public;
all granted
4.drop user sysman cascade;
drop role MGMT_USER;
drop user MGMT_VIEW cascade;
drop public synonym MGMT_TARGET_BLACKOUTS;
drop public synonym SETEMVIEWUSERCONTEXT;
gives:ORA-01432: public synonym to be dropped does not exist*and user does not exist error*
5.Run the catproc.sql script from ORACLE_HOME/rdbms/admin
ended
6.emca -config dbcontrol db -repos create
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-24344: success with compilation error
ORA-06512: at line 38
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1474)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:848)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:267)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:308)
at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:422)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:192)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:134)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
May 20, 2009 7:53:42 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
7.emca -config dbcontrol db
May 20, 2009 7:54:32 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Couldn't execute statement: ORA-01403: no data found
ORA-06512: at "SYSMAN.MGMT_VIEW_PRIV", line 41
ORA-06512: at line 1 (DBD NO_DATA: OCIStmtExecute) at /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/emca/emcaDbUtil.pl li
ne 108, <STDIN> line 2.
May 20, 2009 7:54:32 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Error executing /u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts/emca/emcaDbUtil /u01/app/oracle/product/10.2.0/db_1
*/perl/lib:/u01/app/oracle/product/10.2.0/db_1/perl/lib/site_perl:/u01/app/oracle/product/10.2.0/db_1/sysman/admin/scripts:/u01/app/o*
racle/product/10.2.0/db_1/bin: /u01/app/oracle/product/10.2.0/db_1/perl/bin/perl /u01/app/oracle/product/10.2.0/db_1/sysman/admin/sc
ripts/emca/emcaDbUtil.pl /u01/app/oracle/product/10.2.0/db_1 orcl SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30);
view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user)
*; select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_s*
tatus like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '
*%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view*
userpwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD*
May 20, 2009 7:54:32 AM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
CONFIG: Failed to unlock mgmt_view account
May 20, 2009 7:54:32 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Failed to unlock all EM-related accounts
May 20, 2009 7:54:32 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to unlock all EM-related accounts
Refer to the log file at /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/orcl/emca_2009-05-20_07-54-16-AM.log for more details.
May 20, 2009 7:54:32 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:302)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:134)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
8.emca -config dbcontrol db -repos recreate
May 20, 2009 7:56:00 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Enter SYS user's password :
Enter repository user password :
Getting temporary tablespace from database...
Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=dbvault.innova.com.tr)(PORT=1521)))(CONNECT_DATA=(S
ERVICE_NAME=orcl))): ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)I followed upper steps and i had those error :) Any idea
thanks alot
PS: I already opened sr for it.. if we solve problem i will share it here -
OEM Repository Database Restarts Daily
Greetings,
I am running OEM 12.1.0.3.0 on a VM running Linux x86_64. The repository is Oracle 11.2.0.3.0 running on a separate VM host also running Linux x86_64.
On a daily basis at 05:57:21 (give or take a few seconds) my OEM repository is restarted -
Shutting down instance (immediate)
Stopping background process SMCO
Shutting down instance: further logons disabled
<remaining shutdown steps displayed in the alert logs>
and it immediately restarts. I am unable to determine why. The host is not restarted. I have looked at dba_jobs in the repository and see nothing running which would do this. I have looked at OEM jobs and don't see anything scheduled there which would do this. I am at a loss to explain this and am wondering if anyone else has encountered this or has an explanation. Is this expected behavior or is my setup an anomaly?
Thank you.
Bill WagmanBill,
This would not be an expected behaviour. If your Repository DB re-starts, then there are chances that the OMS will also re-start if it cannot access the repository DB for a long duration. This will affect console usage.
Do you not see any other errors before this shutdown?
You could also check if there are any DB trace files created around the same time.
Recommend posting this in the Database forum for further investigation.
Regards,
Smitha. -
Hi,
Could anybody explain me or give me some good link to understand the concept of OEM repository in 9i. I found something on Internet, but I have some question without answer. I appreciate if somebody could answer or give me some links which respond to these questions:
1) What the depenency between OEM repository and one agent of a database ?
2) If a OEM contains more agents (for 4-5 databases) is there any data lost if the OEM is recreated ? Must I recreate it in a particulary manner not to lose data in it and to be functional after recration ?
3) Could anybody send me some GOOD information about the concept of OEM repository ?
any other information about OEM will be appeciated.
Thanks to all, Paul T.I have some intelligent agent which are down and I want to restart them. When I do a Refresh on that node in OEM Console I get the message "Refresh Failed: VNI-4054 The Oracle Management Server is out of sync with the agent (<agent name>)". Initially I thought to recreate the OEM Repository. Now I am not sure that is a good idee. Thank, Paul.
... For the moment I saw that this error is still undetermined ... it must be treated as OERR: VNI-4040 Agent state is corrupted ... I continue with my research ...
Message was edited by:
Paul_T -
Hi guyz,
I am unable to recreate the dbcontrol,
emca -config dbcontrol db -repos recreate
STARTED EMCA at Aug 13, 2009 2:23:29 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: orcl
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Aug 13, 2009 2:23:43 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/db/cfgtoollogs/emca/orcl/
emca_2009-08-13_02-23-29-PM.log.
Aug 13, 2009 2:23:44 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Aug 13, 2009 2:23:46 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Aug 13, 2009 2:23:47 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /u01/app/oracle/db/sysman/admin/emdrep/bin/RepManager -conne
ct (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.241.11.37)(PORT=1521)))
(CONNECT_DATA=(SERVICE_NAME=orcl))) -repos_user SYSMAN -action drop -verbose -out
put_file /u01/app/oracle/db/cfgtoollogs/emca/orcl/emca_repos_drop_2009-08-13_02-2
3-46-PM.log
Aug 13, 2009 2:23:47 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
Aug 13, 2009 2:23:47 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /u01/app/oracle/db/cfgtoollogs/emca/orcl/emca_repo
s_drop_<date>.log for more details.
Aug 13, 2009 2:23:47 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /u01/app/oracle/db/cfgtoollogs/emca/orcl/emca_2009-08-13
_02-23-29-PM.log for more details.
Could not complete the configuration. Refer to the log file at /u01/app/oracle/db/cfg
toollogs/emca/orcl/emca_2009-08-13_02-23-29-PM.log for more details.
The log file has the following errors in it.
[13-08-2009 12:01:41] Enter SYS user's password :
[13-08-2009 12:01:41]
[13-08-2009 12:01:41] Enter repository user password :
[13-08-2009 12:01:41]
[13-08-2009 12:01:41] Getting temporary tablespace from database...
[13-08-2009 12:01:41] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(P
ROTOCOL=TCP)(HOST=10.241.11.37)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl))):
ORA-12514: TNS:listener does not currently know of service requested in connect descr
iptor (DBD ERROR: OCIServerAttach)
I am able to tnsping the service name
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST
= ecms-stage)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))
OK (10 msec)
But I am not able to connect to the database using the service name
oracle@ecms-stage[orcl]:/home/oracle$ sqlplus sys/sys@orcl as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Aug 13 14:33:37 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name: sys
Enter password:
ERROR:
ORA-01017: invalid username/password; logon denied
Thanks!Thanks for your reply!
the output of local_listener is
NAME TYPE VALUE
local_listener string
TNSNAMES.ORA
# tnsnames.ora Network Configuration File: /u01/app/oracle/db/network/admin/tnsnames.
ora
# Generated by Oracle configuration tools.
orcl =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = stage)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
LISTENER.ORA
# listener.ora Network Configuration File: /u01/app/oracle/db/network/admin/listener.
ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/db)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.241.11.37)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
SQLNTE.ORA
# sqlnet.ora Network Configuration File: /u01/app/oracle/db/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT) -
Which table or view in OEM repository contains a SOAcomposite instance info
Hi All,
Can anyone please tell me which table or view in OEM repository contains information about a SOA composite instance state in OEM 12c Cloud Control. Actually I want to create a report in Information Publisher displaying the SOA composite instance state information like, instance is running, faulted or completed. Can anyone provide any inpuits in how can I achieve this.
Thanks in Advance!!
Edited by: Roshni Shankar on Oct 16, 2012 12:49 AMThanks for the information.
Also can you tell me in which table or view OEM stores the error messages i-e- when a composite goes in faulted state then the generated error message gets collected in which table or view in management repository. Does it get collected in the same view which you mentioned earlier in this post??? -
Unable to connect informatica repository on database
Hi,
i am facing error that unable to connect informatica repository on database
thanksHi,
I am facing the same issue while connecting Informatica Repository to the database.
We have installed Informatica 9.0.1 on Linux 64 bit environment and installed Oracle client 11gR2.
Below are some of the detail to analyze the issue in detail:
Informatica Useer : powercenter
Oracle user: oracle
[powercenter@sun2 ~]$ id
uid=500(powercenter) gid=1000(oinstall) groups=501(oracle),1000(oinstall) context=user_u:system_r:unconfined_t
[oracle@sun2 ~]$ id
uid=501(oracle) gid=1000(oinstall) groups=1000(oinstall) context=root:system_r:unconfined_t:SystemLow-SystemHigh
[powercenter@sun2 ~]$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/client_1
export ORACLE_HOME
TNS_ADMIN=$ORACLE_HOME/network/admin
export TNS_ADMIN
PATH=$ORACLE_HOME/bin:/opt/bin:$PATH
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
Tnsping is working fine with the tnsentry given using Informatica user.
[powercenter@sun2 ~]$ echo $TNS_ADMIN
/home/oracle/app/oracle/product/11.2.0/client_1/network/admin
In the Informatica log file we are getting below error message:
Database driver event...error occured loading library [libclntsh.10.1:cannot open shared object file....
I have a confusion here, we have installed Oracle 11g client then why Informatica is looking for 10g library file?
I checked and found there is no file in /usr/local/lib directory.
Any suggestion would be highly appreciated.
Thanks. -
I have a message: "Could not get session for the OEM Repository."
Dear Sir,
I browsed reports that has been published in OEM. But I received an error:
"Could not get session for the OEM Repository. Check to ensure that the OEM Repository is up."
What can I do?
Thank a lotYou will need to go into your Files and locate the song. By default, iTunes saves songs in the iTunes Media Folder which can be found in the following locations:
Mac OS X: /Users/username/Music
Windows XP: \Documents and Settings\username\My Documents\My Music\
Windows Vista: \Users\username\Music\iTunes
Windows 7 and Windows 8: \Users\username\My Music\iTunes
If you locate your song file, when you try to play it in iTunes, you will be given an option to locate. Navigate to the file in the pop up window and iTunes will re-path the file location.
Most people encounter this issue when moving to a new computer or if you have your music saved on an external drive or folder that you have since moved or removed. The imperative part is finding the song so you can re-map it. -
Establish Database connection to connect to OEM Repository from Agents
I have a requirement to establish Database connection from Agent through Plug-in.
Ex:
My plug-in metadata will have a perl script which gets executed in each individual agents and it should connect to the OEM Repository database to execute a package.
Your Help is Appreciable.You would have to take in all of the information needed to connect to the database as instance properties for your target type. So each time someone creates an instance of your target type, they'd have to enter the connection details for the repository database.
The specifics of what are needed should be in the extensibility guide where the SQL fetchlet is documented. -
Backing up an RMAN Catalog/OEM Repository
This may be a supid question but I will ask it nonethelss.
I have an RMAN catalog/OEM Repository which has never been backed up.
Can I use register this (RMAN catalog/OEM Repository) DB within the catalog on the same instance and then back it up as well?
Tks & RegardsHi 860user6196,
And how are you going to recover your database in case of a disaster?
Clearly the catalog won't be available...
Regards,
Tycho -
Oracle 11G Linux OEM Repository Creation Hang
Hi,
I recreating em repository. I was trying to drop em repositry with the following command: -
emca -deconfig dbcontrol db -repos drop
but this command got hang in between.
so i choose another path :-
DECLARE
CURSOR c1 IS
SELECT owner, synonym_name name
FROM dba_synonyms
WHERE table_owner = 'SYSMAN';
BEGIN
FOR r1 IN c1
LOOP
IF r1.owner = 'PUBLIC' THEN
EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM ' || r1.name;
ELSE
EXECUTE IMMEDIATE 'DROP SYNONYM ' || r1.owner || '.' || r1.name;
END IF;
END LOOP;
END;
PL/SQL procedure successfully completed.
SQL> DROP ROLE mgmt_user;
Role dropped.
SQL> drop user mgmt_view cascade;
User dropped.
SQL> drop user sysman cascade;
User dropped.
after this when i am trying to create em repository with following command :-
emca -config dbcontrol db -repos create
this command got hang after showing
Aug 20, 2009 4:32:56 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
I dont know why this command got hang after this.
(I tested the same procedure on another staging machine and from the logs i know that after this message it goes for
Listener validation and check the listener)
On production machine listener is up and running, still the command got hong on
Aug 20, 2009 4:32:56 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Any Help please ?hi,
in my case on the AIX 6.3TL3, i have dropped the following synonyms and the schemas in 11.1.0.7.0 :
plz check this :
DROP USER sysman CASCADE;
DROP USER mgmt_view CASCADE;
DROP ROLE MGMT_USER;
ALTER USER dbsnmp ACCOUNT UNLOCK;
ALTER USER dbsnmp identified by dbsnmp;
DROP PUBLIC SYNONYM SETEMVIEWUSERCONTEXT;
DROP PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS;
DROP PUBLIC SYNONYM MGMT_AVAILABILITY;
DROP PUBLIC SYNONYM MGMT_CURRENT_AVAILABILITY;
DROP PUBLIC SYNONYM MGMT_SEVERITY_OBJ;
DROP PUBLIC SYNONYM MGMT_SEVERITY_ARRAY;
DROP PUBLIC SYNONYM MGMT_GUID_OBJ;
DROP PUBLIC SYNONYM MGMT_GUID_ARRAY;
DROP PUBLIC SYNONYM SMP_EMD_AVAIL_OBJ;
DROP PUBLIC SYNONYM SMP_EMD_TARGET_OBJ;
DROP PUBLIC SYNONYM SMP_EMD_TARGET_OBJ_ARRAY;
DROP PUBLIC SYNONYM SMP_EMD_DELETE_REC_ARRAY;
DROP PUBLIC SYNONYM MGMT_METRICS;
DROP PUBLIC SYNONYM MGMT_TARGETS;
DROP PUBLIC SYNONYM MGMT_TYPE_PROPERTIES;
DROP PUBLIC SYNONYM MGMT_TARGET_PROPERTIES;
DROP PUBLIC SYNONYM MGMT_METRICS_RAW;
DROP PUBLIC SYNONYM MGMT_CURRENT_METRICS;
DROP PUBLIC SYNONYM MGMT_STRING_METRIC_HISTORY;
DROP PUBLIC SYNONYM MGMT_LONG_TEXT;
DROP PUBLIC SYNONYM MGMT_METRICS_COMPOSITE_KEYS;
DROP PUBLIC SYNONYM MGMT_METRICS_1HOUR;
DROP PUBLIC SYNONYM MGMT_METRICS_1DAY;
DROP PUBLIC SYNONYM MGMT_METRIC_ERRORS;
DROP PUBLIC SYNONYM MGMT_CURRENT_METRIC_ERRORS;
DROP PUBLIC SYNONYM EMD_MNTR;
DROP PUBLIC SYNONYM MGMT_METRIC_COLLECTIONS;
DROP PUBLIC SYNONYM MGMT_COLLECTION_PROPERTIES ;
DROP PUBLIC SYNONYM MGMT_METRIC_THRESHOLDS;
DROP PUBLIC SYNONYM SMP_EMD_NVPAIR;
DROP PUBLIC SYNONYM SMP_EMD_NVPAIR_ARRAY;
DROP PUBLIC SYNONYM SMP_EMD_STRING_ARRAY;
DROP PUBLIC SYNONYM SMP_EMD_STRING_ARRAY_ARRAY;
DROP PUBLIC SYNONYM SMP_EMD_INTEGER_ARRAY;
DROP PUBLIC SYNONYM SMP_EMD_INTEGER_ARRAY_ARRAY;
DROP PUBLIC SYNONYM MGMT_DELTA_IDS;
DROP PUBLIC SYNONYM MGMT_DELTA_ID_VALUES;
DROP PUBLIC SYNONYM MGMT_DELTA_ENTRY;
DROP PUBLIC SYNONYM MGMT_DELTA_ENTRY_VALUES;
DROP PUBLIC SYNONYM MGMT_DELTA_VALUE;
DROP PUBLIC SYNONYM MGMT_DELTA_VALUES;
DROP PUBLIC SYNONYM MGMT_NAME_VALUE;
DROP PUBLIC SYNONYM MGMT_NAME_VALUES;
DROP PUBLIC SYNONYM ECM_UTIL;
DROP PUBLIC SYNONYM MGMT_DELTA;
DROP PUBLIC SYNONYM MGMT_TARGET_MEMBERSHIPS;
DROP PUBLIC SYNONYM MGMT_JOB;
DROP PUBLIC SYNONYM MGMT_JOB_PARAMETER;
DROP PUBLIC SYNONYM MGMT_JOB_TARGET;
DROP PUBLIC SYNONYM MGMT_JOB_SCHEDULE;
DROP PUBLIC SYNONYM MGMT_JOB_EXECPLAN;
DROP PUBLIC SYNONYM MGMT_JOB_EXEC_SUMMARY;
DROP PUBLIC SYNONYM MGMT_JOB_OUTPUT;
DROP PUBLIC SYNONYM MGMT_JOB_EXECUTION;
DROP PUBLIC SYNONYM MGMT_LOG;
DROP PUBLIC SYNONYM MGMT_ADMIN;
DROP PUBLIC SYNONYM MGMT_GLOBAL;
DROP PUBLIC SYNONYM MGMT_TARGET;
DROP PUBLIC SYNONYM MGMT_CREDENTIAL;
DROP PUBLIC SYNONYM MGMT_JOBS;
DROP PUBLIC SYNONYM MGMT_PREFERENCES;
DROP PUBLIC SYNONYM MGMT_USER;
DROP PUBLIC SYNONYM MGMT_SEVERITY;
DROP PUBLIC SYNONYM MGMT_CURRENT_SEVERITY;
DROP PUBLIC SYNONYM MGMT_PAF_PROCS_LATEST;
DROP PUBLIC SYNONYM MGMT_PAF_JOBS;
DROP PUBLIC SYNONYM MGMT_PAF$PROCEDURES;
DROP PUBLIC SYNONYM MGMT_PAF$INSTANCES;
DROP PUBLIC SYNONYM MGMT_PAF$STATES;
DROP PUBLIC SYNONYM MGMT_PAF$APPLICATIONS;
DROP PUBLIC SYNONYM MGMT_VIEW_UTIL;
DROP PUBLIC SYNONYM MGMT_MESSAGES; -
Is there a way to query TNSNames.ora info from OEM repository?
Hello,
My project requires me to generate TNSNames.ora from OEM repository.
Is this possible? Does anyone know how to query this from OEM repository.
I would need HOST, SID and PORT to generate the file in format being asked.
Thanks,
MihirHi Team,
The easiest way is to check the output of below command
OMS_HOME/bin
emctl config oms -list_repos_details
The command works for both 11g and 12c
For EM 11g the output would be like
Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Repository Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xyz.oracle.com)(PORT=1522)))(CONNECT_DATA=(SID=orcl)))
Repository Host :
Repository SID :
Repository User : SYSMAN
For 12c the output would be like
$ emctl config oms -list_repos_details
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Repository Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xyz.oracle.com)(PORT=1522)))(CONNECT_DATA=(SID=orcl)))
Repository User : SYSMAN
Regards,
Rahul -
Hi All,
Greetings...
I have a question.
Can it be possible to use Oracle XE for OEM repository and what about other editions like Standard also can be used?
Please help me to conclude my requirement for an Oracle Enterprise Manager Cloud Control 12c Release 3 (12.1.0.3) installation on winx64.
regards,
NoushadIf you are looking to purchase Oracle Enterprise Manager Cloud Control 12c it requires an Oracle database for the repository which would be included in the license so you do not need to worry about the database version. Note if you were to use the the repository database for something other then the OEM repository this would require a database license.
You can confirm this information with your Oracle Rep or review the OEM license information. -
Hello every buddy
i want to kow what is oem repository..
i mistakenly create a repository through ora8i to oracle 9i production database
and cancel it ..
my production server create tablespace oem_repository size 2 gb automatically
there is any effect on database ? and tell me the size if oemIf you didn't configure dbcontrol then you can ignore this. Anyway during install there is check for checking dbcontrol schema
-
OEM Repository and Intelligent Agent
How many OEM repository and Intelligent Agent do I need to have to schedule a unique job on three of the 4 databases I have?
Thanks,
MirabelleIf databases are not discovered, you could have a problem with any of the following files.
listener.ora
oratab ( UNIX/Linux)
Microsoft Registry (Windows)
1. Check the $ORACLE_HOME\network\agent\log\nmiconf.log for warnings or errors.
2. Verify the database sid exists in the listener.ora file. When the Agent parses the listener.ora, it looks for the "sid_list=...." section. If this section is missing, the Agent will not discover the database.
3. Verify the database sid exists in the oratab or Microsoft Registry. (In some cases, the sid is case sensitive.)
4. Stop and Restart the Agent. NOTE: This step is necessary because the Agent will only parse the files during startup.
5. Check the services.ora file and verify the Database services now exists in the file.
6. Refresh the Node through the EM Console.
Maybe you are looking for
-
Error creating web service from WSDL in 11.1.2.0.0
Hello, I have just installed JDeveloper 11.1.2.0.0. I tried to test a web service created (and successfully tested) in 11.1.1.5.0. The service is deployed to internal WebLogic server but when I call "Test Web Service" this is the error I get: The Web
-
My entire Library has vanished! HELP!
I tried to Create a New Library, b/c I thought I could separate my music I use for different purposes, and when I did, I can't fine the Old Library with ALL MY MUSIC! Can I retrieve it? HELP ME!!!!! please!!!!!!
-
Little help please with forwarding traffic to proxy server!
hi all, little help please with this error message i got this when i ran my code and requested only the home page of the google at my client side !! GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel,
-
I have a stationery template that inserts todays date when you open the template. However after a letter is saved in my docs folder, using that template for format, if you re-open the saved document at a later date, it replaces the original date with
-
System restart error in Module pool
Hi Experts, I have created one modulepool Prgram with Table control it is working fine for Display, whenever i want to try to Save i am getting system error System Restarted;Session terminated. i am attatching the screen shot of that..