.ora-code.com

Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
ORA-01940: cannot drop a user that is currently connected

ORA-01940: cannot drop a user that is currently connected

2006-07-05       - By Laimutis Nedzinskas
Reply:     1     2     3     4  

Once upon a time I had a session hanging w/o entry in v$session.
Somehow I found the process id and killed it from OS.


> __ ____ ____ ____ ____ ____ ____ ____ ____ __
> From:   oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)]
On Behalf Of John Dunn
> Sent:   5. júlí 2006 09:27
> To:   'oracle-l digest users'
> Subject:   ORA-01940 (See ORA-01940.ora-code.com): cannot drop a user that is currently connected
>
> ORA-01940 (See ORA-01940.ora-code.com): cannot drop a user that is currently connected
>
> I get this error on Oracle 10.2.0.1.0 but cannot see any sessions for the
user.
>
> I have rerun the drop, but now it just hangs.
>
> Anything I can do but bounce the database?
>
> John Dunn
> Product Consultant
> Direct Dial +44 (0) 117 373 6122
> Sefas Innovation Ltd, CityPoint, Temple Gate, Bristol BS1 6PL, UK.
> Tel: +44(0) 117 373 6114
> Fax: +44 (0) 117 373 6115
>
> www.sefas.com
>
>
>

Fyrirvari/Disclaimer
http://www.landsbanki.is/disclaimer

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: ORA-01940 (See ORA-01940.ora-code.com): cannot drop a user that is currently connected</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Once upon a time I had a session
hanging w/o entry in v$session. </FONT>

<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Somehow I found the process id
and killed it from OS.</FONT>
</P>
<BR>

<P><FONT SIZE=1 FACE="Tahoma">__ ____ ____ ____ ____ ____ ____ ____ ____ __ <
/FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">From: &nbsp;</FONT></B> <FONT SIZE=1 FACE=
"Tahoma">oracle-l-bounce@(protected) [</FONT><A HREF="mailto:oracle-l-bounce
@(protected)"><U><FONT COLOR="#0000FF" SIZE=1 FACE="Tahoma">mailto:oracle-l
-bounce@(protected)</FONT></U></A><FONT SIZE=1 FACE="Tahoma">]&nbsp;</FONT><B>
<FONT SIZE=1 FACE="Tahoma">On Behalf Of</FONT></B> <FONT SIZE=1 FACE="Tahoma"
>John Dunn</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Sent:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1
FACE="Tahoma">5. júlí 2006 09:27</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT
SIZE=1 FACE="Tahoma">'oracle-l digest users'</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">ORA-01940 (See ORA-01940.ora-code.com): cannot drop a user that
is currently connected</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">ORA-01940 (See ORA-01940.ora-code.com): cannot drop a user that is currently
connected</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I get this error on Oracle</FONT> <FONT SIZE=2
FACE="r_ansi">10.2.0.1.0</FONT><FONT SIZE=2 FACE="Arial"> but cannot see any
sessions for the user. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have rerun the drop, but now it just hangs.<
/FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Anything I can do but bounce the database?</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">John Dunn</FONT>

<BR><FONT SIZE=2 FACE="Courier New">Product Consultant</FONT>

<BR><FONT SIZE=2 FACE="Courier New">Direct Dial +44 (0) 117 373 6122</FONT>

<BR><FONT SIZE=2 FACE="Courier New">Sefas Innovation Ltd, CityPoint, Temple
Gate, Bristol BS1 6PL, UK.</FONT>

<BR><FONT SIZE=2 FACE="Courier New">Tel: +44(0) 117 373 6114</FONT>

<BR><FONT SIZE=2 FACE="Courier New">Fax: +44 (0) 117 373 6115</FONT>
</P>

<P><A HREF="file://www.sefas.com"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Courier
New">www.sefas.com</FONT></U></A>
</P>
<BR>
<BR>


<P><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Arial"><BR>Fyrirvari
/Disclaimer<BR><A
href="http://www.landsbanki.is/disclaimer"><SPAN
style="COLOR: gray">http://www.landsbanki.is/disclaimer</SPAN></A><o:p></o:p><
/SPAN></P>
</BODY>
</HTML>