Error when dropping users
I accidently created several users that have an apostrophe attatched to the end of the user name.
The database versions are 10.2.0.2 and 10.2.0.3.0
The way I initially created the users was in SQLPLUS like : create user "SCOTT'";
Now, when I go to try to drop the user fro the database, I receive the following error:
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01740: missing double quote in identifier
ORA-06512: at line 7
I have also tried to drop the users in Enterprise Manager Console and received the same error.
Any ideas how else I can drop these users?
Thanks!
Edited by: 897877 on Aug 20, 2012 3:33 PM
Thank you. I can reproduce the problem in 10.2.0.1.0 on Windows.
A search indicates this is a known bug and I found this article that gives an explanation and shows a way around it.
http://mikesmithers.wordpress.com/2010/02/17/dropping-quoted-users-%E2%80%93-why-sometimes-oracle-cant-bear-to-say-goodbye/
This query
SELECT owner, trigger_name, trigger_type
FROM dba_triggers
WHERE base_object_type LIKE 'DATABASE%' shows three triggers owned by MDSYS and after the author disabled the triggers the user could be dropped.
SDO_DROP_USER, SDO_DROP_USER_BEFORE, SDO_GEOR_DROP_USER
Edited to add the commands needed - but you should read the post
ALTER TRIGGER mdsys.sdo_drop_user disable;
ALTER TRIGGER mdsys.sdo_drop_user_before disable;
drop user "SCOTT'";
ALTER TRIGGER mdsys.sdo_drop_user enable;
ALTER TRIGGER mdsys.sdo_drop_user_before enable;
Similar Messages
-
ORA 3113 error when dropping user
I have an instance of oracle 9.2 that when I drop a user I get the ORA-3113 error.
I have no other problems with this database, It can be started and stopped with out error, users can connect...etc.
I tried the following oracle solution without success
Subject: ORA-03113 While Dropping a User
Doc ID: Note:291186.1 Type: PROBLEM
Last Revision Date: 21-JUL-2005 Status: MODERATED
The information in this document applies to:
Oracle Server - Enterprise Edition - Version: 9.2.0.5
This problem can occur on any platform.
Errors
ORA-03113 "end-of-file on communication channel"
Symptoms
ORA-03113 is thrown, while dropping a User
SQL> drop user test9 cascade;
ORA-03113 end-of-file on communication channel
Cause
Corrupted password file
Check whether REMOTE_LOGIN_PASSWORDFILE is set to { SHARED | EXCLUSIVE}
Fix
-- Recreate the password file.
++ $ orapwd file=orapw<sid> password=<sys's password> entries=<max # user's>
NOTE:
-- Set the REMOTE_LOGIN_PASSWORDFILE=NONE
-- Drop the user
-- If it is successful, You are hitting this problem.Are u getting this error sometimes while connecting to DB.
If not check the trace file generated on the server at failure time.
Regards
Raman -
Error when dropping a user/tablespace
Hi
I am trying to drop user/tablespaces, but I got the following error
SQL> drop user SM92 cascade;
drop user SM92 cascade
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00942: table or view does not exist
Currently this user has not tables or view, the statement select * from all_tables where owner='SM92' return no row
ANyone knows why I can't drop this user? What should I check?
Thanks
LiHi, probably the user has dependency with other schemas, please review the Note:361576.1 into metalink site.
Good luck.
Regards. -
Error when opening User and Group Preferences
After upgrading to Lion there is an error when opening User and Group Preferences.
I´ve repaired permissions but the problem is still there...
Thanks...Hi,
Double click on ur webdynpro application.Go to application properties tab.create new application property,select predefined property->browse->it will open a popup->select expiration time->give the value for expiration time.
or
Refer the note : [842635|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=842635&nlang=EN&smpsrv=https%3a%2f%2fwebsmp206%2esap-ag%2ede]
Hope it helps,
Reward points if helpful.
Regards,
Shailesh Nagar -
Dear Experts,
I got Error While Drop User.
This is the Error msg.
SQL> DROP USER FORPROCURE CASCADE;
DROP USER FORPROCURE CASCADE
ERROR at line 1:
ORA-00600: internal error code, arguments: [16201], [], [], [], [], [], [], []ORA-600 is Oracle's generic error code for unhandled exceptional behaviour (a bug to you or me). these things tend to be version and OS specific.
The standard advice is to contact Oracle Support. Frequently the solution is to upgrade to a later patch version.
But you might be fortunate. If you tell us your database version and OS platform we might be able to help you. Do you have any wrapped PL/SQL?
Cheers, APC -
Error in drop user Error:ORA-00942
While I want to drop some Oracle users, the following error exists:
SQL> drop user simon cascade;
drop user simon cascade
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00942: table or view does not exist
However, I can select data from dba_users and not problem on create user or alter user password, etc.
Which views / synonyms I need to re-create? Where is the file location?Hi,
I droped all object from scheme but one package I can't drop.
Now when I try drop this package or user,
I get ORA-00600: internal error code, arguments: [psdtyfnd_with_suffix], [], [], [], [], [], [], []
follow the link ..
http://www.dba-oracle.com/oracle_tips_ora_600.htm
u may not be able to re-create the package as u have already dropped some of the dependent packages which it calles internally..I cannot guess anything else...
Hope the link helps..
Regards
Bharath -
Error when dropping a script usind dbms_recoverable_script
Hi all, I am trying to set up streams on Oracle 11g R2 on Windows 2008 server. The streams propagation failed with an error.
SQL> select * from dba_recoverable_script;
SCRIPT_ID CREATION_ INVOKING_PACKAGE_OWNER
INVOKING_PACKAGE INVOKING_PROCEDURE
INVOKING_USER STATUS TOTAL_BLOCKS DONE_BLOCK_NUM
SCRIPT_COMMENT
9F726B92950A4DB2A76416714F134A6A 07-OCT-13 SYS
DBMS_STREAMS_ADM MAINTAIN_TABLES
STRMADMIN ERROR 72 23
Now I just want to drop the script and start all over again but i get the below error? STRMADMIN user does have DBA privs, please help. Regards,
SQL> exec dbms_recoverable_script.drop_script(script_id=> '9F726B92950A4DB2A76416714F134A6A');
BEGIN dbms_recoverable_script.drop_script(script_id=> '9F726B92950A4DB2A76416714F134A6A'); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_RECOVERABLE_SCRIPT.DROP_SCRIPT' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignoredHi,
-- replace the raw value with the one you receive
exec dbms_recoverable_script.drop_script(TO_RAW(TO_BLOB('CB68CBC3E4264A1680AE4620CFE6CD66')));
Please cheek this link: Morgan's Library Oracle DBMS_RECOVERABLE_SCRIPT Examples Sample Code Demos Tutorials SQL PL/SQL Streams</title><…
Thank you -
8i personal : error when Create user defined aggregate function
Hi,
I have problem on creating user defined aggregate function.
I try to create the sample aggregate function "SecondMax" from 9i developer guide(append at the end of this post).
It's work to create object type and the type body, but
there is error when I create the aggregate function..
"CREATE FUNCTION SecondMax (input NUMBER) RETURN NUMBER
PARALLEL_ENABLE AGGREGATE USING SecondMaxImpl;"
I am using 8i personal now.. is that the syntax of create function in 9i is different from that in 8i?
Example: Creating and Using a User-Defined Aggregate
This example illustrates creating a simple user-defined aggregate function SecondMax() that returns the second-largest value in a set of numbers.
Creating SecondMax()
Implement the type SecondMaxImpl to contain the ODCIAggregate routines.
create type SecondMaxImpl as object
max NUMBER, -- highest value seen so far
secmax NUMBER, -- second highest value seen so far
static function ODCIAggregateInitialize(sctx IN OUT SecondMaxImpl)
return number,
member function ODCIAggregateIterate(self IN OUT SecondMaxImpl,
value IN number) return number,
member function ODCIAggregateTerminate(self IN SecondMaxImpl,
returnValue OUT number, flags IN number) return number,
member function ODCIAggregateMerge(self IN OUT SecondMaxImpl,
ctx2 IN SecondMaxImpl) return number
Implement the type body for SecondMaxImpl.
create or replace type body SecondMaxImpl is
static function ODCIAggregateInitialize(sctx IN OUT SecondMaxImpl)
return number is
begin
sctx := SecondMaxImpl(0, 0);
return ODCIConst.Success;
end;
member function ODCIAggregateIterate(self IN OUT SecondMaxImpl, value IN number)
return number is
begin
if value > self.max then
self.secmax := self.max;
self.max := value;
elsif value > self.secmax then
self.secmax := value;
end if;
return ODCIConst.Success;
end;
member function ODCIAggregateTerminate(self IN SecondMaxImpl, returnValue OUT
number, flags IN number) return number is
begin
returnValue := self.secmax;
return ODCIConst.Success;
end;
member function ODCIAggregateMerge(self IN OUT SecondMaxImpl, ctx2 IN
SecondMaxImpl) return number is
begin
if ctx2.max > self.max then
if ctx2.secmax > self.secmax then
self.secmax := ctx2.secmax;
else
self.secmax := self.max;
end if;
self.max := ctx2.max;
elsif ctx2.max > self.secmax then
self.secmax := ctx2.max;
end if;
return ODCIConst.Success;
end;
end;
Create the user-defined aggregate.
CREATE FUNCTION SecondMax (input NUMBER) RETURN NUMBER
PARALLEL_ENABLE AGGREGATE USING SecondMaxImpl;
Using SecondMax()
SELECT SecondMax(salary), department_id
FROM employees
GROUP BY department_id
HAVING SecondMax(salary) > 9000;This could be a x64/x86 problem. Try following this thread
[GetCompanyService|GetCompanyService] and recompile your code for the platform you need. -
Error when opening User Administration
Hi Gurus,
I want to create the JCo Connections, and when trying to open the WebDynPro from Content Administration it gives an error
"You do not have the needed permissions to start the Web Dynpro Content Administrator. Please contact your System Administrator."
Wanted to add the user by which I was accessing Portal to Admin group, but when accessing User Administration-> Identity Management it gives an error
"The Web Dynpro Application 'PageBuilder' has expired. Restart the application using the Refresh button or via the following link PageBuilder."
Any suggestions appreciated and points will be rewarded.
Thanks.Hi,
Double click on ur webdynpro application.Go to application properties tab.create new application property,select predefined property->browse->it will open a popup->select expiration time->give the value for expiration time.
or
Refer the note : [842635|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=842635&nlang=EN&smpsrv=https%3a%2f%2fwebsmp206%2esap-ag%2ede]
Hope it helps,
Reward points if helpful.
Regards,
Shailesh Nagar -
LDAD Time Sync Error when creating user
Hi, we have a web service for eDirectory 8.8 SP5 that creates a few
users and does a couple other services. When the web service it
configured to connect to 1 of the 2 eDirectory servers (1 is a master,
and the other is read/write replica) then everything works just fine
(both server work just fine as long as you only connect to one of them
only). However, we tried to add redundancy by putting a load balancer
in front of the 2 eDir servers. When we use the VIP to make the LDAP
connection, we keep on getting this error when we try to create a user:
Caused by: LDAPException: Other (80) Other
LDAPException: Server Message: NDS error: time not synchronized (-659)
LDAPException: Matched DN:
at com.novell.ldap.LDAPResponse.getResultException(Un known Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPConnection.chkResultCode(Unkno wn Source)
at com.novell.ldap.LDAPConnection.modify(Unknown Source)
at com.novell.ldap.LDAPConnection.modify(Unknown Source)
I've ran ndsrepair -T and the time looks like it is synched and both
servers are running NTP. Do you know what could be causing this
problem? Also, it isn't the LB connection itself b/c everything works
fine if we disable one of the servers in the LB and still use the VIP
just to connect to just 1 server.
Thanks
Kalin35
Kalin35's Profile: http://forums.novell.com/member.php?userid=72672
View this thread: http://forums.novell.com/showthread.php?t=421486-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Can you tell us more about the changes taking place? For example, I
believe this can happen if you modify objectA on replica0 and then modify
objectA in another way on replica1. Timestamps on objects are made up of
the seconds since 1970 followed by a replica number (each replica's is
unique) and then an event number. As a result perhaps eDir feels time is
out of sync when it makes a change on a box and then the other replica
synchronizes in changes it received just a second earlier from your
application. It may be tricky to isolate if this is the case but it
should be possible with a bit of analysis. In the meantime you may want
to ensure your application (or your VIP) batches changes to one box and
then to the other as much as possible. The benefit of multi-master
replication (which eDirectory does by default) is you can write changes to
multiple boxes simultaneously, but the challenge is the same and requires
a way to resolve differences using transitive vectors which are made up of
those timestamps.
Good luck.
On 09/21/2010 04:06 PM, Kalin35 wrote:
>
> Hi, we have a web service for eDirectory 8.8 SP5 that creates a few
> users and does a couple other services. When the web service it
> configured to connect to 1 of the 2 eDirectory servers (1 is a master,
> and the other is read/write replica) then everything works just fine
> (both server work just fine as long as you only connect to one of them
> only). However, we tried to add redundancy by putting a load balancer
> in front of the 2 eDir servers. When we use the VIP to make the LDAP
> connection, we keep on getting this error when we try to create a user:
>
> Caused by: LDAPException: Other (80) Other
> LDAPException: Server Message: NDS error: time not synchronized (-659)
> LDAPException: Matched DN:
> at com.novell.ldap.LDAPResponse.getResultException(Un known Source)
> at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
> at com.novell.ldap.LDAPConnection.chkResultCode(Unkno wn Source)
> at com.novell.ldap.LDAPConnection.modify(Unknown Source)
> at com.novell.ldap.LDAPConnection.modify(Unknown Source)
>
>
> I've ran ndsrepair -T and the time looks like it is synched and both
> servers are running NTP. Do you know what could be causing this
> problem? Also, it isn't the LB connection itself b/c everything works
> fine if we disable one of the servers in the LB and still use the VIP
> just to connect to just 1 server.
>
> Thanks
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJMmTgcAAoJEF+XTK08PnB5F70QAI2FqxmouS Ljb2CZYOgEPE14
8sIKFJmskkQJBInS41vT0HOllbKzTQwVel99facLbr425piggC X6tN9r0U4Pnoil
0jBdjb/HX6qy1E1gcCQWlMLFNjKw7pG8kY+iT+lteAjrjU0h5uJB2JYoX 5KXaKQX
8GDCW38mXuWLX6x9WEwZ0WXMlU/Xbynjs8R1k9LY34pxK9Map2pADZKO8TT7V8Hs
zG7ZMmsMeos/3vgbc5sUmflGGpmivmhihp7RZE8ME5FvKRC1ximsaEqLrWNrpT 1H
IAnnBgG5vdcOcDDIiYKnTIj2JYMhb4JapxaNyQurIDgAbBQo1g yyWmYJlRfe+pQP
TjIQHRTVZQdy4Y98G2RisNbSwZMv8zC1buDDq1njCYS/OO/3rqo3/yL5bh2n/pjf
e6WMVAzsihd/csc9vOW7Z/9X0apKrckZUorhftdrEJCWOdnOXOx1MaZXhl0ppAKy
sdJU12wdFMUi32F79yjxrcriUq/Hh3w76vT9nVXUR9XuSIXR77uuWtvBt/qSNAqt
9IOL64jMHPw/AGyBTrvdp+Xz8MVkVzwXotctamACVmTeZ6bhFzPigfZ72zTQwH DV
QNF3Mql5hw1LdgwytgeIzbAuHYZdml2b2e+esU5DkEZNegpFYj gptZSAohzTCQMH
pY9I+p8g4ca4urXWtzpp
=AZgR
-----END PGP SIGNATURE----- -
Error when other user want to change list item with rejected status
Hi All,
I have list with Content Approval option.
One of users edits one of the items, which are being rejected. After that, other user wants to edit same item. Second user doesn't see rejected changes from other users, he changes some field in this item and want to save changes.
Unfortunately, SP shows error and doesn't save changes. Content Approval is still Rejected.
Why SP doesn't allow other users to change this item ?Hi,
According to your post, my understanding is that second user get an error and can’t save changes when one user and the second user are editing the same item in a list at the same time.
I do this test in my environment, and the result is the same as you get.
In SharePoint, the system enables you and your colleagues to view the same item in a list at the same time.
However, it’s by design that the system can’t allow both you and your colleagues to save the their corresponding changes when they are editing the same item in a list at the same time whether this list enable the Content Approval option, the Content Approval
status of the current item or not.
If one user first click on the “Save” button to save the modified item, he can save the changes back, and all the late users will get the error and can’t save their modified item when they click on the “Save” button.
For more information, you can refer to:
http://blog.ciber.com/2014/say-goodbye-to-save-conflicts-co-authoring-and-real-time-communication-for-sharepoint-forms-with-signalr/
http://adrianhenke.wordpress.com/2010/08/20/sharepoint-error-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user/
Best Regards,
Yumi Fu -
Error when updating users fields within the webcenter portal
Hi experts,
Our users want to update the preferred Language field. We achieve that by setting in Administration > Configuration > People Connections > Profile > Profile Attributes - Edit Settings:
Unfortunately, it throws error when user click "Update". WCS#2012.04.18.17.27.38 : Unexpected error saving attribute: oracle.ods.virtualization.service.VirtualizationException: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 50 : [LDAP: error code 50 - 00002098: SecErr: DSID-03150A45, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
Can anyone share the thoughts about this>?you have configured LDAP with webcenter for user.
and need to ask this query to respective LDAP persons.
As I clearly see the "INSUFF_ACCESS_RIGHTS"--so provide the admin rights (or required priviledge) for the user.
LDAP Error 50 : [LDAP: error code 50 - 00002098: SecErr: DSID-03150A45, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
Regards,
Hoque -
Error when Create User Defined Field
Hi all, i got an error when create UDF
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Here is part of my code
oUserFieldMD.Name = fieldname
oUserFieldMD.Description = fielddesc
oUserFieldMD.Type = fieldtype
oUserFieldMD.DefaultValue = defaultValue.ToString()
If fieldtype <> SAPbobsCOM.BoFieldTypes.db_Date Then
oUserFieldMD.Size = fieldlength
oUserFieldMD.EditSize = fieldlength
End If
If fieldtype = SAPbobsCOM.BoFieldTypes.db_Float Then
oUserFieldMD.SubType = SAPbobsCOM.BoFldSubTypes.st_Price
Else
oUserFieldMD.SubType = SAPbobsCOM.BoFldSubTypes.st_None
End If
oUserFieldMD.TableName = tablename
lRetVal = oUserFieldMD.Add()
prgbar.Value = prgbar.Value + 1
If (lRetVal <> 0) Then
msgs.Add(tablename & " - " & fieldname & " : " & oCompany.GetLastErrorDescription())
Else
msgs.Add(tablename & " - " & fieldname & " : successfully created!")
End If
the error come when reach lRetVal = oUserFieldMD.Add()
what is wrong with my code ?
thanks.This could be a x64/x86 problem. Try following this thread
[GetCompanyService|GetCompanyService] and recompile your code for the platform you need. -
Getting error when run user defined transaction code
Hi there,
I created one ZTcode by using standard Tcode's program and screen number. When I run this Ztcode, shows an error "Error when access file TC10 Ztcode" on taskbar. What is problem, pls reply.
ur answer is most useful.
Regards,
Zakir Khan.TC10 stores information related to SAP transaction like TC10-TRTYP which give the type of transaction (display, edit, initial)
The standard program check in this table (and other TC*) how it should perform.
Way to solve the problem
- try defining you Z-transaction by referencing standard transaction, not giving the program/dynpro.
- If that don't work you may have to duplicate the called program and then override sy-tcode by the original value in the program before accessing tables TC*
- Other way is to duplicate records in table TC10 and other tables
Regards -
Ora-00600 error when dropping a table
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
When I tried to drop a table, I got 600 error:
SQL> desc DEV.ATTR_IDX$EX
Name Null? Type
NODE_ID NOT NULL NUMBER
COL1 NUMBER
SQL> show user;
USER is "DEV"
SQL> select count(*) from DEV.ATTR_IDX$EX;
COUNT(*)
0
SQL> drop table DEV.ATTR_IDX$EX;
drop table DEV.ATTR_IDX$EX
ERROR at line 1:
ORA-00600: internal error code, arguments: [15265], [], [], [], [], [], [], [],
SQL> drop table DEV.ATTR_IDX$EX purge;
drop table DEV.ATTR_IDX$EX purge
ERROR at line 1:
ORA-00600: internal error code, arguments: [15265], [], [], [], [], [], [], [],
I guess this is because it had a parent table, which I dropped (I used "drop table <parent_table>", and it did not give me error, very strange).
SQL> select dbms_metadata.get_ddl('TABLE','ATTR_IDX$EX') from dual;
DBMS_METADATA.GET_DDL('TABLE','ATTR_IDX$EX')
CREATE TABLE "DEV"."ATTR_IDX$EX"
( "NODE_ID" NUMBER NOT NULL ENABLE,
"COL1" NUMBER,
FOREIGN KEY ("NODE_ID")
REFERENCES () ON DELETE CASCADE ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS"
MONITORING
Try to drop FK constraints yields the same error.
So now how can I drop this table table, any work around?
Thanks.This is a bug. There is no Patch avaialble for this yet. This error is seen where recyclebin is enabled. Possible workaround is to disable the recyclebin.
This happens with the dictionary corruption due to inconsistency between obj$ and seg$.
This is a correct answer but still i would suggest to contact Oracle support.
Maybe you are looking for
-
Open commitments though Delivery complition ticked for PO.
Dear Experts, I am facing a very strange issue. We have a PO with 10 line items all items are alike except line item 9/10 where unit of measure is EA (each) and for others it is D (days). (account assignment catagory as Project, in the account assign
-
FI standard print program for invoice
Hi, I want any standard print program and smartform avilable for Fi module to print invoice, like for example we have rlb_invoice in SD module. Thanks & regards, Sathish.
-
I need to create first, last, next, and previous buttons in my gui. I have them in there (in the code), but only one button shows up (instead of four), and it has "first" overlapped with the "previous" button. The "next" and "last" don't even show up
-
Can't delete empty iphoto trash
Greetings all, first post. Trying to remove a bunch of photos off my Macbook Pro (OS X 10.6.8, iphoto 09 8.1.2). I have over 3000 photos in my trash bin within iphoto. I select and click 'empty trash,' it prompts me to confirm this, I click 'okay
-
How to call serlvet using ftp protocal
Hai, How to call servlet using ftp protocal . if any one having please send that program . because generic servlet will receive any protocal request .