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

Tags: Database

Similar Questions

  • 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

  • Impossible to drop the user

    I get the following error while dropping the user...

    SQL > drop user cascade ONAIR.
    drop the ONAIR user cascade
    *
    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


    I asked dba_queue_tables but her shows that r thr tables without current queue...


    Select queue_table from the dba_queue_tables where owner = "FLIGHT."

    no selected line

    DB version is 10.2.0.4.0 aix Server

    RUN THE SYS. DBMS_AQADM. DROP_QUEUE_TABLE (queue_table-online 'JOB_QUEUE_DATA', force-online TRUE);

  • Impossible to drop the datafile after a fall of tablespace

    Hi all

    Try to Drop tablespace with Datafile command used is as below

    Drop tablespace tims_db including content and data files;

    It has been performed successfully, but the data file is always... tried to let fall off the BONES, but cannot remove the alert... associates file tracking logs are as below

    __________________________________________________________________________________________________
    C:\oracle\admin\ocprd\udump\ocprd_ora_4236.TRC dump file
    Mon Feb 06 03:40:58 2012
    ORACLE V9.2.0.6.0 - Production vsnsta = 0
    vsnsql = 12 vsnxtr = 3
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With partitioning, OLAP and Oracle Data Mining options
    Release 9.2.0.6.0 - Production jserver
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586


    Redo thread mounted by this instance: 1

    Oracle process number: 14

    Windows thread ID: 4236, image: ORACLE. EXE


    2012-02-06 03:40:58.562
    SESSION ID: (52.7127) 2012-02-06 03:40:58.500
    ORA-01259: cannot remove the E:\ORACLE\ORADATA\OCPRD\TIMSDB01 data file. DBF
    ORA-27056: skgfrdel: could not delete file
    OSD-04024: cannot delete the file.
    S/O-error: (32 OS) the process cannot access the file because it is being used by another process.
    ______________________________________________________________________________________________

    OS: Windows 2000
    DB: Oracle 9i

    Help, please

    Thank you

    user1687821 wrote:
    As it is an instance of production, we need approval to bounce back

    If you are sure that this file is not necessary - unlock with unlocker and move to a place for a while. Then kill him or kill him immediately.

    Then the database will ask missing datafile to the restart of the database even if it is not listed in dba_data_files...?

    If your fall of tbs succeeded - everything will be fine

  • When I delete the "screensaverissecure" with the registry value, it reappears again in the registry after I stop and start the system the next day. Help, please

    When I delete the "screensaverissecure" with the registry value, it reappears again in the registry after I stop and start the system the next day. Help, please
    use widows xp

    Hello

     
    1. Have you tried to Hibernate for ever in the power settings option?
     
    To resolve this problem, you can follow the steps below.
     
    (a) click and start
    (b) type power Option in the start search bar.
    (c) now select click Change plan for the current plan of the selected power.
    (d) now click on advanced power settings.
    (e) scroll down and click on the sign more next to sleep.
    (f) now click on allow the eve hybrid and turn it off.
    (g) click on the option put into hibernation after and set it to never.
     
  • Lack MSVCP110.dll Adobe Premiere Elements on 10 is needed after installed update. Impossible to correct the problem after reinstalling, deleting and reinstalling.

    How can I fix missing MSVCP110.dll Adobe Premiere Elements on win 10 after installed update. Impossible to correct the problem after reinstalling, deleting and reinstalling.

    Hello

    Please visit https://helpx.adobe.com/creative-cloud/kb/missing-msvcp110dll.html

    Hope that helps!

    Kind regards

    Sheena

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

  • Delete the administrator user after you stop it

    I enabled the administrator account by using the command:

    NET user administrator / Active: Yes

    Vista has created a large number of files of the user for the account (for example, in users\Administrator, such as AppData for Microsoft Office, etc.). I suspect Vista may have created other records and information (for example, registry settings) when I activated this account.

    Since then, I have disabled the account administrator for assistance:

    NET user administrator / active: No.

    I want to go back to the computer where it was until I enabled the administrator account. (My normal account has administrator rights).

    How do I know which of the files user\Administrator can I remove? Can delete everything in users\Administrator?

    Thank you!

    Hi sachelis

    Leaving the folder on your computer will do no harm. However if you want to remove it, you can go ahead and delete it.

    Note: All personal files that you created in this hidden administrator account will be deleted.

    Good luck

  • How to get fullname of the user after login

    Hello.

    I'm developing a simple web panel with the vCloud API readonly information.

    I was able to get information about organizations, vApps, TDC and VMs, but something "simple" that to get the full name of the user logged in using the login process API vCloud is impossible for me.

    Please, can someone give me help on this?

    I use vCloud API SDK for PHP, but I'd appreciate any kind of information or instructions on how to get connected fullname of the user.

    Thanks in advance for you help.

    In order to be able to do this you will first need to connect to the organization with the user "administrator of the Organization" and record the information about users somewhere - in a database, or some kind of in-memory cache. You can't get much information on a normal user to user.

    Users to get information, to get the 'admin' of an organization representation.

    GET https://> /api/v1.0/admin/org/>

    When you make the request in the response above, you will find a section

    After that, you do a GET request for each user and read the information. Save it somewhere and use it later.

    GET >

  • Unable to drop the rest after the migration of database

    Hi all

    DB: 10.2.0.4 RAC node 2 environment
    OS 64-bit version of Red Hat Enterprise Linux AS 4 (Nahant update 8)


    A few months ago we moved our CCR environment to another server. We also changed the host name and Ip addresses.

    We have the grid control oracle running on an application server, but we couldn't monitor the rac environment more with that.
    I'm trying now to configure Enterprise manager locally on the RAC database it self. But I can't make it work.

    Things I've tried so far is:

    CD $ORACLE_HOME/bin
    . / emctl stop dbconsole
    . / emctl stop agent
    SQL > alter user account lockout SYSMAN;
    SQL > drop user sysman waterfall;
    SQL > drop role MGMT_USER;
    SQL > alter user account lockout MGMT_VIEW;
    SQL > drop user cascade MGMT_VIEW;
    SQL > drop public synonym MGMT_TARGET_BLACKOUTS;
    SQL > drop public synonym SETEMVIEWUSERCONTEXT;

    EMCA - deconfig dbcontrol db-rest drop - cluster

    When I check the log file in $ORACLE_HOME/cfgtoollogs/emca/DB_NAME/I see the following:




    October 6, 2010 15:26:44 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Enter the password for the SYS user:
    Enter the password for the user in the repository:
    Getting temporary tablespace of the database...
    Cannot connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.*.*.*)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.*.*.*)(PORT=1521))(LOAD_BALANCE=yes))(CONNECT_DATA=(SERVICE_NAME=***.com))): ORA-01017: name of user and password invalid. logon refused (DBD ERROR: OCISessionBegin)

    October 6, 2010 15:26:44 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: stty: entry standard: invalid argument
    stty: entry standard: invalid argument
    stty: entry standard: invalid argument
    stty: entry standard: invalid argument

    October 6, 2010 15:26:44 oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: /oracle/10.2.0/db_1/sysman/admin/emdrep/bin/RepManager-connect runtime error (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=10.*.*.*) (PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST=10.99.12.8) (PORT = 1521)) (LOAD_BALANCE = yes)) (CONNECT_DATA =(SERVICE_NAME=***.com))) - repos_user drop SYSMAN-action - verbose - output_file /oracle/10.2.0/db_1/cfgtoollogs/emca/EX/emca_repos_drop_2010-10-06_03-26-44-PM.log
    October 6, 2010 15:26:44 oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error abandonment of the repository
    October 6, 2010 15:26:44 oracle.sysman.emcp.EMReposConfig invoke
    NEWS: Check the log to /oracle/10.2.0/db_1/cfgtoollogs/emca/EX/emca_repos_drop_ file < date > .log for more details.
    October 6, 2010 15:26:44 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error abandonment of the repository
    See the file journal at /oracle/10.2.0/db_1/cfgtoollogs/emca/EX/emca_2010-10-06_03-26-27-PM.log for more details.
    October 6, 2010 15:26:44 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: error to drop the repository
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:183)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:134)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
    to oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419).



    emca_ repos_drop.log:

    [10/06/2010 15:26:44] Enter the password for the SYS user:
    [10/06/2010 15:26:44]
    [10/06/2010 15:26:44] Enter the password for the user in the repository:
    [10/06/2010 15:26:44]
    [10/06/2010 15:26:44] Getting temporary tablespace of the database...
    [10/06/2010 15:26:44] Cannot connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.*.*.*)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.*.*.*)(PORT=1521))(LOAD_BALANCE=yes))(CONNECT_DATA=(SERVICE_NAME=***.com))): ORA-01017: name of user and password invalid. logon refused (DBD ERROR: OCISessionBegin)


    Thanks for your time...

    Kind regards

    Published by: Yucon28 on 14-Oct-2010 16:14

    Then it allmost look like you are using the wrong password ;-)

    Can connect you to the database using:

    sqlplus / as sysdba

    If so, you will be connected as system via the OS authentication

    You could then define your password again:

    alter user sys identified by

  • How can I get the function of hibernation in the menu with; Log, the user swith, sleep, stop.

    I used to have the function of hibernation on my laptop as pets when I could also log, user swith, sleep, stop.

    But the hard disk had to be changed, and now the hibernation has disappeared from the list, how can I get that back.

    I was told it could be done in the start menu or the customization options, but have not found anywhere.

    Hibernation turned out to be more useful.

    Try this tutorial: enable or disable Hibernation
    http://www.Vistax64.com/tutorials/165508-hibernation-enable-disable.html

    Also, please read two method on disk cleanup deletes Hinbernation option in the list.

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Problem with the user after reinstalling the unit account

    Initial Setup druing the motherboard is dead so I had to reinstall everything. I have a user who has been associated with the installation of the old unit and now I can not add to the new system of the unit. If I do a search for users and check the box "all servers of the unit" I see the old user, but cannot access it. I am running 4.0 (4) unit with Unified Messaging and exchange 2000 on another server. Anyone know of a way to get the user dissociated with the old server, so I can add a new?

    Thank you

    OK, try this.

    Open GSM, right-click on the name of the server. Select import user (I know it does not make sense). Find the windows account, right-click on it, remove the Subscriber Properties.

    Last resort

    =======================

    Open adsiedit using the \commserver\techtools\adsiedit.msc command

    (You may need to register the dll - "regsvr.exe adsiedit.dll")

    Search for count windows, then right click to get the properties of the windows account.

    Look for the attribute ciscoEcsbuUMLocationObjectId to the account.

    CAREFUL with this step because you are about to destroy the subsriber unit properties. Make sure you have the correct account. If you do, click CLEAR to delete the attribute CiscoEcsbuUMLocationObjectId of the unit

    After clearing, you should be able to import the account.

  • Photosmart 7520, impossible to reinstall the printer after removing software

    Name of the product and operating system: Photosmart 7520, Windows 7 32 bit.

    Description of the problem:

    I tried a lot already if the description is quite long, bear with me here.

    At the beginning everything worked well. After a few months, the printer was not capable of scanning more computers in the network. He could identify them, he was not able to transfer the scanned document. Printing from computers was still possible. I did first network tests, even reset network to factory settings, but everything was fine. Try to solve this problem, I ran HP print and scan the doctor, the program gave me a twain scan error and was not able to fix it. Because it was not able to fix it. I uninstalled the computer HP printing software, reinstall the printer completely and try if it works. Digitization (magicly) now works on my other computer, but I can not reinstall the printer on the computer where I uninstalled the software, because it is impossible to find the printer on the network. I also tried to connect the USB printer, without a bit of luck. I think it's a driver problem, because the computer seems to have many 7520 drivers broken out there. I hope someone has a way to help me, because I don't know what to do anymore...

    Try to run Malwarebytes to see if your PC has installed any villains

  • Register the user after connecting Oracle SSO

    Hello

    I use Studio Edition Version 11.1.2.3.0

    My application is protected by Oracle SSO via mod_osso in OSH.

    I need to create a new user record in a table the first time that a user logs on, however I can not understand how do. I thought I might add a call activity of default method for my model of workflow that adds the user if needed and then moves, but I can't understand it.

    Any advice would be appreciated.

    Hello

    What is a phase listener that listens for the restoration after discovers phase. If the session is authenticated and a specific session memory flag is not set, it will create the folder. If the session flag is found, nothing will happen

    Frank

  • Why can't I drop the ASM disks and stop ASMLib?

    Hi, I wanted to remove the disc, but this operation has failed:

    1.

    /etc/init.d/oracleasm deletedisk DATA1
    Remove ASM disk "DATA1" [NOT]

    I know there is the solution to replace header ASM on a disc information
    DD if = / dev/zero of = < your_raw_device > bs = 1024 count = 100

    and then droping is successful

    but I've also seen resources who said that it should be count = 50

    If someone could confirm count = 100 or 50?

    2.

    In addition to this I tried to stop ASMLib and she doesn't have too:

    stop /etc/init.d/oracleasm
    Drop Oracle ASMLib discs: [OK]
    Close the driver Oracle ASMLib: [FAILURE]

    OK, so using dd will help me to get rid of the disks, but I'm worried about ASMLib in general, why can't you stop it? All instances of the ASM have been removed before. There is no software installed ASM, in addition to ASMLib.

    There are several things not clear

    1 as most of the people here you forgot to display four-digit version number, assuming that Oracle never changes, or we can guess that you are running.
    The two statements are false. To stop asmlib, you use exit oracleasm

    2 you use the root account or another account? You must use the root account

    3. Why do you not use the oracleasm command?

    ----------
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • Sudden slow data transfer

    Hello I am happily using my 3 GB Time Capsule for the last 18 months with no problems. I use it almost exclusively as data storage for my Plex server. I use it wirelessly to my Macbook Pro 2014, in the same room. Yesterday, without change to explain

  • Satellite P10: clouds white and purple fading across the screen during startup

    I had problems with my laptop PC-10 so I bought a new hard drive (Fujitsu 60 GB instead of 40 GB) standard and have it myself. I was working very well with it for a long time, until suddenly I have had the strangest problem that I've ever seen on a c

  • Ruined my new Sansa Clip +?

    I know, I wasn't supposed to disconnect the drive before you eject the computer. But when the old computer of Windows XP does not recognize, I thought it was the only thing I could do. Now, the player is stuck on a screen that says 'unknown' and I ca

  • Retrieving information from a CD may be damaged

    I have a CD with a WMV file that I've not used for years I thought I had lost.  I just found it (it is not in the best conditions) and my computer does not read it.  The drive sounds like it is reading and then nothing happens.  I understand that thi

  • From a Windows 'auto update', I can't connect to my wireless router more? Any ideas?

    Automatic update has occurred about 7 days ago, and since my laptop restarts then it does not connect to my router Sagem "sky provided. I spent 40 minutes on the phone with technical sky earlier and tried loads of things, but without success. The res