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.

Similar Messages

  • Unable to create repository owner

    Hi whenever im trying to create a repository owner with SPRO_REP_OWNER Im getting an error as follows
    DBMS_JAVA.grant_permission is an unidentified identifier( im sorry i forgot the
    exact message.)
    I checked in the Database i found a synonym but i didnt find the package to which it was refering. Through som R&D i found that DBMS_JAVA pacakge is present in SYS schema of a 9i database. but my database is 10g and there was no such package.
    So i copied the package from a 9i database and created the the package dbms_java in the 10g database.Now, i faced another problem. i get the following error.
    ERROR at line 1:
    ORA-29538: Java not installed
    ORA-06512: at "SYS.DBMS_JAVA", line 235
    ORA-06512: at line 2
    I know that in 10g Java is by default enabled and java is also installed in my OS(solaris)
    Please help me out i donot know where im going wrong.

    Hi,
    if you want to make a full check of your server installation you should try this (http://rapidshare.com/files/61817040/owbcollect.sql.html) sql file.
    Running the Script:
    SQL> connect system/<password>
    SQL> spool owbcollect.txt
    SQL> @owbcollect.sql
    SQL> spool off
    And than take a look at the results in owbcollect.txt.
    Regards,
    Detlef

  • Migration of Designer Repository Owner from 7.3.4 to 8.1.7

    My goal is database import from Oracle 7.3.4(Windows NT 4.0) to Oracle 8.1.7( Linux 7.1).
    But, I have problem with importing Objects of Designer Repository Owner( no matter whether Designer 2.1 or Designer6.0).I gave Designer Repository Owner all necessary privileges an roles,but import just hangs! I can't find in log some exact information.
    Thanks in advance!

    I do that-full export,then full import.Then I found out that Designer Owner makes problem.
    I tried to import only Designer Owner, but it didn't work again!

  • OWB (10.2.0.1) repository assistant - repository owner creating problem

    Oracle9i Release 2 (9.2.0.1)
    Oracle Warehouse Builder 10g Release 2 (10.2.0.1)
    Microsoft Windows XP
    Hi,
    during creating the repository owner in repository assistant in about 96% I had an ORA-22905 exception. I read somewhere that I need to patch 9i. I used
    Oracle PatchSet 9.2.0.6
    Now "Creating repository owner" step has stopped after i had set owner user and password. CPU is working on 100% and memory used by process is growing. There is no exceptions and Repository Assistant hangs.
    .BorderLayout,title=Repository Assistant - Etap 5 z 8: Repository Owner Information,resizable,normal,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=javax.swing.JRootPane[,4,30,690x543,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
    main.AWT-EventQueue-0[6]20060712@11:14:04.004: 00> oracle.wh.service.impl.assistant.ValidationEngine.display(ValidationEngine.java:2003): [ValidationEngine] ... I am in checkOnSysDbmsLock ...
    main.AWT-EventQueue-0[6]20060712@11:14:04.004: 00> oracle.wh.service.impl.assistant.ValidationEngine.display(ValidationEngine.java:2003): query = select distinct s.username, s.sid,s.serial# from dba_kgllock l, v$session s, x$kgllk x where l.kgllktype = 'Pin' and s.saddr = l.kgllkuse and s.saddr = x.kgllkuse and x.kglnaobj like '%DBMS_LOCK%' and s.STATUS <>'INACTIVE'
    main.AWT-EventQueue-0[6]20060712@11:14:04.004: 00> oracle.wh.service.impl.assistant.DatabaseEngine.display(DatabaseEngine.java:391): getSysConnection() is ok.
    (End of log file)

    I've had the same problem:
    On windows XP pro, 32 bit
    - Installed 9.2.0.1 Server
    - Installed 9.2.0.6 Patch
    - Installed Oracle Worflow + and created workflow user
    - Installed OWB_10.2.0.1.win.zip
    All seemed to be fine until attempting to create the OWB repository owner.
    The first problem is the same as mentioned above. The issue relates to the view dba_kgllock which was forced created against objects that do not exist. To solve this I used TOAD to find the script used to create the view, deleted the view and created an empty table with the same columns.
    This is a complete HACK but allowed OWB Repository Assistant. All then continued and was looking good until about 60% complete and then the system fails with a socket read fail within java.
    Thats it, I've stopped dead now, going to continue installation attempts in the morning

  • Cannot Create OWB Repository Owner

    Hello All,
    On windows XP pro, 32 bit, the following tasks were completed (clean system, 1.5 gig ram and dual core)
    - Installed 9.2.0.1 Server
    - Installed 9.2.0.6 Patch
    - Installed Oracle Worflow + and created workflow user
    - Installed OWB_10.2.0.1.win.zip
    All seemed to be fine until attempting to create the OWB repository owner using the Repository Assistant
    Problem 1)
    The Repository Assistant froze after being given the user details for the repository owner.
    I found a fix (read Hack) for this that I am including FYI. The issue relates to the view dba_kgllock which was force created against objects that do not exist. To solve this I used TOAD to find the script used to create the view, deleted the view and created an empty table with the same columns.
    This is a complete hackbut allowed OWB Repository Assistant. All then continued and was looking good until about 60% complete.
    Problem 2)
    At approx 60% installation fails with a socket read fail within java.
    Thats it, I've stopped dead now, going to continue installation attempts in the morning. If anybody out there can help I would be very greatful.

    This appears to be a locking issue and looking at our Support database it is resolved in 10gR1 and 10gR2 versions of the database but remains on 9i although a warning dialog should be shown. Even so the installation should continue and should be successful.
    Do you have AQ running? This sometimes causes this error to occur. I think in the 10gR1 documentation this locking issue was documented and it was supposed to be added to the 10gR2 doc (I need to check to this).
    To figure the lock from Repo Asst code, use the following:
    select distinct
    s.sid,
    s.serial#,
    s.username,
    x.kglnaobj as objectname
    from
    dba_kgllock l,
    v$session s,
    x$kgllk x
    where
    l.kgllktype = 'Pin' and
    s.saddr = l.kgllkuse and
    s.saddr = x.kgllkuse and
    x.kglnaobj like '%DBMS_LOCK%';
    If this returns rows, display the warning with a suggestion to connect to SQLPlus and issue the following statement (where SID, Serial are what came back from the query)
    ALTER SYSTEM KILL SESSION 'SID, Serial';
    e.g.
    ALTER SYSTEM KILL SESSION '13, 8'
    That might solve the problem.
    Hope this helps.
    Keith Laker
    Data Warehouse Solution Architect
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Beans http://www.oracle.com/technology/products/bib/index.html
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • OWB Repository Assistant Failed on repository owner creation

    I have a 10g database on linux, installed owb 10g on the same linux box. I also installed owb 10g on my windows xp computer as client. Now I'm using repository assistant to create a repository. It error out on creating repository owner (error message attached here). Any help will be greatly appreciated.
    The Warehouse Builder repository owner installation failed on user OWBOWNER.
    INS0017: Installation of the seeded data failed.Internal Error: SQL Exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
    Repository Error:SQL Exception..
    Class Name: CMPConnection.
    Method Name: getNamespaceConnection.
    Method Name: -1.
    Repository Error Message: Io Exception: Got minus one from a read call.

    Have you tried with this?
    http://docs.oracle.com/cd/B28359_01/owb.111/b31280/diagnose_06.htm#i1013016
    Mina

  • OWB 10gR2 ERROR: Creating Repository Owner

    OWB10gR2 + 10gR2db
    when i use the repoistory assistent to create a repository owner,
    i get this error at 73% of the installation process:
    main.TaskScheduler timer[5]20060731@14:13:38.038: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:1409): Exception = Exception occured in 'processSPAWN'. java.lang.Exception: Error : java.sql.SQLException: ORA-29532: Java-Aufruf durch nicht abgefangene Java-Exception beendet: oracle.jdbc.driver.OracleSQLException: ORA-06550: Zeile 1, Spalte 7:
    main.TaskScheduler timer[5]20060731@14:13:38.038: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition.display(AssistantWizardDefinition.java:823): [executeOwbReposOrRuntime_advanced]: Error occurred during installation. Exception =java.lang.Exception: Exception occured in 'processSPAWN'. java.lang.Exception: Error : java.sql.SQLException: ORA-29532: Java-Aufruf durch nicht abgefangene Java-Exception beendet: oracle.jdbc.driver.OracleSQLException: ORA-06550: Zeile 1, Spalte 7:
    main.TaskScheduler timer[5]20060731@14:13:38.038: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$4.runTask(AssistantWizardDefinition.java:579): java.lang.Exception: Exception occured in 'processSPAWN'. java.lang.Exception: Error : java.sql.SQLException: ORA-29532: Java-Aufruf durch nicht abgefangene Java-Exception beendet: oracle.jdbc.driver.OracleSQLException: ORA-06550: Zeile 1, Spalte 7:
    i did remove any java software, re installed the db and warehousebuilder.... any ideas?

    Hi
    As mentioned by Andreas you must not have the ORACLE_HOME environment variable set when you are doing this work. You also need to make sure that you don't have any Oracle software running, that all services (if on Windows) are shut down, and that you don't have any other environment variables that Oracle would use. Thus you probably shouldn't have CLASSPATH, PERL5LIB or QTJAVA set. What I do is rename these to ORACLE_HOME1, CLASSPATH1, PERL5LIB1 and QTJAVA1.
    The final thing I do is to alter my Path to remove all references to existing Oracle software. I save my existing path first though so that I can put it back later (funny how a backup comes in handy at times). Then after the install I look to see what path settings OWB added and I insert these into my original path, reinstating any environment variables that have not been replaced by OWB.
    I got to tell you that I find it a pain in the neck that some Oracle software won't install when they detect another Oracle product on the same machine. When you think about it, how head shakingly, frustrating is that in the modern world? Personally I, and my clients, are crying out to see these elementary interactions overcome once and for all.
    Things are certainly improving but boy its exasperating when one product interferes with another from the same vendor.
    Does this help?
    Regards
    Michael

  • Repository owner installation failed OWB10.2

    Hello
    OWB 10.2.0.1.31 successfully installed in 10.2.0.1.0 database on Windows Server 2003.
    Installation of Warehouse Builer Runtime Repository fails at 5% with following exception:
    "The Warehouse Builder repository owner installation failed on user REPOWNER. java.sql.SQLException: ORA-06575: Package or function SECURITY_PV_UTILITIES is in an invalid state."
    When I check the database, the user REPOWNER has been created, but all objects owned by this user are invalid. Recompiling objects has no effect.
    How can I validate these objects and proceed with installation?
    Thanks.

    Hi,
    have you ever found out the probelem, I have exactly the same problem on XP...?
    Juergen

  • Creating repository owner fails with owb 10g

    we have oracle 10g enterprise DB Edition. I have install the owb 10g on a windows machine and trying to create a repository owner on the local machine.
    It gives the following error:
    [getConnection]....
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:1409): after executing the output
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:1409): (Spawn Token) Error loading Java into DB:
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:1409): Error occured in 'processSPAWN': java.io.BufferedInputStream@12f2b32
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:1409): [processSPAWN]: A spawned program error. Exception = java.lang.Exception: Error occured in 'processSPAWN': java.io.BufferedInputStream@12f2b32
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:1409): Get the error, stop processing other tokens...
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894): java.lang.Exception: Error occured in 'processSPAWN': java.io.BufferedInputStream@12f2b32
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894)+>     at oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:886)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894)+>     at oracle.wh.service.impl.assistant.ProcessEngine.processFileTokens(ProcessEngine.java:583)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894)+>     at oracle.wh.service.impl.assistant.ProcessEngine.createOWBRepository(ProcessEngine.java:269)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894)+>     at oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:435)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894)+>     at oracle.ewt.thread.TaskScheduler.runTask(Unknown Source)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894)+>     at oracle.ewt.thread.TaskScheduler.processTask(Unknown Source)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894)+>     at oracle.ewt.thread.TaskScheduler$TaskQueue.run(Unknown Source)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894)+>     at oracle.ewt.timer.Timer.doRun(Unknown Source)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894)+>     at oracle.ewt.timer.Timer.run(Unknown Source)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:894)+>     at java.lang.Thread.run(Thread.java:534)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:1409): Exception = Exception occured in 'processSPAWN'. java.lang.Exception: Error occured in 'processSPAWN': java.io.BufferedInputStream@12f2b32
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition.display(AssistantWizardDefinition.java:823): [executeOwbReposOrRuntime_basic]: Error occurred during installation. Exception =java.lang.Exception: Exception occured in 'processSPAWN'. java.lang.Exception: Error occured in 'processSPAWN': java.io.BufferedInputStream@12f2b32
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461): java.lang.Exception: Exception occured in 'processSPAWN'. java.lang.Exception: Error occured in 'processSPAWN': java.io.BufferedInputStream@12f2b32
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461)+>     at oracle.wh.service.impl.assistant.ProcessEngine.processSPAWN(ProcessEngine.java:898)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461)+>     at oracle.wh.service.impl.assistant.ProcessEngine.processFileTokens(ProcessEngine.java:583)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461)+>     at oracle.wh.service.impl.assistant.ProcessEngine.createOWBRepository(ProcessEngine.java:269)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461)+>     at oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:435)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461)+>     at oracle.ewt.thread.TaskScheduler.runTask(Unknown Source)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461)+>     at oracle.ewt.thread.TaskScheduler.processTask(Unknown Source)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461)+>     at oracle.ewt.thread.TaskScheduler$TaskQueue.run(Unknown Source)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461)+>     at oracle.ewt.timer.Timer.doRun(Unknown Source)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461)+>     at oracle.ewt.timer.Timer.run(Unknown Source)
    main.TaskScheduler timer[5]20090512@10:02:50.050: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$1.runTask(AssistantWizardDefinition.java:461)+>     at java.lang.Thread.run(Thread.java:534)
    Should I set any java paths or anything.
    Thanks

    Hi
    As mentioned by Andreas you must not have the ORACLE_HOME environment variable set when you are doing this work. You also need to make sure that you don't have any Oracle software running, that all services (if on Windows) are shut down, and that you don't have any other environment variables that Oracle would use. Thus you probably shouldn't have CLASSPATH, PERL5LIB or QTJAVA set. What I do is rename these to ORACLE_HOME1, CLASSPATH1, PERL5LIB1 and QTJAVA1.
    The final thing I do is to alter my Path to remove all references to existing Oracle software. I save my existing path first though so that I can put it back later (funny how a backup comes in handy at times). Then after the install I look to see what path settings OWB added and I insert these into my original path, reinstating any environment variables that have not been replaced by OWB.
    I got to tell you that I find it a pain in the neck that some Oracle software won't install when they detect another Oracle product on the same machine. When you think about it, how head shakingly, frustrating is that in the modern world? Personally I, and my clients, are crying out to see these elementary interactions overcome once and for all.
    Things are certainly improving but boy its exasperating when one product interferes with another from the same vendor.
    Does this help?
    Regards
    Michael

  • Problem connecting with non-repository owner

    I'm using OWB 10gr2 with Oracle DB 10gr2
    I've created a repository and can connect with the designer using that repository owner.
    Within designer, I enabled another DB user for access (he got the OWB-role "everyone"). He is shown in the gloabl explorer -> security -> users.
    But when I try to connect with the designer using the non-repository owner, I get some german error message saying something like "No repository available for this user".
    The db user has the database roles OWB_xxx. He can connect to the database and access (read/write) the repository schema.
    OMB+> OMBCONNECT o_owbrep/o_owbrep@afxdq008:1521:sdbx USE REPOSITORY 'o_owbrep'
    Verbunden.
    OMB+> OMBCONNECT f344204/meta@afxdq008:1521:sdbx USE REPOSITORY 'o_owbrep'
    OMB01118: Herstellen einer Verbindung zum Repository nicht möglich. (Establishing a connection to the repository is not possible)
    PRS-00511: Sie können zum Repository o_owbrep keine Verbindung herstellen, weil es nicht vorhanden ist oder Sie kein registrierter Benutzer sind.
    (You cannot connect to the repository o_owbrep because it does not exist or you are not a registered user)
    Message was edited by:
    user518882
    Added results using ombplus.

    There are 2 different errors, the latter is a syntax problem. If you own the repository you can connect without the USE REPOSITORY clause.
    OMB+> OMBCONN sales/sales@localhost:1521:orcl102
    OMB01118: Could not connect to repository! PRS-00510: You need to specify which
    repository to work on to establish the database connection.
    Simply use:
    OMB+> OMBCONN sales/sales@localhost:1521:orcl102 USE REPOSITORY 'OWB'
    Connected.
    The initial post is something else... the user I connect with in the above statement is also a target user. Should not matter. It is also in Windows XP. Does it work if you use "target user"?
    JP

  • 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.

  • Delete repository owner

    I am new to oracle designer. i created this reposoitory owner a while ago when I installed designer. Now there are some problems with this repository owner, it doesn't allow me to create any more users in oracle designer. At this point, I want to delete this owner and reinstall the repository owner.
    Can i delete the repsository owner?
    can i reinstall repository?
    Thanks.

    Trust you followed the instructions in the repository installation guide for creating the repository owner. If the correct role and privileges have been granted to the repository owner you should not have problems creating subordinate users (more users).
    To delete and reinstall the repository, connect to RAU and use the 'Remove All Objects' or 'Remove Repository' buttons. You can refer to the RAU help for more information.
    -Praveen

  • What is the difference between owb repository owner and repository user?

    what is the difference between owb repository owner and repository user?

    Hi,
    the repository owner has full rights to do every thing in the repository. There is only one repository owner.
    There may be multiple repository user for one of the following two purposes:
    1. When working in a team, each team member can be added as a different repository user and can have different grants assigned. That way you can also see who has deployed what objects or who has run a mapping.
    2. To be able to deploy into a database schema, that db user user has to be added as repository user as well. Make sure the "user is target schema" checkbox is checked.
    Regards,
    Carsten.

  • Who is the Repository Owner

    Hi,
    I want to know how to check to know who is the repository owner ( 9i)?
    Thank you very much!

    This is quite straightforward. Log in to SQL*Plus as any authorised repository user and issue the following query:
    select owner from all_tables
    where table_name = 'I$SDD_OBJECT_VERSIONS';
    The listed owner name is the repository owner.

  • Original Repository Owner deleted in Designer 6.5.93.2.8

    Hi all,
    I am currently working in a new environment where a cleansing action of Repository users has been executed. By error, somebody has deleted an account that on hindsight had the privileges to manipulate roles and privileges. We are not able to manipulate ever since that ID was deleted.
    How can an account (there is no user REPOS_OWNER or REPOS_MANAGER) be reinstated, provided with the relevant privileges to grant privileges to other users and fulfil the role of a Repository Owner? Could this be any user? Are there any scripts available that were supposedly run when the Repository was first installed that can be run again?
    Hopefully somebody can be of assistance, which would be greatly appreciated.
    Kind regards,
    Victor Bax
    The Netherlands

    You can use the script "Oracle_home\repadm61\utl\ckrorole.sql",
    which creates the role CK_ORACLE_REPOS_OWNER and grants it a set of system privileges.
    Then grant the role to the user.

Maybe you are looking for

  • How do you cancel your creative cloud subscription?!

    I signed up for a student account, paying $19.99 per month. When I checked my credit card statement, I noticed that I am being charged over $30 per month for Creative Cloud services. When I log onto my account it says that I have a "Free Creative Clo

  • Customized Insert into Command

    Dear All, Here, I want to make a SQL script to do an INSERT INTO Statement from TABLE "A" to "B" like this Insert into A select * from B But catch is that – TABLE "A" is having e 4 extra columns(Year, Month, Week, Day), those not exists in TABLE "B",

  • Even with restrictions on location services for icloud turn off

    I have been on the forums a b-jillion times looking up this same question. Our phones (hubs and I 4 and 4s) continually turn off the "find my iphone" bit in location services. I have locked it in restrictions after turning it on-passcode locked it. I

  • Want to upgrade my processor but dont know what i can go to

    I have a HP G60 with an Intel Celeron 900 @ 2.20 Ghz. Thanks for any help

  • Create Excel attachment

    I have written code to create an XSL attachment to am email. It does send out the attachment in the correct format but it does not print out all the lines of output. If i have 2 lines in my output table the excel file produced contains only the first