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
Similar Messages
-
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 PMThank 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; -
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. -
ORA-00600 Error, when Dropping one temporary tablespace
Hi,
I am using Oracle 10.1.0.2.0 on WinXPP, after I created a new temp tablespace and assigned one user to it as its temp tablespace, then trying to drop the old temp tablespace , I am getting the following Error . Can anybody pl. explain the reason.
Steps I followed as...
SYSTEM@orcl>create temporary tablespace checkup_tmp tempfile 'c:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL \CHECKUP_Tmp.dat' size 500M;
Tablespace created.
SYSTEM@orcl> alter user checkup temporary tablespace checkup_tmp;
User altered.
SYSTEM@orcl> drop tablespace CHECKUP_TEMP including contents;
drop tablespace CHECKUP_TEMP including contents
ERROR at line 1:
ORA-00600: internal error code, arguments: [krf_gen_drop_tablespace-1], [], [],
SYSTEM@orcl> drop tablespace CHECKUP_TEMP ;
drop tablespace CHECKUP_TEMP
ERROR at line 1:
ORA-00600: internal error code, arguments: [krf_gen_drop_tablespace-1], [], [],
Thanks in advancethis is the bug 3984486
consider upgrading.
the workaround seems to flashback the DB... -
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. -
ORA-04062 error when running forms with different users
ORA-04062 error when running forms with different users
I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
I wrote a stored procedure to get the data from other user's tables.
When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
My Forms version is 6i with Patch 15.
Database version is 9.
Here is my stored procedure:
TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
TYPE Open_Curs IS REF CURSOR;
PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
Curs Open_Curs;
i NUMBER;
BEGIN
OPEN Curs FOR
'SELECT Seq_No FROM '|| User_Name ||'.scenario';
i := 1;
LOOP
FETCH Curs INTO Scen_Table(i);
EXIT WHEN Curs%NOTFOUND;
i := i + 1;
END LOOP;
END Get_Senarios;
I would be happy to solve this problem. It's really important.
Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)I think it should be a better solution to create a package,
and put your own TYPES and procedure into it.
CREATE OR REPLACE PACKAGE PKG_XXX IS
TYPE TYP_TAB_CHAR IS TABLE OF .... ;
PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
END ;
Then in your Form :
Declare
var PKG_XXX.TYP_TAB_CHAR ;
Begin
PKG_XXX.P_XX( 'user_name', var ) ;
End ; -
ORA-01031 Error When starting Database
I have installed Oracle 11gr2 on my laptop having OS ubuntu 10.04, after installation i am receiving ORA-01031 error when try to log in with the command
sqlplus / as sysdba what should i do to resolve it...Hi,
there are a lot of possibilities why this can be wrong. Look at Oracle Support for note 233223.1, "Checklist for Resolving CONNECT AS SYSDBA (INTERNAL) Issues". This gives links to notes which leads you to maybe the solution.
Possibilities are:
- you are root, which is not allowed. You should connect with the oracle user
- your user is not part of the dba group
- permissions on files
- and many more
Herald ten Dam
http://htendam.wordpress.com -
Ora 12154 error when trying to add a database to VS Server Explorer
Hi Everyone,
I get the Ora 12154 error when trying to add a database to VS Server Explorer.
How do I get around this problem.
The database service is running and I can connect to the database with pl/sql.
I can also tnsping the database and that is also ok.
Looks like a problem with the odp.net software.
I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
I am new to this stuff so please help me step by step.
Thanks.
EmadHi J. B.
I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
Anyway here is the VB coding I used. I'm new to this and still learning:
Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
Public Class Form1
' String to connect to the database.
Dim strConnectionString As String = _
"Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
' Associate the connection string with a connection object.
Dim objOracleConnection As New OracleConnection(strConnectionString)
' SQL query for returning data rows.
Dim strSqlQuery As String = _
"Select dname, deptno " & _
"From dept " & _
"Where deptno = 10" '
' Command object to make this query work.
Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Identify what type of command is being used.
objOracleCommand.CommandType = CommandType.Text
Try
objOracleConnection.Open()
' Set up a Data Reader and load it with data.
Dim objOracleDataReader As OracleDataReader = _
objOracleCommand.ExecuteReader()
objOracleDataReader.Read()
' Convert the department number to a string.
lblDepartmentNumberFromOracle.Text = _
CStr(objOracleDataReader.Item("deptno"))
Catch ex As Exception
MessageBox.Show(ex.Message, "Error")
End Try
End Sub
End Class
I still want to thank you for the help you are providing.
Truly,
Emad -
ORA-907 ERROR WHEN IMPORT (COMMENT 처리)
제품 : ORACLE SERVER
작성날짜 : 1997-10-15
ORA-907 ERROR WHEN IMPORT (COMMENT 처리)
========================================
ORA-907: missing right parenthesis error
이 error 는 export 한 table 을 create 시 comment 를 사용한 경우 발생하는 ORACLE error 이다.
이는 version 8.0.4 에서 fix 되었다.
이를 해결하기 위해서는 미리 table create script 를 돌려 temp_table 을
create 하십시오.
이 때 comment 를 모두 뺀 상태로 create 한다. 또는 /* */ 는 괜찮다.
이후 INSERT INTO temp_table select * from original_table ;
을 실행합니다.
즉 original_table 을 temp_table 로 copy 한 후
drop table original_table;
rename temp_table to original_table ;
을 한 후 table을 다시 export해서 다른 machine으로 import한다.
또 이 -- 를 없애는 방법으로 아래의 C program을 이용할 수 있다.
/* file name : cnvt_dmp.c
* This program is to covert double dash remark expression
* C language stype remark expression.
#include <stdio.h>
#define MAXWORDS 4
char s_reserve[4][100]={ "NOT NULL", "CONSTRAINTS",")",","};
int dash2remark();
void main(argc,argv)
int argc;
char *argv[];
FILE f_in, f_out;
int i,j,lreserve;
int chr1,chr2;
char str1[100],str2[100],str3[100];
if( argc != 3 ) {
printf(" usage : cnvt_dmp infile.dmp outfile.dmp \n");
exit(0);
if( (f_in = fopen(argv[1],"r")) == NULL ) {
printf("could't open the source file.: %s\n",argv[1]);
exit(0);
if( (f_out = fopen(argv[2],"w")) == NULL ) {
printf("대상화일을 생성할 수가 없습니다.\n");
exit(0);
j = i = 0;
while( (chr1 = fgetc(f_in)) != EOF && !ferror(f_in)) {
if( chr1 == 'D' ) {
str1[0]='D';
fputc(chr1, f_out) ;
for(i=1;i<7;i++) {
chr1 = fgetc(f_in);
str1[i] = chr1;
fputc(chr1, f_out) ;
str1[7] = 0;
strcpy( str2,"DEFAULT");
if ( strcmp( "DEFAULT",str1) == 0 ) {
lreserve = 0;
i =0;
while( (chr2 = fgetc(f_in))!= ','){
if ( chr2 == ')') break;
str2[i] = chr2;
if ( chr2 == '-' )
lreserve = 1;
i++;
str2[i] = chr2;
str2[i+1] = 0;
printf(" lreserv => %d, str2=>%s\n",lreserve,str2);
if (lreserve) {
dash2remark(f_in,f_out,str2);
else {
for( i=0;i<strlen(str2);i++) fputc(str2,f_out);
else {
fputc(chr1, f_out );
fclose(f_out);
fclose(f_in);
return;
int dash2remark( f_in,f_out,str)
FILE f_in,f_out;
char *str;
int i,j,start_pos=-1,end_pos=-1;
for( i=0; i < strlen(str); i++ ) {
if ( str[i] == '-') {
start_pos = i;
for( j =0 ; j < MAXWORDS; j++){
if (strncmp(s_reserve[j],str+i,strlen(s_reserve[j]))== 0){
end_pos = i;
if ( start_pos > 0 ) {
for(i=0;i< (start_pos-1); i++)
fputc( str[i],f_out);
fputc('/',f_out); fputc('*',f_out);
for(i =i+2;i<(end_pos-1);i++)
fputc(str[i],f_out);
fputc('*',f_out); fputc('/',f_out);fputc(' ',f_out);
for(i;i<strlen(str);i++)
fputc(str[i],f_out);
else {
for(i=0;i<strlen(str);i++)
fputc(str[i],f_out);
return(1);
이상입니다.Hi, i think that the problem is around the rollback segments.The solution is bring other rollback segments ONLINE state, if not exist others rollbackup,then you need create the other rollback segments and bring online state.
If you need more information, you will must see the next DOC-ID on Metalink site,
Note:121971.1
Luck.
Have a good day.
Regards. -
ORA -12569 error when querying dba_change_notification_regs table
Hi,
I am getting ORA-12569 error when i am trying to execute Select * from dba_change_notification_regs from sys user .we are working on oracle 10.2 version.
Please help in resoving the issue.
Thanks In advance.
PriyaORA-12569: TNS:packet checksum failure
Cause: The data received is not the same as the data sent.
Action: Attempt the transaction again. If the error is persistent, turn on tracing and reexecute the operation.
If this doesn't resolve your issue, please see metalink 4933023.8 (problem fixed there) -
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 -
ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http
I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
when browsed through some of the messages they point to setting Oracle Wallet Manager.
I am trying to connect
Any idea on how to resolve this issue ?
your input is appreciated.
Thanks
RaviDuplicate post ... please ignore.
-
ORA-0907 error when querying XMLDB Table using XMLExists
Hi All,
Get ORA-00907 error when trying to use XMLExists:
SELECT *
FROM tnmab_agreement_xml_binary A
WHERE
( XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/ShippingPartyGroups/ShippingParties/CustomerHolder[SAP_ID="$ARG"]')
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")
OR
( XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/NamedCustomerGroups/NamedCustomer/SAP_IDs/StringWrappers[Value="$ARG"]')
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")
ORA-00907: missing right parenthesis
*00907. 00000 - "missing right parenthesis"*
**Cause:*
**Action:*
Error at Line: 6 Column: 176
Any help is appreciated
Thanks
AuroXMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/ShippingPartyGroups/ShippingParties/CustomerHolder[SAP_ID="$ARG"]'
passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")no ')' after the closing quote -
ORA-00054 error when loading Oracle table using Data Services
Hello,
we are facing ORA-00054 error when loading Oracle table using BO Data services
(Oracle 10g database, BODS Xi 3.2 SP3)
Test Job performs
1- truncate table
2- load table (tested in standard and bulk load modes)
Scenario when issue happens is:
1- Run loading Job
2- Job end in error for any Oracle data base error
3- When re-running the same Job, Job fails with following error
ORA-00054: resource busy and acquire with NOWAIT specified
It seems after first failure, Oracle session for loading the table stays active and locks the table.
To be able to rerun the Job, we are forced need to kill Oracle session manually to be able to run the Job again.
Expected behaviour would be : on error rollback modifications made on table and BODS stops Oracle session in a clean way.
Can somebody tell me / or point me to any BODS best practice about Oracle error handling to prevent such case?
Thanks in advance
Paul-Mariethe ora-0054 can occure depending how the job failed before. If this occures you will need the DBA to release the lock on the table in question
Or
AL_Engine.exe on The server it creates the Lock. Need to Kill Them. Or stop it..
This Problem Occurs when we select The Bulkloading Option in orclae We also faced the same issue,Our admin has Killed the session. Then everything alright. -
ORA-03115 error when calling a Stored Procedure
Hi All,
I'm in the process of porting a Pro/C app from NT to Linux. I've installed 8.1.5 on our Linux box and patched it up to 8.1.5.02.
It all kind of works ok, except that I'm sometimes getting ORA-03115 errors when the app calls a stored procedure. The call in question looks like this:
EXEC SQL BEGIN DECLARE SECTION;
VARCHAR resprows[50][3998];
int numret = 0;
int numrows= 50;
int done= 0;
unsigned long resp_id = 0;
EXEC SQL END DECLARE SECTION;
EXEC SQL AT DB_NAME EXECUTE
BEGIN pkg_something.getdata(
:resp_id, /* IN */
:numrows, /* IN */
:done, /* OUT */
:resprows, /* OUT */
:numret /* OUT */
END;
END-EXEC;
The stored procedure basically uses the resp_id value to select rows from a table;
in each row there is a VARCHAR2(4000) column which it copies into the hostarray resprows.
There may be anything from 1 to numrows returned from the SP.
Initially, the resprows rows were defined to be size [4000]. Unfortunately, this caused ORA-02005 errors - I then changed the size to [3998], which seemed to fix the 02005's (although I'm unclear as to the reasons why).
Now I'm getting the 03115 errors when calling the SP. The oracle manual is not very helpful on what this error means.
This all works chipper on NT.
Any ideas?
Thanks in advance,
Nigel.
PS: The database the app is talking to is still hosted on NT.
nullHiston FTM wrote:
ORA-04063: package body "LAZARUS.LAZARUS" has errors Above, obviously conflicts with the statement that follows:
>
The procedure and package have both compiled without errors and the statement on its own works fine in SQL*Plus.I suggest you take a look in the USER_ERRORS view to see, what the errors are.
And just checking:
You have schema called LAZARUS, which holds a package named LAZARUS, which holds a procedure called POPULATEGRIDPOSITIONS?
Edited by: Toon Koppelaars on Oct 1, 2009 5:55 PM
Maybe you are looking for
-
I have an old 3G as well as a 4S. Initially I set up a separate iTunes account for the 4S as I was worried I'd lose my old apps for 3G (as older, compatible versions aren't kept in the iTunes store so once they're gone, they're gone...). 3G is set up
-
Ipod is seen by computer, but not itunes
My 40 gig ipod suddenly isn't seen by itunes, so I can't update my podcasts, music, etc. It shows up on my desktop though. My older 20 gig shows up and works fine. I just did the latest Itunes update hoping this would fix the problem, but it didn't.
-
First - I live in a tiny fishing village in Belize, so getting support here is virtually non-existent. There is no one else in my village who even uses a Mac. Recently, my hard drive in my 2012 Macbook Pro 13" went bad (said it suffered a "shock"?) a
-
Window server crashing mountain lion?
So my computer has crashed I think 5 times today, and I'm not sure what is going on. I've had a problem with it crashing before, and people on this forum said the problem was with Parallels. However, I'm still having problems after uninstalling Par
-
Using RTSI on the PCI-7811R FPGA
I have created a FPGA vi that outputs a certain signal that I want to go out a DIO and the RTSI. It goes out the DIO ok. But there seems to be nothing going out the RTSI line. I've added the RTSI resourse to the project, and all I do in the FPGA V