Do not drop DMSYS user on Oracle 11 upgrade.

Hello;


Version Oracle 11.2.0.2
OS version Red Hat 5 AS U7

I missed fall DMSYS user on a database and now I display the invalid objects for DMSYS. I dropped DMSYS casacde, but things always show.

I searched MOS documents but have not found a cleaning paper.

Can someone point me to the right direction?

Not having not problem, just want to clean.

There is a step by step procedure here: http://docs.oracle.com/cd/E11882_01/datamine.112/e16807/upgrade_odm.htm

After droping DMSYS user with the cascade option make sure you:

SQL> DELETE FROM sys.exppkgact$ WHERE schema = 'DMSYS';
SQL> SELECT COUNT(*) FROM dba_synonyms WHERE table_owner = 'DMSYS';

If the result of the select is not zero lines, create and run a SQL script as follows:

SQL> set head off
SQL> spool directory_path/drop_dmsys_synonyms.sql
SQL> SELECT 'Drop public synonym ' ||'"'||SYNONYM_NAME||'";'
             FROM DBA_SYNONYMS WHERE TABLE_OWNER = 'DMSYS';
SQL> spool off
SQL> @directory_path/drop_dmsys_synonyms.sql

Tags: Database

Similar Questions

  • Impossible to drop the user after abruptly stop (Ctrl + C) impdp oracle 12.1.0.1.0.

    Hello Experts-

    Help me please drop the user.

    SQL > select sid from session $ v where username = "POLICY";

    no selected line

    SQL > drop user cascade of POLICY;

    drop the cascade of user POLICY

    *

    ERROR on line 1:

    ORA-00604: an error has occurred at the SQL level 1 recursive

    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired

    Read the error message; the error is not about removing a user, it's dropping of the user OBJECTS, which were used at the time of the fall of attempt.  Import (so an insertion) was interrupted while Oracle has roll back the transaction, which takes time and locks the object.  Once the restore is complete, the locks have been released and the user, as well as all the objects for this user, could be deleted.

    David Fitzjarrell

  • [INS-32104] User Oracle Home specified is not the owner of the Oracle Base specified.

    10 years of a row to install Oracle client, but not now.

    It is written error on step specify installation location

    [INS-32104] User Oracle Home specified is not the owner of the Oracle Base specified.

    Action - Make sure you specify the Oracle Home user who is the owner of the selected Base Oracle.

    I tried and different user to install, appropriating on c:\app\user

    authenticates users and led by different users, I tried all ways,

    but it won't start!

    Any ideas what to do?

    oracle_client.jpg

    I want to use Dev of PL/SQL that uses the 32-bit client only.

    I do not have Oracle Support account, sorry.

    In fact I just fixed problem by changing the ORACLE_HOME again that is not yet created HOME

  • User removed after the upgrade to Oracle 12 c

    Hello

    Recently, I tried to update my database to Oracle Database 11 g Release 2 (11.2.0.4 and 11.2.0.3). After completing the "database upgrade Assistant" running, I discovered that the user logged on to my diet has been removed and I can not access the system.

    During the upgrade of the "Upgrade database Wizard" process I couldn't remember see all which implies that the use could be deleted, pouvez please let me know what could I have possibly missed?

    Notice that I can have full access to the user sys and system.

    Thanks in advance.

    The upgrade doesn't drop not all database users.

    I guess you mean the database user (account) - as visible in DBA_USERS.

    Don't have you list the user names in DBA_USERS?

    What is the error you get when you try to connect?  Distinction case password would result by "ORA-01017: name of user and password invalid; logon denied error message", simply because the failure of the validation of password (even if the user exists in the database)

    Hemant K Collette

  • Impossible to drop the user in TimesTen

    Hi all

    I created a data store: "tt_demo."
    Created a user: 'test' and he granted "Admin, connect, create table, select on SYS. $OBJ ".
    Created a simple table: emp and inserted two records.

    Now, I need to drop this user, so I plugged to the data as a store below:

    [*oracle*@exalytics bin] $. / ttisql
    Command > Connect "dsn = tt_demo";
    Successful login: DSN = tt_demo; UID = oracle;...

    But when I try to drop the user I get following errors:

    Order > drop user test.
    15168: cannot remove a user who has database objects (TABLE TEST. EMP)
    The command failed.
    Order > drop user test cascade;
    805: DROP USER... CASCADE has not been implemented
    The command failed.

    CASCADE is not supported by the TTT?
    Can someone let me know the solution for this?

    FYI, Version TT: 11.2.2.4.1

    Thank you
    Srikanth

    According to the error message we have yet not DROP USER... CASCADE.

    So to remove a user, you must first delete all the objects belonged to this user.

    Chris

  • Cannot drop the USERS tablespace.

    Hi all

    I am trying to drop tablespace USERS and in the face of error below.

    PLATFORM:
    OS: Linux Ubuntu 9.04, LTS
    SQL > select * from v version $;

    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    AMT for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    PROBLEM:
    SQL > drop tablespace users, including content and files of data cascade constraints;
    Drop tablespace users including data files and content cascade constraints
    *
    ERROR on line 1:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-24005: must use DBMS_AQADM. DROP_QUEUE_TABLE to drop queue tables


    When I see, dba_queue_tables...
    SQL > select the owner, queue_table from dba_queue_tables object_type.

    OWNER OBJECT_TYPE QUEUE_TABLE
    ------------------------------ ------------------------------ -------------------------------------------------------------
    SYS ALERT_QT SYS. ALERT_TYPE
    SYS AQ$ _MEM_MC
    SYS AQ_EVENT_TABLE SYS. AQ$ _EVENT_MESSAGE
    SYS AQ_SRVNTFN_TABLE SYS. AQ$ _SRVNTFN_MESSAGE
    SYS KUPC$ DATAPUMP_QUETAB SYS. KUPC$ _MESSAGE
    SCHEDULER SYS $_EVENT_QTAB SYS. PLANNER$ _EVENT_INFO
    SCHEDULER SYS $_JOBQTAB SYS. ANYDATA
    SYS SYS$ SERVICE_METRICS_TAB SYS. SYS$ RLBTYP
    SYSMAN MGMT_NOTIFY_QTABLE SYSMAN. MGMT_NOTIFY_NOTIFICATION
    SYSTEM DEF$ _AQCALL
    DEF SYSTEM $ _AQERROR

    11 selected lines.

    Also, there no tables in the tablespace USERS now, as I moved to another tablespace.
    SQL > select count (*) from dba_tables where nom_tablespace = 'USERS ';

    COUNT (*)
    ----------
    0

    Tablespace USERS is not permanent tablespace, as I changed to another, always the problem.
    SQL > select property_name, name from database_properties where PROPERTY_NAME = 'DEFAULT_PERMANENT_TABLESPACE. '

    PROPERTY-NAME NAME
    ------------------------------ ------------------------------
    DEV DEFAULT_PERMANENT_TABLESPACE


    Can you please help me drop the USERS tablespace.

    Hi boss,

    Please find the solution for the same problem, but by dropping the user. Try the same for the Tablespace too.

    SQL > drop user cascade COLOMBO_LIVE;
    drop the waterfall COLOMBO_LIVE user
    *
    ERROR on line 1:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-24005: must use DBMS_AQADM. DROP_QUEUE_TABLE to drop queue tables

    SQL > select object_name from user_OBJECTS;

    OBJECT_NAME
    -------------------------------------------------------------------------

    MYQ
    SYS_LOB0001130873C00025$ $
    SYS_C001810004

    SQL > drop table myq;
    drop table myq
    *
    ERROR on line 1:
    ORA-24005: must use DBMS_AQADM. DROP_QUEUE_TABLE to drop queue tables

    SQL > exec sys. DBMS_AQADM. DROP_QUEUE_TABLE (queue_table-online 'MYQ', force-online TRUE);

    PL/SQL procedure successfully completed.

  • A fall connected users in Oracle DB

    I want to put some users in Oracle DB using sqlplus but I get the error message:

    SQL > test DROP USER CASCADE;.
    Test of DROP USER CASCADE
    *
    ERROR on line 1:
    ORA-01940: cannot delete a user who is currently logged on

    But when I ran under control for connected sessions I get no results:

    SQL > select sid, serial # of the v session $ where username = 'test ';

    no selected line
    Please help me how to remove users from this case.

    User names, like all other objects in the database, are case-sensitive when City as strings. Try this variation on your code:

    select sid,serial# from v$session where username = 'TEST';
    {code}
    Cheers, APC                                                                                                                                                                                                                                                                                                                                                                                                                                                
    
  • Block users in Oracle Identity Manager 9.1.0.2

    Hello
    I have a status (locked user) query of the user in Oracle Identity Manager 9.1.0.2.
    The possibility for users to block, seen in the Oracle Identity Manager web administration console appears in the disabled state. As I can enable this feature in Oracle Identity Manager 9. ?

    Thanks for the support

    Have not exactly your question.

    Whenever someone tries to login with password wrong, then he gets locked in the IOM. You will need to go to the administration Console and unlock it. You can also do this in DB as well.

    To lock the user to the administration console, you must create a custom button and extend the class action to block this user in IOM.

    Workaround

    Create a UDF called LOCK.
    Create a trigger on this UDF, i.e. whenever changes of true LOCK, then lock the user using query DB or API (UPDATEUSER - user Users.Lock)

  • Could not load file or assembly ' Oracle.DataAccess error on server

    I construisent.net application on my Machine local Windows 7 and I have the 32-bit Microsoft installed on my machine that works well with VS 2010.

    I placed it on the server and when I open the page that accesses data from Oracle, I get the error below. The server and my local computer have the Oracle.DataAccess
    DLL installed and both have the same public token 89b483f429c47342. I changed the CPU of Any CPU target to x 86 and published a Release version of my project to the server.

    Why I get the below error?

    ==========================================================================================================
    Could not load file or assembly 'Oracle.DataAccess, Version = 4.112.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342' or one of its dependencies. The system cannot find the specified file.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and its origin in the code.

    Exception details: System.IO.FileNotFoundException: could not load file or Assembly 'Oracle.DataAccess, Version = 4.112.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342' or one of its dependencies. The system cannot find the specified file.

    Source error:

    An unhandled exception is generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception below stack trace.

    Assembly Load Trace: the following information may be helpful to determine why the assembly 'Oracle.DataAccess, Version = 4.112.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342' could not be loaded.


    WRN: Assembly binding logging is disabled.
    To enable the failure of link Assembly record, set the registry value [HKLM\Software\Microsoft\Fusion! EnableLog] (DWORD) to 1.
    Note: There is some pain associated with a record of failure performance link Assembly.
    To disable this feature, remove the registry value [HKLM\Software\Microsoft\Fusion! EnableLog].



    Stack trace:


    [FileNotFoundException: could not load file or assembly 'Oracle.DataAccess, Version = 4.112.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342' or one of its dependencies.] The system does not find the specified file].
    antac.dashboard.Page_Load (Object sender, EventArgs e) in C:\Users\George\Documents\Visual Studio 2010\Projects\antac\antac\dashboard.aspx.cs:92
    System.Web.Util.CalliHelper.EventArgFunctionCaller (fp IntPtr, Object o, object t, e As EventArgs) + 25
    System.Web.UI.Control.LoadRecursive () + 71
    System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 3048




    --------------------------------------------------------------------------------
    Version information: Microsoft .NET Framework Version: 4.0.30319; ASP.NET Version: 4.0.30319.1

    This isn't the only DLL that is required. You must fully install ODP.NET on the server.

  • How to authenticate the user using oracle user

    Hello
    I do some piece of my apex application login authentication and what I want to do is to let people connect with the user Oracle (schema) and the password also, in the system. I know that we have a dba.users table that contains the usernames and respective encrypted passwords for users of Oracle. But using this table is not the right way for my solution. Is there another way I can authenticate the user if he uses the username/password Oracle (as sys/respective password)?

    Hello:

    You might want to consider 'DAD authentication' for your application as described here

    http://download.Oracle.com/docs/CD/E14373_01/AppDev.32/e11838/sec.htm#CHDJBAIF

    CITY

  • user pid Oracle applications

    Hello

    How can I find the PID (process oracle user) of a user of oracle applications active other than the user moniter screen.

    Concerning

    Hi s/n,.

    You can refer to the following ML doc,

    [Script: how to identify the user apps using the PID of the o/s for form users in 11i | https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=185762.1]

    Thank you
    Anchorage :)

  • F & G Committee < ' F & G Committee' > is not a valid e-mail address because it is not the form user@host. You need to correct before sending the e-mail message.

    Out with the new v.31.1.0, the: 2 September 2014 version of Thunderbird, I can email is no longer a list of recipients, getting the error msg: F & G Committee < ' F & G Committee' > is not a valid e-mail address because it is not the form user@host. You need to correct before sending the e-mail message. In earlier versions, the addresses of individual e-mail in the list (F & G Committee in this case) are automatically placed in as the e-mail is sent. Is there a solution to this problem?

    Read this.
    https://support.Mozilla.org/en-us/questions/1019019

  • How to create a guest account? I followed the instructions and it says that it does not recognize the user!

    I followed the instructions to create a guest account and it says that it does not recognize the user's address or the password.

    Hello

    1. What is the operating system installed on the computer?

    2. are you trying to create or attempt to activate the guest account?

    3. How have you tried to create the guest account?

    4. What is the exact error you get when you try to create the guest account?

    Perform the steps in the articles to create a guest account and check if the problem is solved or not.

    Turn the guest account on or off (Windows 7)

    Turn the guest account on or off (Windows Vista)

    Hope that helps.

  • Following error message if poster "could not load C:Users/Owner/Locals~1/temp\msavvzczh.exe.

    Following error message is displayed "could not load C:Users/Owner/Locals~1/temp\msavvzczh.exe how to remove the registry."

    Remove it from startup.  Start/Run, type msconfig. Delete it under the Startup tab. Its probably malware

  • Unable to connect to a dial-up connection does not require a user id and password.

    It's kind of a weird question.  I have a new vista machine, and a user must always connect to a Government to start the connection via modem.  In XP, we used hyperterminal and everything worked well.  As hyperterminal is not available under Vista, we spent some time trying to get the vista switched from work.  He composed, negotiates, but when it comes to 'verification of the user name and password' connection failed after that right.  He has not set password to connect, the password entered only after you connect and you select the option to connect.

    Now, I copied Hyperterminal from a XP machine and was able to connect.  But using hyperterminal, none of the shortcuts that I do can be used.  They all come with "could not read session file: c:\. "c:\session.ht".ht."  I changed the location of the shortcut, the location of the hypertrm.exe, departure to the target location, etc...  The only way to get a recorded session to run is to open hyperterminal, and then click file, open and point to the location of the session.ht file.  It works, I suppose, but its not just a lot more, especially since this is not until the last the default location that you opened a file from.

    Ideally, I would like to use the connection to start menu.  Is it possible to force the connection does not send a user name and password?  He always says "verifying username and password" even though I left the empty boxes.  Or is this another problem with Vista and dial upward?  Any help would be greatly appreciated.

    Thank you.

    I thought about it... a bit, I've found a workaround.

    You can call hyperterminal for the prompt, using:
    Hypertrm c:\myfile.ht

    You open hyperterminal as we are used to having open when you click the .ht file in XP.

    Knowing this, you can create a shortcut to hyperterminal which calls the hypertrm.exe AND the .ht file

    Mine is:
    C:\Windows\System32\hypertrm.exe c:\Windows\System32\ohip.ht

    Bloody Government and their former systems eh?

    I hope this helps!

    Dave

Maybe you are looking for

  • How to import my AOL address book?

    The address book can I access it through Firefox is different from that I get when I open AOL directly instead of through Firefox. Change I made to the address book in AOL do not appear in the address book in Firefox.

  • Satellite M30x - drive destination not valid

    Hi all I have a Toshiba Satellite M30x. I get the following error: --------------------------------------------------------Error number: (11030)Message: Invalid destination drive Problem: Can't get it back, it does not start up Windows XP, so I need

  • HP Photosmart C4680 scanning problems with Snow Leopard

    I have a HP Photosmart C4680 All in one printer/scanner Since upgrading my imac (early 2009 model) to Snow Leopard I have had problems printing and scanning My scanner has never worked since the upgrade printing has been uneven at best, but seems to

  • Cannot load a printer Dell Photo 966 on my XPS Ultrabook

    Cannot load a printer Dell Photo 966 on my XPS Ultrabook

  • SMS than Palm Pre'

    Trying to figure out how to send multiple contacts the same text message at the same time.