Emca Drop repository

Hi, sometimes I have problems initialing the OEM, after a lot of tries a solution that solve my problems is:
emca -deconfig dbcontrol db -repos drop
emca -config dbcontrol db -repos create
And it works... But whats real effect of this commands?
Which data I lost dropping/recreating the repository?
Thanks.
Paulo.

In short you are not losing anything important just some repository metadata, you can find out the schema and data by checking SYSMAN user's objects because that's pretty much the user got dropped and recreated.
Most useful functions and charts of OEM are driven from AWR ASH data (DBA_HIST tables)

Similar Messages

  • Drop repository

    hi..
    oracle 10gR2 on hpux 11.23
    i want to create OEM so previously while running emca -config dbcontrol db -config repoes command i was getting error that sysman user allready exiest. so i drop the sysman user and then tried to run the same command to create OEM
    so, after that i have create sysman user manual using "cretae user username identified by passwod" and gave dba role to sysman and than imported sysman objects from another db
    after that i found that RepManager is this utility used to drop and create repositorey and conf. files
    so i ran this utility like this
    $ORACLE_HOME/sysman/admin/emdrep/bin/RepManager -connect dbname -action drop
    /home/oracleg>/bin/RepManager -connect rcbo10g -action drop <
    Enter SYS user's password :
    Enter repository user name : sysman
    Enter repository user password :
    Getting temporary tablespace from database...
    Found temporary tablespace: TEMP02
    Checking SYS Credentials ... OK.
    Dropping the repository..
    Quiescing DB ... Done.
    Checking for Repos User ... Exists.
    Repos User exists..
    Clearing EM Contexts ... Failed.
    Dropping EM users ...
    Done.
    Dropping Repos User ... Done.
    Dropping Roles/Synonymns/Tablespaces ... Done.
    Unquiescing DB ... Done.
    ORA-04063: package body "SYSMAN.MGMT_USER" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYSMAN.MGMT_USER"
    ORA-06512: at "SYSMAN.SETEMUSERCONTEXT", line 5
    ORA-06512: at line 1
    Dropping Repository failed. Please check file /oracle/product/10g/sysman/log/emrepmgr.log.18662 for detailed errors.
    but now i m getting above errors.. suggest me

    HI jonathan
    i did what u asked me to do.. i have granted the required privilege and than tried again but it is giving error,
    log file is just below my query plz reply
    /home/oracleg>/bin/RepManager -connect rcbo10g -action drop <
    Enter SYS user's password :
    Enter repository user name : sysman
    Enter repository user password :
    Getting temporary tablespace from database...
    Found temporary tablespace: TEMP02
    Checking SYS Credentials ... OK.
    Dropping the repository..
    Quiescing DB ... Done.
    Checking for Repos User ... Exists.
    Repos User exists..
    Clearing EM Contexts ... Failed.
    Dropping EM users ...
    Done.
    Dropping Repos User ... Done.
    Dropping Roles/Synonymns/Tablespaces ... Done.
    Unquiescing DB ... Done.
    ORA-04063: package body "SYSMAN.MGMT_USER" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYSMAN.MGMT_USER"
    ORA-06512: at "SYSMAN.SETEMUSERCONTEXT", line 5
    ORA-06512: at line 1
    Dropping Repository failed. Please check file /oracle/product/10g/sysman/log/emrepmgr.log.12945 for detailed errors.
    /home/oracleg>vim /oracle/product/10g/sysman/log/emrepmgr.log.12945
    [16-04-2008 17:29:22] Checking SYS Credentials ...
    [16-04-2008 17:29:23] OK.
    [16-04-2008 17:29:23] Dropping the repository..
    [16-04-2008 17:29:23] Quiescing DB ...
    [16-04-2008 17:29:23] Done.
    [16-04-2008 17:29:23] Checking for Repos User ...
    [16-04-2008 17:29:24] Exists.
    [16-04-2008 17:29:24] Repos User exists..
    [16-04-2008 17:29:24] Clearing EM Contexts ...
    BEGIN sysman.setEMUserContext('', 5); END;
    ERROR at line 1:
    ORA-04063: package body "SYSMAN.MGMT_USER" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SYSMAN.MGMT_USER"
    ORA-06512: at "SYSMAN.SETEMUSERCONTEXT", line 5
    ORA-06512: at line 1
    [16-04-2008 17:29:27] Failed.
    [16-04-2008 17:29:27] Dropping EM users ...
    [16-04-2008 17:29:28] Done.
    [16-04-2008 17:29:28] Dropping Repos User ...
    [16-04-2008 17:30:21] Done.
    [16-04-2008 17:30:21] Dropping Roles/Synonymns/Tablespaces ...
    [16-04-2008 17:30:22] Done.
    [16-04-2008 17:30:22] Unquiescing DB ...
    [16-04-2008 17:30:22] Done.
    [16-04-2008 17:30:22] Dropping Repository failed. Please check file /oracle/product/10g/sysman/log/emrepmgr.log.12945 for detailed errors.

  • EMDATABASEControl emca drop and recreate in RAC

    Any body know how to drop and recreate EMDATABASEControl (emca) drop and recreate for RAC DB?

    use emca -help you can get the parameters used to de-configure and re-configure the emca for RAC
    $emca -help
    -deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified RAC instance
    -reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database Control deployment

  • Unable to drop repository - where is emca looking at (for hostname) ?

    hi guys,
    on oracle10g / linux system.
    try dropping a repository but having error connecting to the database with error in the log as .. below
    [oracle@DBdev ora1]$ vim emca_repos_drop_2010-03-29_04-02-36-PM.log
    [29-03-2010 16:02:36] Enter SYS user's password :
    [29-03-2010 16:02:36]
    [29-03-2010 16:02:36] Enter repository user password :
    [29-03-2010 16:02:36]
    [29-03-2010 16:02:36] Getting temporary tablespace from database...
    [29-03-2010 16:02:36] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=DBdev.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ora1))): ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)
    In my tnsnames.ora and listerner.ora, there is no such entry as *(HOST=DBdev.localdomain)*.
    Where is emca taking the information from ?
    Regards,
    Noob

    [oracle@DBdev ~]$ tnsping ora1
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 30-MAR-2010 17:27:02
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.123.224)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ora1)))
    OK (0 msec)
    [oracle@DBdev ~]$
    so where does dbdev.localdomain come from ?~

  • EMCA create repository fails - 100% CPU utilization

    Hello.
    I can't create EM repository:
    #emca -config dbcontrol db -repos create
    STARTED EMCA at Jul 28, 2011 11:39:59 AM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: oradev
    Listener port number: 1521
    Listener ORACLE_HOME [ /opt/oracle/product/11.2.0/dbhome_1 ]:
    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 ................ /opt/oracle/product/11.2.0/dbhome_1
    Local hostname ................ feniks.uhc.local
    Listener ORACLE_HOME ................ /opt/oracle/product/11.2.0/dbhome_1
    Listener port number ................ 1521
    Database SID ................ oradev
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Jul 28, 2011 11:40:24 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/oracle/cfgtoollogs/emca/oradev/emca_2011_07_28_11_39_59.log.
    Jul 28, 2011 11:40:27 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    ....and
    process hangs (CPU 100%).
    Log shows that it creates all database objects:
    Create SYSMAN user.
    Script to revoke DBA role from SYSMAN and grant required privileges
    Creating tables/views etc.
    "strace" for oracle PID shows only:
    mmap(0x2b894553c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894553c000
    mmap(0x2b894554c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894554c000
    mmap(0x2b894555c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894555c000
    mmap(0x2b894556c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894556c000
    mmap(0x2b894557c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894557c000
    mmap(0x2b894558c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894558c000
    mmap(0x2b894559c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894559c000
    mmap(0x2b89455ac000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b89455ac000
    After 10min Oracle memory usage increased 2x. I killed process, restarted database, restarted mashine but still the same result.
    I searched for similar problems but I only found issues where there are errors while creating repo.
    I didn't get ANY error at all.
    Process hangs.
    Thanks for your help.
    ORACLE VERSION
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    OS VERSION:
    Linux 2.6.18-194.26.1.el5 #1 SMP Wed Nov 10 12:49:43 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
    Regards
    Marcin

    Documentation says Oracle supports both: 1.5.X and 1.6.X but Oracle Database 11g is delivered with JRE 1.5.
    When I switched JRE to 1.6 insalled in my OS (I modified emca script in $ORACLE_HOME/bin) I got error:
    java.lang.UnsatisfiedLinkError: /opt/oracle/product/11.2.0/dbhome_1/oui/lib/linux/liboraInstaller.so: /opt/oracle/product/11.2.0/dbhome_1/oui/lib/linux/liboraInstaller.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:770)
    at java.lang.System.load(System.java:1005)
    at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:387)
    at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
    at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
    at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
    at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
    at oracle.sysman.emcp.util.OUIInventoryUtil.getOUILoc(OUIInventoryUtil.java:135)
    at oracle.sysman.emcp.util.ClusterUtil.isHASInstalled(ClusterUtil.java:276)
    at oracle.sysman.emcp.EMConfig.<clinit>(EMConfig.java:159)
    at oracle.sysman.emcp.EMConfigAssistant.<clinit>(EMConfigAssistant.java:207)
    I think I will send this problems to my Oracle support becouse I ran out of ideas...
    Regards
    Marcin

  • Drop repository owner

    I am having one repository owner, and 3 repository users (they are also actting as target schema) connecting to the owner. For some reason, I want to drop the owner, create a new owner, and move all the user schema objects to that new owner. The bad thing here is repository assistant is not working correctly. I have to use SQL*plus.
    2 questions here:
    1. Do I just drop the old owner use cascade function? Or I have to drop the ursers from the old one first, and then drop the old owner?
    2. If I need to drop the users first (with the cascade function), does that mean all the objects in that schema will be gone, so that I have to reploy everything?
    Thanks in advance.

    +1. Do I just drop the old owner use cascade function? Or I have to drop the ursers from the old one first, and then drop the old owner?+
    I usually drop the users and then the owner. But I believe we can drop the owner withoutr dropping the user.
    +2. If I need to drop the users first (with the cascade function), does that mean all the objects in that schema will be gone, so that I have to reploy everything?+
    Yes, you would have to redeploy if you choose to drop the users.

  • Emca drop

    Hi all,
    Oracle 10.2.0.4
    Does the command
    emca -deconfig dbcontrol db -repos dropEquivalent to:
    drop user sysman cascade;
    drop role MGMT_USER;
    drop user MGMT_VIEW cascade;
    drop public synonym MGMT_TARGET_BLACKOUTS;
    drop public synonym SETEMVIEWUSERCONTEXT;And no more or less?
    Thanks...
    Edited by: yxes2013 on 5.4.2013 1:12

    Thanks "Mr Asha & Mr Kh"
    why you dn,t want to use emca - deconfig dbcontrol db -repos drop?Well, its because the former DBA in my new company created the docs as follows:
    Setup database control
    1. export ORACLE_HOSTNAME = abc.prod.com
    2. Copy the files from the once existing.
          a.  $ORACLE_HOME/<IP>_<SID>
          b.  $ORACLE_HOME/<HOSTNAME>_<SID>
    3. Copy the files from the once existing
          a.   $ORACLE_HOME/oc4j/j2ee/<IP>_<SID>
          b.   $ORACLE_HOME/oc4j/j2ee/<HOSTNAME>_<SID>
    4. export ORACLE_SID=PROD
    5. emctl stop dbconsole
    6. emca –deconfig dbcontrol db
    7. sqlplus / as sysdba@drop_repository.sql
    8. emca –config dbcontrol db –repos create
    9. emctl upload
    =======================
    drop_repository.sql code listing
    drop user sysman cascade;
    drop role MGMT_USER;
    drop user MGMT_VIEW cascade;
    drop public synonym MGMT_TARGET_BLACKOUTS;
    drop public synonym SETEMVIEWUSERCONTEXT;Do you have any idea why he made it separate?
    What does emctl upload do?
    Thanks....

  • Emca drop and recreate for RAC DB.

    metalink notes Note:315299.1 discuss the same problem
    Now question is
    1-What are the steps to Recreate the Database Control configuration files:
    & what -x and -r flags are doing ? can i run simple emca and do the job? I am in RAC environment.
    ./bin/emca -x <sid>
    ./bin/emca -r

    You can add the -cluster parameter.
    Read more about it in the documentation

  • Problem installing packages for SQL monitoring activites - in OEM dbcontrol

    hi guys,
    possible to reinstall the OEM (dbconsole)component as i am having alot of running issues with it.
    i do not intend to emca drop repository as the repository cannot be drop successfully as well.
    ( base on the emca log - i am stuck at
    Getting temporary tablespace from database ) - log just stop at there.
    so i went my own way and drop the sysman user
    drop the MGMT_VIEW , the public synonyms and recreate the repository.
    While configuring SQL activity Monitoring, i am suppose required to install packages but i keep getting the <i> cannot compute dynamic properties in time </i> error.
    Went to metalink, search for this error [ID 739993.1], follow the fixed - but is of no help. (any other logs i can look at ?)
    So i just want to reinstall this whole piece of thing again, but not sure whelther it is possible or not (as i think the dbconsole comes with the oracle software installation).
    What should i do ?~~ I been trying this for days and hours .
    any advices, gurus
    - Desperate and angry noob.
    Regards,
    Noob

    Solved....
    Although I add the same ILOM versions on both servers (2.0.2.6) I updated the ILOM to 3.0.6.15 and everything was installed successfully.

  • Drop em repository is taking very long in 11.1.0.7

    i am configuring oracle enterprise manager in 11.1.0.7
    i did try to create repository and got some errors.
    now i am dropping repository and it is taking very long.
    please tell me how to speed up this drop repository process .

    Hi,
    Please provide the output of:
    tail -50 /opt/oracle/db/tech_st/11.1.0/cfgtoollogs/emca/TEST1/emca_repos_drop_2013_07_28_15_35_01.log
    If you wish to configure EM, it is mandatory you create a password file. Type "orapwd" to get the complete syntax:
    Typically you create like:
    orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=secret entries=5
    If you have created the password file successfully then the following query should give you and output:
    select  * from v$pwfile_users;
    After that please try re-creating the EM.
    Hope this helps!
    Regards

  • 11gR2 dbcontrol recreation fail,SYSMAN & Repository dropped completly

    We are facing this Issue in our production environment, which we have two nodes are running in Windows 2008 Standard. We tried to do everything to recreate EM tool. but dbcontrol recreation fail while SYSMAN & Repository dropped completely
    1. emca -deconfig dbcontrol db -repos drop -cluster
    Dropped Repository Successfully.
    2. >emca -config dbcontrol db -repos create -cluster
    Sep 27, 2013 11:07:13 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    Sep 27, 2013 11:07:13 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: false
    Sep 27, 2013 11:07:13 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: false. Connecting to database instance remotely.
    Sep 27, 2013 11:07:13 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
    CONFIG: SQLEngine created successfully and connected
    Sep 27, 2013 11:07:13 PM oracle.sysman.emcp.DatabaseChecks performReposChecks
    SEVERE: Dbcontrol Repository already exists.  Fix the error(s) and run EM Configuration Assistant again in standalone mode.
    Please help me in this regards
    Thanks

    This is an incompleted info , e.x what value you have entered while dropping, I suspect this is because dbcontrol schema hasn't drooped on each nodes.
    Login to each instance of database nodes and check SYSMAN user exist or not
    I suggest open a SR since this is your production environment.

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

  • EM Database Control 11.1.0.6.0 을 구성하는 도중에 발생하는 repository create error에 관한

    EM Database Control 11.1.0.6.0 을 구성하는 도중에 발생하는 repository create error에 관한
    원인 및 해결 방법을 제시합니다.
    Problem Description
    다음은 emca를 구성하여 repository를 구성하려다가 실패하여 다시
    drop하고 create 시에 이와 같은 ORA-20001 이라고 하는 SYSMAN user가 이미 존재한다고
    하는 에러에 대한 해결방법입니다.
    emca -deconfig dbcontrol db -repos drop 수행 중에 다음과 같이 failed가 발생하고,
    구 43: WHERE username = upper('&EM_REPOS_USER') ;
    신 43: WHERE username = upper('SYSMAN') ;
    [09-03-2008 11:42:20] Drop Repos User. Return code = 58.
    [09-03-2008 11:42:20] Failed. <===
    [09-03-2008 11:42:20] Dropping Roles/Synonymns/Tablespaces ...
    [09-03-2008 11:42:23] Return code = 66.
    [09-03-2008 11:42:23] Failed.
    [09-03-2008 11:42:23] Unquiescing DB ...
    [09-03-2008 11:42:24] Return code = 66.
    [09-03-2008 11:42:24] Failed. <===
    [09-03-2008 11:42:24] Dropped Repository Successfully.
    위와 같이 drop fail 이후에 emca -config dbcontrol db -repos create 수행 시
    ORA-20001: SYSMAN already exists..
    ORA-06512: 줄 17에서
    이와 같은 에러를 만나서 다시 create가 제대로 되지 않는 경우를 볼 수 있다.
    Environment :
    아래의 이름과 환경변수는 사용자의 환경에 따라 달라질 수 있습니다.
    OS : Microsoft Windows XP Professional 32bit windows
    컴퓨터이름 : jeher
    Database version : 11.1.0.6.0
    ORACLE_SID : orcl
    ORACLE_HOME : D:\app\jeher\product\11.1.0\db_1
    em 에 사용되는 HOSTNAME_SID : jeher_orcl
    에러 증상
    아래의 log는 실제 emca 수행 시 자세한 log를 확인할 수 있는
    D:\app\jeher\cfgtoollogs\emca\orcl\emca_repos_create_2008_03_09_14_39_55.log 의 내용입니다.
    Check if repos user already exists.
    구 6: WHERE username=UPPER('&EM_REPOS_USER');
    신 6: WHERE username=UPPER('SYSMAN');
    구 8: IF ( '&EM_CHECK_TYPE' = 'EXISTS') THEN
    신 8: IF ( 'NOT_EXISTS' = 'EXISTS') THEN
    구 11: raise_application_error(-20000, '&EM_REPOS_USER does not exists..');
    신 11: raise_application_error(-20000, 'SYSMAN does not exists..');
    구 14: ELSIF ( '&EM_CHECK_TYPE' = 'NOT_EXISTS' ) THEN
    신 14: ELSIF ( 'NOT_EXISTS' = 'NOT_EXISTS' ) THEN
    구 17: raise_application_error(-20001, '&EM_REPOS_USER already exists..');
    신 17: raise_application_error(-20001, 'SYSMAN already exists..');
    구 21: raise_application_error(-20002, 'Invalid Check type &EM_CHECK_TYPE');
    신 21: raise_application_error(-20002, 'Invalid Check type NOT_EXISTS');
    DECLARE
    1행에 오류:
    ORA-20001: SYSMAN already exists..
    ORA-06512: 줄 17에서
    Explanation
    이러한 에러는 주로 emca command 중에서 emca -deconfig dbcontrol db -repos drop
    을 수행하다가 Service만 정리가 되고, repository가 깨끗하게 정리가 되지 않고
    오류가 발생하거나 hang 이 발생하는 경우에 나중에 다시 create 시에 나타나는 에러입니다.
    11g emca 수행 시 에러 log는 $ORACLE_BASE\\cfgtoollogs\emca\orcl\ 아래에 생성된 log를 확인합니다.
    Solution Description
    다음과 같은 명령으로 EM Configuration file들과 repository를 정리할 수 있습니다.
    <Note:278100.1> How To Drop, Create And Recreate DB Control In A 10g Database?
    A. Delete DB Control Objects 의 상세 설명은 Manual하게 DB Control을 DELETE하는 절차입니다.
    이 부분을 보시면 아주 자세히 설명되어 있습니다.
    The procedure is the same for 10g R1, R2 and 11g 11.1.0.6.0.
    절차1) Configuration file 정리 작업
    A) To delete the configurartion files:
    - remove the following directories from your filesystem:
    <ORACLE_HOME>/<hostname_sid>
    예를 들어 D:\app\jeher\product\11.1.0\db_1\JEHER_ORCL 이라는 디렉토리를 제거합니다.
    <ORACLE_HOME>/oc4j/j2ee/OC4J_DBConsole_<hostname>_<sid>
    예를 들어 D:\app\jeher\product\11.1.0\oc4j\j2ee\OC4J_DBConsoleJEHER_ORCL 이라는
    디렉토리를 제거합니다.
    B) 레지스트리에서 SERVICE 제거 작업.
    Note: On Windows you aslo need to delete the DB Console service:
    - run regedit
    - navigate to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services
    - locate the OracleDBConsole<sid> entry and delete it
    OracleDBConsoleORCL 이라는 서비스 엔트리를 클릭하고 제거합니다.
    Alternatively on Windows XP and Windows Server 2003 you can run the following from the command line:
    'sc delete <service_name>' where <service_name> is the DB Control service name (typically: OracleDBConsole<sid>)
    절차2) EM repository 를 manual 하게 drop하기.
    To delete the repository
    Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account
    and mangement objects:
    sqlplus "/as sysdba"
    SHUTDOWN IMMEDIATE;
    STARTUP RESTRICT;
    EXEC sysman.emd_maintenance.remove_em_dbms_jobs;
    EXEC sysman.setEMUserContext('',5);
    REVOKE dba FROM sysman;
    DECLARE
    CURSOR c1 IS
    SELECT owner, synonym_name name
    FROM dba_synonyms
    WHERE table_owner = 'SYSMAN'
    BEGIN
    FOR r1 IN c1 LOOP
    IF r1.owner = 'PUBLIC' THEN
    EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
    ELSE
    EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
    END IF;
    END LOOP;
    END;
    DROP USER mgmt_view CASCADE;
    DROP ROLE mgmt_user;
    DROP USER sysman CASCADE;
    ALTER SYSTEM DISABLE RESTRICTED SESSION;
    [참고 사항]
    1) DROP USER mgmt_view CASCADE; 를 수행 시 이미 mgmt_view가 emca -deconfig 명령에 의해
    drop이 되었다면 ORA-1918 ERROR가 발생하는데, 이는 무시합니다.
    "ORA-01918: 사용자 'MGMT_VIEW'(이)가 존재하지 않습니다."
    2) 참고 명령어
    Note: The above(절차2) will completely delete the DB Control repository from the database;
    under certain circumstances (e.g. you want to recreate the repository later on)
    the following statemnts may be sufficient to remove the repository:
    sqlplus "/as sysdba"
    a. drop user sysman cascade;
    b. drop role MGMT_USER;
    c. drop user MGMT_VIEW cascade;
    d. drop public synonym MGMT_TARGET_BLACKOUTS;
    e. drop public synonym SETEMVIEWUSERCONTEXT;
    ===================================
    절차3) EM console HTTP port와 Agent port 설정 해제 작업
    Remove the entries for the old dbconsole information from the
    $ORACLE_HOME/install/portlist.ini file
    제거 작업 단계 중 마지막으로 D:\app\jeher\product\11.1.0\db_1\install\portlist.ini file
    내에서 old dbconsole 정보를 제거합니다.
    [ Example ]
    Ultra Search HTTP 포트 번호 =5620
    Enterprise Manager 콘솔 HTTP 포트(orcl) = 1158
    Enterprise Manager 에이전트 포트(orcl) = 3938
    위와 같이 Enterprise Manager 콘솔 HTTP 포트와 Enterprise Manager 에이전트 포트(orcl)
    가 보이는데, 이 line들을 지웁니다.
    아래의 절차4) 부터 절차8) 까지는 다시 create해주는 과정과 환경 셋업 작업입니다.
    절차4) C:\WINDOWS\system32\drivers\etc\hosts file에서 다음을 추가해 줍니다.
    127.0.0.1 localhost
    10.10.10.10 jeher
    10.10.10.10 은 내 네트워크 환경 -> 로컬연결영역3(Microsoft Loopback Adapter)
    -> 속성(인터넷 프로토콜 TCP/IP)
    -> 속성(다음 ip 주소 사용의 IP 주소가 10.10.10.10)
    위와 같이 확인하여 얻어질 수 있습니다.
    절차5) 다시 emca -config dbcontrol db -repos create 를 수행합니다.
    절차6) 레지스트리에 문자열값 oracle_hostname 이 jeher로 되어 있는 지 확인.
    절차5 가 성공적으로 수행이 되면 관리도구 -> 서비스에 OracleDBConsoleORCL 이라는
    서비스가 다시 생성됩니다.
    - run regedit
    - navigate to HKEY_LOCAL_MACHINE/Software/Oracle/Sysman/OracleDBConsoleORCL
    - 문자열값 oracle_hostname : jeher 로 되어 있는지 확인합니다.
    절차7) emd.properties 에서 timezone 수정
    D:\app\jeher\product\11.1.0\db_1\jeher_orcl\sysman\config 아래에 있는
    emd.properties file에서 agent timezone를 Asia/Seoul 로 대소문자를 구분하여 입력합니다.
    For example)
    omsRecvDir=D:/app/jeher/product/11.1.0/db_1/jeher_orcl/sysman/recv
    agentTZRegion=Asia/Seoul
    이와 같이 저장하고 나옵니다.
    절차8) EM 11g LOGIN 접속 방법.
    https://jeher.kr.oracle.com:1158/em 로 접속하면 됩니다.
    username : sys
    password : oracle
    connect as SYSDBA
    OC4J 에 설치 시 보안 설정이 되어 있으므로, http 가 아닌 https 로 접속해야 합니다.
    11g의 경우, password file이 자동으로 $ORACLE_HOME/dbs (windows 의 경우, $ORACLE_HOME/database) 아래에
    생성되므로, 따로 생성이 불필요합니다.
    remote_login_passwordfile='EXCLUSIVE'로 자동 setting 되어 있습니다.
    References
    <Note:278100.1> How To Drop, Create And Recreate DB Control In A 10g Database?

    I ma using correct sid, have a look at /etc/oratab
    [oracle@rac1 bin]$ echo $ORACLE_SID
    orcl
    [oracle@rac1 bin]$ cat /etc/oratab
    #Backup file is  /raczone/11.2.0/product/11.2.0/dbhome_1/srvm/admin/oratab.bak.rac1 line added by Agent
    # This file is used by ORACLE utilities.  It is created by root.sh
    # and updated by the Database Configuration Assistant when creating
    # a database.
    # A colon, ':', is used as the field terminator.  A new line terminates
    # the entry.  Lines beginning with a pound sign, '#', are comments.
    # Entries are of the form:
    #   $ORACLE_SID:$ORACLE_HOME:<N|Y>:
    # The first and second fields are the system identifier and home
    # directory of the database respectively.  The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    # Multiple entries with the same $ORACLE_SID are not allowed.
    #+ASM1:/raczone/grid_home:N             # line added by Agent
    #dev:/raczone/db_home1:N                # line added by Agent
    #*:/raczone/oem/OracleHomes/db10g:N
    #*:/raczone/oem/OracleHomes/oms10g:N
    #oemrep:/raczone/oem/OracleHomes/db10g:N
    #*:/raczone/oem/db10g:N
    #*:/raczone/oem/oms10g:N
    #oemrep:/raczone/oem/db10g:N
    +ASM1:/raczone/grid_home:N              # line added by Agent
    # *:/home/oracle/OracleHomes/db10g:N
    # *:/home/oracle/OracleHomes/oms10g:N
    emrep:/home/oracle/OracleHomes/db10g:N
    *:/home/oracle/OracleHomes/db10g:N
    *:/home/oracle/OracleHomes/oms10g:N
    oemrep:/home/oracle/OracleHomes/db10g:N
    dev:/raczone/db_home1:N         # line added by Agent
    orcl:/raczone/11.2.0/product/11.2.0/dbhome_1:N          # line added by Agent
    *:/home/oracle/Oracle/Middleware/oms11g:N
    *:/home/oracle/Oracle/Middleware/agent11g:N
    [oracle@rac1 bin]$

  • Error While Creating Repository Content at the time of  Installation

    Hi Guys,
    When i'm trying to create repository content at the time of informatica installation i'm getting error "Cannot create repository content or restore".
    I'hve attached the log file below
    ONE')
    INSERT INTO REP_CARD_TYPE VALUES (4, 'MANY TO MANY')
    CREATE TABLE REP_TARG_TYPE
    TARGET_TYPE integer,
    TYPE_NAME varchar(20)
    INSERT INTO REP_TARG_TYPE VALUES (0, 'NONE')
    INSERT INTO REP_TARG_TYPE VALUES (1, 'DIMENSION')
    INSERT INTO REP_TARG_TYPE VALUES (2, 'FACT')
    CREATE VIEW REP_DATABASE_DEFS AS SELECT
    DISTINCT
    DBDNAM DATABASE_NAME,
    SRCNAM DEF_SOURCE,
    SUBJ_NAME SUBJECT_AREA,
    NULL VERSION_ID,
    OPB_DBD.VERSION_NUMBER DATABASE_VERSION_NUMBER
    FROM OPB_DBD, OPB_SUBJECT, OPB_SRC
    WHERE OPB_DBD.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND
    OPB_SRC.DBDID = OPB_DBD.DBDID AND
    OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND
    OPB_SRC.IS_VISIBLE = 1
    ORA-01031: insufficient privileges
    Database driver error...
    Function Name : executeDirect
    SQL Stmt : CREATE VIEW REP_DATABASE_DEFS AS SELECT
    DISTINCT
    DBDNAM DATABASE_NAME,
    SRCNAM DEF_SOURCE,
    SUBJ_NAME SUBJECT_AREA,
    NULL VERSION_ID,
    OPB_DBD.VERSION_NUMBER DATABASE_VERSION_NUMBER
    FROM OPB_DBD, OPB_SUBJECT, OPB_SRC
    WHERE OPB_DBD.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND
    OPB_SRC.DBDID = OPB_DBD.DBDID AND
    OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND
    OPB_SRC.IS_VISIBLE = 1
    Oracle Fatal Error
    Database driver error...
    Function Name : ExecuteDirect
    Oracle Fatal Error
    Error occurred while creating the repository
    An error has occurred while creating contents. Dropping repository tables...
    Create Contents operation on repository [Oracle_BI_DW_Base] ended at 08/10/2009 11:50:49. Elapsed time is 0:00:10.
    [[REP_57106] Repository operation error. See repository service log for detailed information.]
    Failed to execute create.
    Completed at Mon Aug 10 11:50:49 2009
    Error:
    ExitCode: 1
    Installation Complete
    ======================

    Hi Rama,
    You don't need to give your etl_ram user a dba role.
    Please refer to the Oracle® Business Intelligence Applications - Installation Guide for Informatica PowerCenter Users, especially to chapter +4.4.1 Create Databases for Oracle BI Applications and Informatica PowerCenter Components+
    Quoting:
    Make sure that the Oracle Business Analytics Warehouse instance is granted the SSE_ROLE. For more information, see Section 4.4.1.1, "How to Create the SSE Role."
    This role would typically get more privileges than just CONNECT and RESOURCE.
    Hope it helps,
    Michal

  • Error while adding repository user

    Hi,
    We have a repository and a user associated to that 10.2.0.3, we dropped repository owner (schema) and re created a fresh repository with out un regestering
    the repository_user(target) , after creating new repository we dropped the table (WB_RT_VERSION_FLAG) from target schema and tried to add this as target to the new repository from OWB Client as repository_owner , then we get insufficient privilages( it asks only target password not sys) error.
    I tried to add the target using repository assistant there i don't see this target user in the list of users
    Please help me how can i resolve this
    Error message from OWB CLIENT
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
         at oracle.wh.repos.pdl.security.UserManager.getTgtCtrlCtr(UserManager.java:2131)
         at oracle.wh.repos.pdl.security.SecurityModuleImpl.getTgtCtrlCtr(SecurityModuleImpl.java:1627)
         at oracle.wh.ui.security.UserTargetSchemaPanel.detectTgtUserBelongToAnotherCtrlCenter(UserTargetSchemaPanel.java:258)
         at oracle.wh.ui.security.UserTargetSchemaPanel.onExit(UserTargetSchemaPanel.java:192)
         at oracle.wh.ui.owbcommon.OWBWizard.wizardValidatePage(OWBWizard.java:990)
         at oracle.bali.ewt.wizard.WizardPage.processWizardValidateEvent(Unknown Source)
         at oracle.bali.ewt.wizard.WizardPage.validatePage(Unknown Source)
         at oracle.bali.ewt.wizard.BaseWizard.validateSelectedPage(Unknown Source)
         at oracle.bali.ewt.wizard.BaseWizard.doNext(Unknown Source)
         at oracle.bali.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
         at java.awt.Dialog$1.run(Dialog.java:542)
         at java.awt.Dialog$3.run(Dialog.java:569)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:567)
         at java.awt.Component.show(Component.java:1133)
         at java.awt.Component.setVisible(Component.java:1088)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(Unknown Source)
         at oracle.wh.ui.owbcommon.OWBWizard.initialize(OWBWizard.java:815)
         at oracle.wh.ui.owbcommon.OWBWizard.<init>(OWBWizard.java:168)
         at oracle.wh.ui.owbcommon.OWBWizard.<init>(OWBWizard.java:147)
         at oracle.wh.ui.owbcommon.IdeUtils._doLaunchDefinition(IdeUtils.java:1188)
         at oracle.wh.ui.owbcommon.IdeUtils.showWizard(IdeUtils.java:471)
         at oracle.wh.ui.owbcommon.IdeUtils.showWizard(IdeUtils.java:427)
         at oracle.wh.ui.jcommon.tree.WBRepositoryObjectTree.launchWizard(WBRepositoryObjectTree.java:502)
         at oracle.wh.ui.console.commands.CreateByWizardCmd.showUI(CreateByWizardCmd.java:33)
         at oracle.wh.ui.console.commands.CreateCmd.performAction(CreateCmd.java:76)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Suresh

    Hi Suresh,
    for the target user, you have to drop all his synonyms and revoke all his roles with owb in their names before you can register him to another repository.
    Regards,
    Carsten.

Maybe you are looking for

  • Why are my transitions displaying the wrong portion of the clip?

    Hello, I am working on a short film, and am having trouble with several of my transitions. After editing the sequence in Premiere, I performed the color grading via direct link to SpeedGrade. The Lumetri effects from Speedgrade are applied to an adju

  • Family Guy:Blue Harvest

    I bought the Famliy Guy:Blue Harvest dvd. Since I haven't watch the DVD itself, I wanted to put the digital copy on my ipod to watch on the train. Is anyone else not having it work? It says the pass code is not correct.

  • Opening two blocks at a time

    hi i am yugandhar! i just wanted to know whether i can open two blocks at a time if they are on different canvass

  • Applescript for deleting user folders

    Hi, So I am managing a group of about 80+ iMacs and an Xserve.  I would like to delete the contents of the users folder excluding the arduser (user i will be using to run script), shared folder and a desktop alias file.  I want to be able to connect

  • TS1702 how to uninstall app

    I need to uninstall an app, then reinstall.  My Square reader is not working on my Apple phone and that was the suggestion that was made to try to get it to work.  Can someone help me