Impossible to drop the user in TimesTen
Hi allI 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
Tags: Database
Similar Questions
-
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
-
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 ServerRUN THE SYS. DBMS_AQADM. DROP_QUEUE_TABLE (queue_table-online 'JOB_QUEUE_DATA', force-online TRUE);
-
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 tablesSQL > select object_name from user_OBJECTS;
OBJECT_NAME
-------------------------------------------------------------------------MYQ
SYS_LOB0001130873C00025$ $
SYS_C001810004SQL > drop table myq;
drop table myq
*
ERROR on line 1:
ORA-24005: must use DBMS_AQADM. DROP_QUEUE_TABLE to drop queue tablesSQL > exec sys. DBMS_AQADM. DROP_QUEUE_TABLE (queue_table-online 'MYQ', force-online TRUE);
PL/SQL procedure successfully completed.
-
Hi all
I'm trying to drop the schema but below error is coming
(1) bdr_local > drop user cascade HILLS_ISSUE_TRACKER;
drop the waterfall HILLS_ISSUE_TRACKER user
*
ERROR on line 1:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-00069: could not acquire lock - tables turned off for B_ISSUE_COMMENTS locks
bdr_local 2) > alter table HILLS_ISSUE_TRACKER. B_ISSUE_COMMENTS activate the table lock;
ALTER table HILLS_ISSUE_TRACKER. B_ISSUE_COMMENTS activate the table lock
*
ERROR on line 1:
ORA-00054: resource busy and acquire with NOWAIT specified
bdr_local 3) > SELECT * FROM v lock $
WHERE id1 = (SELECT FROM object owner object_id WHERE = 'HILLS_ISSUE_TRACKER' AND object_name = "B_ISSUE_COMMENTS"); 2
no selected line
I took the rebound of db to release the lock, if any. Please help if some body the same question.
Thank you
Jamsher.Something new to learn, thanks for sharing this.
-
Hai All,
I want to create and drop database through forms 6i users.
The user creation works fine for me, but the deletion of the user does not work.
I use the code
FORMS_DDL ('DROP USER CASCADE TEMP_USER'); to remove the user.
but it's not working.
one you suggest how can I remove a user from the database using forms?
Thank you
Manu.It works through several sql?
If so you could do a test with immediate execution...create a database procedure:
create or replace procedure execute_immediate(ivStatement in varchar2) is begin execute immediate ivStatement; end; /
and call from forms:
begin execute_immediate('drop user test_user cascade'); exception when others then message(sqlerrm); end;
run errors of immediate installation of oracle, so you should see what is happening
concerning
-
Impossible to activate the user account control
Original title: user account will not
My user account control has been turned off. Whenever I'm back on the computer needs to restart. However when it doesn't the user account is still once turned off. Any help welcome
My user account control has been turned off. Whenever I'm back on the computer needs to restart. However when it doesn't the user account is still once turned off. Any help welcome
Please, don't say "user account" when you hear the user account control. They are 2 different things.
Tell the UAC if you wish.Take a look at this tutorial
http://www.Vistax64.com/tutorials/48893-user-account-control-UAC.html
There are 3 ways to activate UAC in this tutorial.If still no help, please do a check of the file system. It will look for corrupted files and it will try to repair if it is found.
http://www.Vistax64.com/tutorials/66978-system-files-SFC-command.html
-
Impossible to support the user's virtual desktop remotely
Hello
I have a few question unable to support the computer remotely using vWorkspace management console. I get error "the following error occurred while shadowing session 2 on server xx.xx.xx.xx, this function is not supported in this system (120).»
There is no recent change made broker server and am able to do support remotely to the desktop of the user without any problem. Can someone help me?
Thank you.
Hi Whosen,
It is essentially an issue with differences between RDP7 and RDP8.
Although you mention that has not changed, is it possible that it is the use of RDP7 instances, but fails on Instances of RDP8 news? It could also be related to Server 2012 for example.It is covered in the following Technical Support article:
[See:support.software.dell.com/.../105537:550:0]I hope that it is of little help?
See you soon,.
Dave Caddick -
Impossible to drop the disc?
env: 11.2.0.2.3
I have a redundancy normal diskgroup (asm/RDBMS compatibility set to 11.2.0.0) containing two discs, it's everyone in own failgroup.
I've tested the disk_repair_time attribute and took one of the disks in the group offline and waited until the expiration of the timer - to see if the disc - Oracle and test how I can recover from this situation if the drive was missing.
Then I took the LOG2 drive off line and waited...
ASM alerts log, I see:
And from RDBMS alerts journal:Fri Sep 09 09:59:21 2011 WARNING: Disk (LOG2) will be dropped in: (168) secs on ASM inst: (1) Fri Sep 09 10:00:55 2011 WARNING: Disk (LOG2) will be dropped in: (74) secs on ASM inst: (1) Fri Sep 09 10:02:27 2011 WARNING: PST-initiated drop of 1 disk(s) in group 3(.467124207)) SQL> alter diskgroup LOG drop disk LOG2 force /* ASM SERVER */ NOTE: GroupBlock outside rolling migration privileged region NOTE: requesting all-instance membership refresh for group=3 Fri Sep 09 10:02:29 2011 GMON updating for reconfiguration, group 3 at 30 for pid 33, osid 13932 NOTE: group LOG: updated PST location: disk 0000 (PST copy 0) NOTE: group 3 PST updated. Fri Sep 09 10:02:29 2011 NOTE: membership refresh pending for group 3/0x1bd7bfef (LOG) GMON querying group 3 at 31 for pid 18, osid 10302 SUCCESS: refreshed membership for 3/0x1bd7bfef (LOG) SUCCESS: alter diskgroup LOG drop disk LOG2 force /* ASM SERVER */ SUCCESS: PST-initiated drop disk in group 3(467124207)) NOTE: Attempting voting file refresh on diskgroup LOG NOTE: starting rebalance of group 3/0x1bd7bfef (LOG) at power 1 Starting background process ARB0 Fri Sep 09 10:02:34 2011 ARB0 started with pid=37, OS id=14883 NOTE: assigning ARB0 to group 3/0x1bd7bfef (LOG) with 1 parallel I/O Fri Sep 09 10:02:40 2011 NOTE: GroupBlock outside rolling migration privileged region NOTE: requesting all-instance membership refresh for group=3 Fri Sep 09 10:02:40 2011 NOTE: stopping process ARB0 SUCCESS: rebalance completed for group 3/0x1bd7bfef (LOG) Fri Sep 09 10:02:43 2011 GMON updating for reconfiguration, group 3 at 32 for pid 38, osid 14888 NOTE: group LOG: updated PST location: disk 0000 (PST copy 0) NOTE: group 3 PST updated. WARNING: offline disk number 1 has references (904 AUs) NOTE: membership refresh pending for group 3/0x1bd7bfef (LOG) GMON querying group 3 at 33 for pid 18, osid 10302 SUCCESS: refreshed membership for 3/0x1bd7bfef (LOG) NOTE: Attempting voting file refresh on diskgroup LOG
OK, check in asm v$ asm_disk:Fri Sep 09 10:02:32 2011 SUCCESS: disk LOG2 (1.2526490858) renamed to _DROPPED_0001_LOG in diskgroup LOG
So, why the disc always showing to v$ asm_disk if it fell? Or is it? I thought that Oracle should drop the disc at the expiration of the timer of the repair, but then why I always see it? I want to add the failed drive to return once again... How can I realize that, if the drive is still a member of the diskgroup of the NEWSPAPER?SYS@+ASM1 SQL>r 1 select a.name "GroupName", a.state "GroupState",b.name,b.mount_status,b.header_status,b.mode_status,b.state "DiskState",b.repair_timer 2 from v$asm_diskgroup a,v$asm_disk b 3 where a.group_number = b.group_number 4* order by a.name,b.name GroupName GroupState NAME MOUNT_S HEADER_STATU MODE_ST DiskStat REPAIR_TIMER ------------------------------ ----------- ------------------------------ ------- ------------ ------- -------- ------------ DATA MOUNTED DATA1 CACHED MEMBER ONLINE NORMAL 0 DATA MOUNTED DATA2 CACHED MEMBER ONLINE NORMAL 0 GRID MOUNTED GRID3 CACHED MEMBER ONLINE NORMAL 0 GRID MOUNTED GRID4 CACHED MEMBER ONLINE NORMAL 0 GRID MOUNTED GRID_0001 CACHED MEMBER ONLINE NORMAL 0 LOG MOUNTED LOG1 CACHED MEMBER ONLINE NORMAL 0 LOG MOUNTED _DROPPED_0001_LOG MISSING UNKNOWN OFFLINE FORCING 0 7 rows selected. SYS@+ASM1 SQL>select * from v$asm_operation; no rows selected
Thank you..
Published by: AJ on 09.sep.2011 01:17Hello
the reason behind this, is that a DISC will get status COWARD, if all valid content could be moved to another drive.
However, in your case your LOG diskgroup consisted only of 2 discs (and 2 failgroups). So when access to a failgroup had disappeared, the whole failgroup was set to offline.
Now when the repair timer expires the disks to be abandoned. However, it cannot be moved, because the data on the disk can not be moved to other disks.
So what happens, is that your discs will be defined in the sense of "FORCING", as soon as the data can be rebalanced to another drive (maybe when you add a new drive), the drive really will be abandoned.Concerning
Sebastian -
Impossible to drop the undo tablespace
Hello
ORACLE VERSION: 11.1.0
OPERATING SYSTEM: WINDOWS XP
I have been uable to drop the undo tablespace. Here I create a new undo tablespace and trying to drop the old undo tablespace.
I had given alter system set UNDO_TABLESPACE = newundo tablespace.
And try to drop the old one and get the error like this
SQL> create undo tablespace undotbs02 datafile 'F:\APP\POORNAPRASADS\ORADATA\ORCL\UNDOTBS02.dbf' size 200m; Tablespace created. SQL> sho parameter undo NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ undo_management string AUTO undo_retention integer 900 undo_tablespace string UNDOTBS1 SQL> alter system set undo_tablespace=undotbs02; System altered. SQL> sho parameter undo NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ undo_management string AUTO undo_retention integer 900 undo_tablespace string UNDOTBS02 SQL> drop tablespace undotbs1 including contents and datafiles; drop tablespace undotbs1 including contents and datafiles * ERROR at line 1: ORA-30013: undo tablespace 'UNDOTBS1' is currently in use SQL> drop tablespace undotbs1 including contents and datafiles; drop tablespace undotbs1 including contents and datafiles * ERROR at line 1: ORA-30013: undo tablespace 'UNDOTBS1' is currently in use
There are active sessions that use of old undo segments. I think you should kill these sessions in order to relase these segments
- - - - - - - - - - - - - - - - - - - - -
Kamran Agayev a. (10g OCP)
http://kamranagayev.WordPress.com
[Step by step installation Oracle Linux and automate the installation by using Shell Script | http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
Impossible to verify the user name or password in e-mail
In OSX El Capitan. It does not accept my username and password for the mail. Have not changed and they work very well in other apple applications that have the same user name and password. Anyway to reset the password. It doesn't give me that option as do most of the other programs.
Thanks for any help.
Peter
Remove the password in Keychain Access (Applications/Utilities).
The problems of Keychain - see post of khati
-
Impossible to change the user account for the administrator account
I have followed closely the instructions in this forum to change a user to an administrator account account. However, when the dialog box that allows the selection of a standard account or administrator account opens and I select the administrator account, the "change account Type" gray button and I can't make the selection. Any help would be appreciated.
When the dialog box that allows the selection of a standard account or administrator account opens and I select the administrator account, the "change account Type" gray button and I can't make the selection. Any help would be appreciated.
Your account is already at the level of the admin (see marked area below). You may not promote any more away.
-
Impossible to update the user in the BCMS in any browser
Hello
I try to update access internal users via CSAM and can not get the BCMS to function once I click in to update a user internal...
I tried in IE, Firefox and Chrome. Any suggestions?
See picture attached.
Hi Deanna,
Please, use this link and we keep abreast on a case where even you cannot connect to the CFS page.
Concerning
Pamela
-
Impossible to authenticate the user to ACS 5.1 with LDAP as identity outdoor store
Hi, I have a server and Open-LDAP running ACS on my corporate network.
Now, I'll set up a new linksys WAP - 54G and select WPA2-Enterprise with ACS as radius server.
the first thing first, I created new internal user to ACS and trying to join the network wireless from my computer. I did it...then I move on an external entity (LDAP server). I set up the sequence of configuration and the LDAP identity, also select the access service. but when I tried to authenticate from my computer, an error has occurred. I received:
the following error 22056 object was not found in the store identities applicable (s)Ask me ' bout this thing, I implemented a cisco router 1841 to become customer of AAA. and surprise... it works!
Yes, there is problems to authenticate to the windows of ACS (pointing to LDAP) platform?
any suggestion?
Thank youHello
Looks like you haven't mschap authentication is enabled on the ldap server. You can use eap - gtc instead, but need you:
1 enable eap - gtc under protocols allowed on your ACS access policy
2. install an eap - gtc "supplicant" on the windows box - if you have a wireless network card intel, the intel proset client supports eap - gtc
This could mean a fair bit of work according to the number/type of wireless clients you have - could be useful on the LDAP mschap authentication activation.
HTH
Andy
-
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 youuser1687821 wrote:
As it is an instance of production, we need approval to bounce backIf 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
Maybe you are looking for
-
Hi I have the choice of the location is bad but there was a suitable. I just bought an HP deskjet printer 2510 and it copies Ok Ok scans and prints emails but woont print files. Help, please
-
HP program installation doesn't install Catalyst Control Center.
Hello. I have a HP g6 - 2324TX with a 4 DDR3 8 DDR3 Windows 8 upgrade Catalyst Control Center had recently stoped working, and my computer was basically killed himself, so I used the restore option in the options to start making a new installation of
-
Interruption of the internet connection with WRT54G
Have had the WRT54G Router for a few years now and has worked perfectly with a cable modem. Went on vacation for 2 weeks and off the modem router and cable. When I came back this week and through the back on I can no longer connect to the internet fr
-
"Windows script host - this box Monte-it is the text next message - can't find script engine"VBScript"C:\msmp\invisible.vbs."
-
When I try and upload a screenshot on a Web site nothing happens, why?
On two separate sites, I'm trying to upload a screenshot saved in my documents. When I click on the download button on the site of the option to browse file does not appear. I've done several times in the past without problem so do not know what to d