Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to kill a user active session?

Re: How to kill a user active session?

From: Scott Shafer <scott.shafer_at_ildmail.com>
Date: Wed, 26 Jul 2000 09:27:58 -0500
Message-Id: <10570.113010@fatcity.com>


This is a multi-part message in MIME format.

------=_NextPart_000_0074_01BFF6E3.C99AAEB0 Content-Type: text/plain;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

RE: Urgent: NT 8.0.5 restarted after 76 days, now slowIf you are using =

MTS, one of your shared servers is holding the session.  If you can kill =
the shared server at the OS level (it will respawn itself as needed) the =
session will disappear from the v$session view.  I have seen this happen =
quite often on O7.3.x when someone terminated a client app connection = non-gracefully (like a power outage in the middle of a large SQL = Navigator retrieval).

Scott Shafer
San Antonio, TX

  You can also kill the o/s pid if alter system kill session is not = working and you are absolutely sure this is a runaway process.

    -----Original Message-----
    From: Anies Yahoo [mailto:anies_th_at_yahoo.com]     Sent: Wednesday, July 26, 2000 3:34 AM     To: Multiple recipients of list ORACLE-L     Subject: RE: How to kill a user active session?

=20

    > 1. Can any body please explain, why this above error came = even when I can see the username, sid and status as active in v$session.

=20

    when you see the session_id in v$session, you could kill that = session

=20

    > 2. Also, please, is there any other way to kill an active = user session?

=20

    use the instance manager (the one of utilities in enterprise = manager).

=20

    HTH,
=20

    Anies.

=20

=20

=20

     -----Original Message-----
    From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of = Maheshwara Rao, L., Teki

    Sent: Wednesday, July 26, 2000 11:27 AM     To: Multiple recipients of list ORACLE-L     Subject: How to kill a user active session?

      Hi All,

      =20

      Environment : Solaris 2.6 : db version : 8.0.4

      =20

      One of my developers was accessing the database thru SQL*NET. He = was doing simple commands (like descry. Table structures, etc) in SQL = PLUS. After some time his screen hung. He could not close the screen. = He ended sql task through task manager on PC. After this, I queried the = table v$session and the following are the details of v$session table = query.

      =20

      Username - hall :::: sid -- 13 :::: serial# --5555 ::: = status - active

      =20

        I gave the following command.

      =20

               ALTER SYSTEM KILL SESSION '13,5555';       =20

      Now, I got error ---- ORA - 00030 : user session ID does not exist

      =20

      I repeated the above sequence of actions after 5 minutes, i.e., = querying the v$session and then giving the command --- alter system kill = session.

      =20

      I got same error message as above. (while the above activity is = going on, other developers were accessing db through SQL NET).

      =20

      QUESTIONS :=20       =20

  1. Can any body please explain, why this above error came = even when I can see the username, sid and status as active in v$session.

      =20

      2. Also, please, is there any other way to kill an active = user session?

               =20

       Thanks in advance,

      =20

      Rao

      =20

      teki01_at_mediaone.net

      =20

------=_NextPart_000_0074_01BFF6E3.C99AAEB0 Content-Type: text/html;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20 "urn:schemas-microsoft-com:office:office" xmlns:w =3D=20 "urn:schemas-microsoft-com:office:word"><HEAD><TITLE>RE: Urgent: NT = 8.0.5 restarted after 76 days, now slow</TITLE> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type>

<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 5.00.3105.105" name=3DGENERATOR>
<META content=3D"Microsoft Word 9" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml_at_01BFF68F.6383C700" rel=3DFile-List><!--[if gte = mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>  <w:WordDocument>
  <w:Zoom>0</w:Zoom>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>

 </w:WordDocument>
</xml><![endif]-->
<STYLE>P.MsoNormal {

        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; = mso-style-parent: ""; mso-pagination: widow-orphan; = mso-fareast-font-family: "Times New Roman" }
LI.MsoNormal {

        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; = mso-style-parent: ""; mso-pagination: widow-orphan; = mso-fareast-font-family: "Times New Roman" }
DIV.MsoNormal {

        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; = mso-style-parent: ""; mso-pagination: widow-orphan; = mso-fareast-font-family: "Times New Roman" }
A:link {

        COLOR: blue; TEXT-DECORATION: underline; text-underline: single }
SPAN.MsoHyperlink {

        COLOR: blue; TEXT-DECORATION: underline; text-underline: single }
A:visited {

        COLOR: blue; TEXT-DECORATION: underline; text-underline: single }
SPAN.MsoHyperlinkFollowed {

        COLOR: blue; TEXT-DECORATION: underline; text-underline: single }
P.MsoAutoSig {

        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; = mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman" }
LI.MsoAutoSig {

        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; = mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman" }
DIV.MsoAutoSig {

        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; = mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman" }
P {

        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN-LEFT: 0in; = MARGIN-RIGHT: 0in; mso-pagination: widow-orphan; = mso-fareast-font-family: "Times New Roman"; mso-margin-top-alt: auto; = mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {

        COLOR: navy; mso-style-type: personal-reply; mso-ansi-font-size: = 10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; = mso-bidi-font-family: Arial
}
DIV.Section1 {

        page: Section1
}
OL {

        MARGIN-BOTTOM: 0in
}
UL {

        MARGIN-BOTTOM: 0in
}

</STYLE>
</HEAD>
<BODY bgColor=3D#ffffff lang=3DEN-US link=3Dblue style=3D"tab-interval: =
.5in"=20
vLink=3Dblue>
<DIV><FONT size=3D2>If you are using MTS, one of your shared servers is = holding=20
the session.&nbsp; If you can kill the shared server at the OS level (it = will=20
respawn itself as needed) the session will disappear from the v$session=20 view.&nbsp; I have seen this happen quite often on O7.3.x when someone=20 terminated a client app connection non-gracefully (like a power outage = in the=20
middle of a large SQL Navigator retrieval).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Scott Shafer</FONT></DIV>
<DIV><FONT size=3D2>San Antonio, TX</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20

style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">   <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>   <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20
  <A href=3D"mailto:lkoivu_at_qode.com" title=3Dlkoivu_at_qode.com>Koivu, = Lisa</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A = href=3D"mailto:ORACLE-L_at_fatcity.com"=20
  title=3DORACLE-L_at_fatcity.com>Multiple recipients of list ORACLE-L</A> = </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, July 26, 2000 = 8:03=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: How to kill a user = active=20
  session?</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D945325511-26072000><FONT color=3D#0000ff = face=3DArial size=3D2>You=20
  can also kill the o/s pid if alter system kill session is not working = and you=20
  are absolutely sure this is a runaway process.</FONT></SPAN></DIV>   <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">     <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT = face=3DTahoma=20

    size=3D2>-----Original Message-----<BR><B>From:</B> Anies Yahoo [<A=20
=

href=3D"mailto:anies_th_at_yahoo.com">mailto:anies_th_at_yahoo.com</A>]<BR><B>S= ent:</B>=20

    Wednesday, July 26, 2000 3:34 AM<BR><B>To:</B> Multiple recipients = of list=20

    ORACLE-L<BR><B>Subject:</B> RE: How to kill a user active=20     session?<BR><BR></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2>     <P class=3DMsoNormal=20
    style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 = level1 lfo12; tab-stops: list 27.0pt"><SPAN=20

    class=3DEmailStyle18><FONT face=3DArial size=3D2><SPAN=20     style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><SPAN=20

    class=3D230322006-26072000></SPAN></SPAN></FONT></SPAN>&nbsp;</P>     <P class=3DMsoNormal=20
    style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 = level1 lfo12; tab-stops: list 27.0pt"><SPAN=20

    class=3DEmailStyle18><FONT face=3DArial size=3D2><SPAN=20     style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt">&gt;<SPAN=20

    class=3D230322006-26072000> </SPAN>1.<FONT face=3D"Times New Roman" = size=3D1><SPAN=20

    style=3D"FONT: 7pt 'Times New =
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20

    </SPAN></FONT></SPAN></FONT></SPAN><SPAN class=3DEmailStyle18><FONT = face=3DArial=20

    size=3D2><SPAN=20
    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt">Can=20

    any body please explain, <SPAN style=3D"mso-spacerun: = yes">&nbsp;</SPAN>why=20

    this above error came even when I can see the username, sid and = status as=20

    active in v$session.</SPAN></FONT></SPAN></P>     <P class=3DMsoNormal=20
    style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 = level1 lfo12; tab-stops: list 27.0pt"><SPAN=20

    class=3DEmailStyle18><FONT face=3DArial size=3D2><SPAN=20     style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"></SPAN></FONT></SPAN>&nbsp;</P>

    <P class=3DMsoNormal=20
    style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 = level1 lfo12; tab-stops: list 27.0pt"><SPAN=20

    class=3DEmailStyle18><SPAN=20
    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><o:p><SPAN=20

    class=3D230322006-26072000>when you see the session_id in v$session, =

    you&nbsp;could kill that session</SPAN></o:p></SPAN></SPAN></P>     <P class=3DMsoNormal=20
    style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 = level1 lfo12; tab-stops: list 27.0pt"><SPAN=20

    class=3DEmailStyle18><SPAN=20
    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><o:p><SPAN=20

    class=3D230322006-26072000></SPAN></o:p></SPAN></SPAN>&nbsp;</P>     <P class=3DMsoNormal style=3D"MARGIN-LEFT: 9pt"><SPAN = class=3DEmailStyle18><SPAN=20

    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt">&gt;<SPAN=20

    class=3D230322006-26072000> </SPAN>2.<FONT face=3DArial = size=3D2><SPAN=20

    style=3D"FONT: 7pt 'Times New =
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20

    </SPAN></FONT></SPAN></SPAN><SPAN class=3DEmailStyle18><SPAN=20     style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt">Also,=20

    please, is there any other way to kill an active user=20     session?</SPAN></SPAN></P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 9pt"><SPAN = class=3DEmailStyle18><SPAN=20

    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"></SPAN></SPAN>&nbsp;</P>

    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 9pt"><SPAN = class=3DEmailStyle18><SPAN=20

    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><SPAN=20

    class=3D230322006-26072000></SPAN>u<SPAN = class=3D230322006-26072000>se=20

    the&nbsp;instance manager (the one of utilities&nbsp;in enterprise=20     manager).</SPAN></SPAN></SPAN></P>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 9pt"><SPAN = class=3DEmailStyle18><SPAN=20

    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><SPAN=20

    class=3D230322006-26072000></SPAN></SPAN></SPAN>&nbsp;</P>     <P class=3DMsoNormal style=3D"MARGIN-LEFT: 9pt"><SPAN = class=3DEmailStyle18><SPAN=20

    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><SPAN=20

    class=3D230322006-26072000></SPAN><SPAN = class=3D230322006-26072000></SPAN>H<SPAN=20

    class=3D230322006-26072000>TH,</SPAN></SPAN></SPAN></P>     <P class=3DMsoNormal style=3D"MARGIN-LEFT: 9pt"><SPAN = class=3DEmailStyle18><SPAN=20

    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><SPAN=20

    class=3D230322006-26072000></SPAN></SPAN></SPAN>&nbsp;</P>     <P class=3DMsoNormal style=3D"MARGIN-LEFT: 9pt"><FONT = color=3D#0000ff><SPAN=20

    class=3DEmailStyle18><SPAN=20
    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><SPAN=20

    class=3D230322006-26072000>Anies.</SPAN></SPAN></SPAN></FONT><SPAN=20
    class=3DEmailStyle18><SPAN=20
    style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"></P></SPAN></SPAN>

    <P class=3DMsoNormal=20
    style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 = level1 lfo12; tab-stops: list 27.0pt"><SPAN=20

    class=3DEmailStyle18><FONT color=3Dnavy><SPAN=20     style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><FONT=20

    color=3D#0000ff><SPAN=20
=

class=3D230322006-26072000></SPAN></FONT></SPAN></FONT></SPAN>&nbsp;</P>

    <P class=3DMsoNormal=20
    style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 = level1 lfo12; tab-stops: list 27.0pt"><SPAN=20

    class=3DEmailStyle18><FONT color=3Dnavy><SPAN=20     style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><FONT=20

    color=3D#0000ff><SPAN=20
=

class=3D230322006-26072000></SPAN></FONT></SPAN></FONT></SPAN>&nbsp;</P>

    <P class=3DMsoNormal=20
    style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 = level1 lfo12; tab-stops: list 27.0pt"><SPAN=20

    class=3DEmailStyle18><FONT color=3Dnavy><SPAN=20     style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><FONT=20

    color=3D#0000ff><SPAN=20
=

class=3D230322006-26072000></SPAN></FONT></SPAN></FONT></SPAN>&nbsp;</P>

    <P class=3DMsoNormal=20
    style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 = level1 lfo12; tab-stops: list 27.0pt"><SPAN=20

    class=3DEmailStyle18><FONT color=3Dnavy><SPAN=20     style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: = 12.0pt"><FONT=20

    color=3D#0000ff><SPAN=20
=

class=3D230322006-26072000>&nbsp;</SPAN><o:p></o:p></FONT></SPAN></FONT><= /SPAN></FONT><FONT=20

    face=3DTahoma><FONT size=3D2>-----Original = Message-----<BR><B>From:</B>=20

    root_at_fatcity.com [mailto:root_at_fatcity.com]<B>On Behalf Of = </B>Maheshwara=20

    Rao, L., Teki<BR><B>Sent:</B> Wednesday, July 26, 2000 11:27=20     AM<BR><B>To:</B> Multiple recipients of list = ORACLE-L<BR><B>Subject:</B> How=20

    to kill a user active session?<BR><BR></P></FONT></DIV>     <BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px"></FONT>

      <DIV class=3DSection1>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">Hi=20
      All,<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy = face=3DArial=20

      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">Environment=20
      : Solaris 2.6 : db version : =
8.0.4<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy = face=3DArial=20

      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">One=20
      of my developers was accessing the database thru SQL*NET.<SPAN=20
      style=3D"mso-spacerun: yes">&nbsp; </SPAN>He was doing simple =
commands (like=20
      descry. Table structures, etc) in SQL PLUS.<SPAN=20
      style=3D"mso-spacerun: yes">&nbsp; </SPAN>After some time his =
screen=20
      hung.<SPAN style=3D"mso-spacerun: yes">&nbsp; </SPAN>He could not =
close the=20
      screen.<SPAN style=3D"mso-spacerun: yes">&nbsp; </SPAN>He ended =
sql task=20
      through task manager on PC.<SPAN style=3D"mso-spacerun: =
yes">&nbsp;=20
      </SPAN>After this, I queried the table v$session and the following =
are the=20
      details of v$session table =
query.<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy = face=3DArial=20

      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">Username=20
      &#8211; hall<SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp; =
</SPAN>:::: sid<SPAN=20
      style=3D"mso-spacerun: yes">&nbsp; </SPAN>-- 13<SPAN=20
      style=3D"mso-spacerun: yes">&nbsp; </SPAN>::::<SPAN=20
      style=3D"mso-spacerun: yes">&nbsp; </SPAN>serial# --5555<SPAN=20
      style=3D"mso-spacerun: yes">&nbsp; </SPAN>:::<SPAN=20
      style=3D"mso-spacerun: yes">&nbsp; </SPAN>status -=20
      active<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy = face=3DArial=20

      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><SPAN=20
      style=3D"mso-spacerun: yes">&nbsp; </SPAN>I gave the following=20
      command.<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy = face=3DArial=20

      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><SPAN=20
      style=3D"mso-spacerun: =
yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      </SPAN>ALTER SYSTEM KILL SESSION=20
      &#8217;13,5555&#8217;;<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy = face=3DArial=20

      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">Now,=20
      I got error ---- ORA &#8211; 00030 : user session ID does not=20
      exist<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy = face=3DArial=20

      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">I=20
      repeated the above sequence of actions after 5 minutes, i.e., =
querying the=20
      v$session and then giving the command --- alter system kill=20
      session.<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy = face=3DArial=20

      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">I=20
      got same error message as above. (while the above activity is =
going on,=20
      other developers were accessing db through SQL<SPAN=20
      style=3D"mso-spacerun: yes">&nbsp;=20
      </SPAN>NET).<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy = face=3DArial=20

      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">QUESTIONS=20
      : <o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal=20
      style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 =
level1 lfo12; tab-stops: list 27.0pt"><![if !supportLists]><SPAN=20
      class=3DEmailStyle18><FONT color=3Dnavy face=3DArial =
size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">1.<FONT=20
      face=3D"Times New Roman" size=3D1><SPAN=20
      style=3D"FONT: 7pt 'Times New =
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      </SPAN></FONT></SPAN></FONT></SPAN><![endif]><SPAN=20
      class=3DEmailStyle18><FONT color=3Dnavy face=3DArial =
size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">Can=20
      any body please explain, <SPAN style=3D"mso-spacerun: =
yes">&nbsp;</SPAN>why=20
      this above error came even when I can see the username, sid and =
status as=20
      active in v$session.<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal style=3D"MARGIN-LEFT: 9pt"><SPAN =
class=3DEmailStyle18><FONT=20
      color=3Dnavy face=3DArial size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal=20
      style=3D"MARGIN-LEFT: 27pt; TEXT-INDENT: -0.25in; mso-list: l10 =
level1 lfo12; tab-stops: list 27.0pt"><![if !supportLists]><SPAN=20
      class=3DEmailStyle18><FONT color=3Dnavy face=3DArial =
size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">2.<FONT=20
      face=3D"Times New Roman" size=3D1><SPAN=20
      style=3D"FONT: 7pt 'Times New =
Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      </SPAN></FONT></SPAN></FONT></SPAN><![endif]><SPAN=20
      class=3DEmailStyle18><FONT color=3Dnavy face=3DArial =
size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">Also,=20
      please, is there any other way to kill an active user=20
      session?<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal style=3D"MARGIN-LEFT: 9pt"><SPAN =
class=3DEmailStyle18><FONT=20
      color=3Dnavy face=3DArial size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><SPAN=20
      style=3D"mso-spacerun: =
yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
      </SPAN><o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><SPAN=20
      style=3D"mso-spacerun: yes">&nbsp;</SPAN>Thanks in=20
      advance,<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy = face=3DArial=20

      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt">Rao<o:p></o:p></SPAN></FONT></SPAN></P>
      <P class=3DMsoNormal><SPAN class=3DEmailStyle18><FONT color=3Dnavy =
face=3DArial=20
      size=3D2><SPAN=20
      style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-bidi-font-size: =
12.0pt"><![if =
!supportEmptyParas]><![endif]>&nbsp;<o:p></o:p></SPAN></FONT></SPAN></P>

      <P class=3DMsoAutoSig><!--[if supportFields]><span = class=3DEmailStyle18><font=20
size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;mso-bidi-font-size: 12.0pt;font-family:Arial'><span =
style=3D'mso-element:field-begin'></span><span=20 style=3D"mso-spacerun: yes">&nbsp;</span>AUTOTEXTLIST \s &quot;E-mail=20 Signature&quot; <span =
style=3D'mso-element:field-separator'></span></span></font></span><![endi= f]--><FONT=20

      color=3Dnavy><SPAN style=3D"COLOR: navy"><A = href=3D"mailto:teki01_at_mediaone.net"=20

      title=3D"Return =
Address">teki01_at_mediaone.net</A></SPAN></FONT><FONT=20

      color=3Dnavy><SPAN=20
      style=3D"COLOR: navy; mso-color-alt: =
Received on Wed Jul 26 2000 - 09:27:58 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US