How to trace this error?

Ask a Question related to Oracle Server, Design and Development.

  1. #1

    Default Re: How to trace this error?

    Nothing to do with your specific question, but that error is usually par for
    the course when you're connected to an instance in one session, and the DBA
    does a shutdown abort of that instance somewhere else (or if the instance
    otherwise dies, blows up, starts pining for the fjords etc).

    Your session throws a wobbly next time you try and do anything, because it
    expects to still be connected, but discovers to its horror that it's had the
    carpet pulled out from underneath its feet.

    If, having received that error, you can immediate issue a new 'connect
    user/password', then find out if the instance died (or was killed). Only if
    that's not the issue would I start worrying about why your client suddenly
    loses touch with the instance (which is essentially the problem here).

    Regards
    HJR

    "Terry Mu" <terry_mu@yahoo.com> wrote in message
    news:804M9.1002$yW.392@news04.bloor.is.net.cable.r ogers.com...
    > I got this error in my session frequently,
    >
    > ORA-12571: TNS:packet writer failur
    >
    > oerr tells me to enable trace. How to do that and what to trace?
    >
    > Thanks
    >
    >

    Howard J. Rogers Guest

  2. Similar Questions and Discussions

    1. Trace triggers
      Hi, I have a table with many triggers. Now, it can happen that in middle of execution one of table's triggers there will be unknown error (like...
    2. #25823 [Bgs]: stack trace error on java when executing
      ID: 25823 Updated by: sniper@php.net Reported By: wewing at nc dot rr dot com Status: Bogus Bug Type: ...
    3. #25823 [Opn->Bgs]: stack trace error on java when executing
      ID: 25823 Updated by: sniper@php.net Reported By: wewing at nc dot rr dot com -Status: Open +Status: ...
    4. #25823 [NEW]: stack trace error on java when executing
      From: wewing at nc dot rr dot com Operating system: Win2k PHP version: 4.3.4RC1 PHP Bug Type: Servlet related Bug...
    5. How to do a trace
      I have a family group photo and I would like to create a copy of it so that only the trace outline of each person is shown so that we can identify...
  3. #2

    Default Re: How to trace this error?

    What's your sqlnet.ora look like?

    HJR

    "Terry Mu" <terry_mu@yahoo.com> wrote in message
    news:vy4M9.6147$opk.5684@news02.bloor.is.net.cable .rogers.com...
    > The instance is still alive and nobody shut it down. I'm running a test
    > application in the instance. I guess that's the problem. Strange thing is
    > that it seems ok if I keep working on it, but after an idle time, whatever
    I
    > will do it tells the error and I have to reconnect. So I have to trace
    it.
    >
    > Thanks.
    >
    > "Howard J. Rogers" <howardjr2000@yahoo.com.au> wrote in message
    > news:o14M9.5901$jM5.16645@newsfeeds.bigpond.com...
    > > Nothing to do with your specific question, but that error is usually par
    > for
    > > the course when you're connected to an instance in one session, and the
    > DBA
    > > does a shutdown abort of that instance somewhere else (or if the
    instance
    > > otherwise dies, blows up, starts pining for the fjords etc).
    > >
    > > Your session throws a wobbly next time you try and do anything, because
    it
    > > expects to still be connected, but discovers to its horror that it's had
    > the
    > > carpet pulled out from underneath its feet.
    > >
    > > If, having received that error, you can immediate issue a new 'connect
    > > user/password', then find out if the instance died (or was killed). Only
    > if
    > > that's not the issue would I start worrying about why your client
    suddenly
    > > loses touch with the instance (which is essentially the problem here).
    > >
    > > Regards
    > > HJR
    > >
    > > "Terry Mu" <terry_mu@yahoo.com> wrote in message
    > > news:804M9.1002$yW.392@news04.bloor.is.net.cable.r ogers.com...
    > > > I got this error in my session frequently,
    > > >
    > > > ORA-12571: TNS:packet writer failur
    > > >
    > > > oerr tells me to enable trace. How to do that and what to trace?
    > > >
    > > > Thanks
    > > >
    > > >
    > >
    > >
    >
    >

    Howard J. Rogers Guest

  4. #3

    Default Re: How to trace this error?

    OK, well looks like you'll have to turn tracing on then to see what's going
    on.

    You didn't mention a version (I wish people would!), but check out this
    link:

    [url]http://download-west.oracle.com/docs/cd/B10500_01/network.920/a96580/trouble[/url]
    s.htm#452480

    (Watch for wrapping).

    Although that's 9i specific, I can't think that anything's changed very much
    since 8i.

    Tracing is enabled by editing sqlnet.ora, because your problem is clearly
    not related to the Listener (so modifying listener.ora is not called for)
    and you don't mention (but I doubt) whether you're using names server or
    connection manager.

    You'll need to set the trace directory (although there is a default) and
    switch on tracing at an appropriate level until something useful pops up. I
    suggest you go for the 'admin' level.

    Regards
    HJR


    "Terry Mu" <terry_mu@yahoo.com> wrote in message
    news:6%4M9.6712$F2h1.2265@news01.bloor.is.net.cabl e.rogers.com...
    > NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    >
    > the application run on the same machine with Oracle server.
    >
    > "Howard J. Rogers" <howardjr2000@yahoo.com.au> wrote in message
    > news:0E4M9.5907$jM5.17033@newsfeeds.bigpond.com...
    > > What's your sqlnet.ora look like?
    > >
    > > HJR
    > >
    > > "Terry Mu" <terry_mu@yahoo.com> wrote in message
    > > news:vy4M9.6147$opk.5684@news02.bloor.is.net.cable .rogers.com...
    > > > The instance is still alive and nobody shut it down. I'm running a
    test
    > > > application in the instance. I guess that's the problem. Strange thing
    > is
    > > > that it seems ok if I keep working on it, but after an idle time,
    > whatever
    > > I
    > > > will do it tells the error and I have to reconnect. So I have to
    trace
    > > it.
    > > >
    > > > Thanks.
    > > >
    > > > "Howard J. Rogers" <howardjr2000@yahoo.com.au> wrote in message
    > > > news:o14M9.5901$jM5.16645@newsfeeds.bigpond.com...
    > > > > Nothing to do with your specific question, but that error is usually
    > par
    > > > for
    > > > > the course when you're connected to an instance in one session, and
    > the
    > > > DBA
    > > > > does a shutdown abort of that instance somewhere else (or if the
    > > instance
    > > > > otherwise dies, blows up, starts pining for the fjords etc).
    > > > >
    > > > > Your session throws a wobbly next time you try and do anything,
    > because
    > > it
    > > > > expects to still be connected, but discovers to its horror that it's
    > had
    > > > the
    > > > > carpet pulled out from underneath its feet.
    > > > >
    > > > > If, having received that error, you can immediate issue a new
    'connect
    > > > > user/password', then find out if the instance died (or was killed).
    > Only
    > > > if
    > > > > that's not the issue would I start worrying about why your client
    > > suddenly
    > > > > loses touch with the instance (which is essentially the problem
    here).
    > > > >
    > > > > Regards
    > > > > HJR
    > > > >
    > > > > "Terry Mu" <terry_mu@yahoo.com> wrote in message
    > > > > news:804M9.1002$yW.392@news04.bloor.is.net.cable.r ogers.com...
    > > > > > I got this error in my session frequently,
    > > > > >
    > > > > > ORA-12571: TNS:packet writer failur
    > > > > >
    > > > > > oerr tells me to enable trace. How to do that and what to trace?
    > > > > >
    > > > > > Thanks
    > > > > >
    > > > > >
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Howard J. Rogers Guest

  5. #4

    Default Re: How to trace this error?

    "Howard J. Rogers" <howardjr2000@yahoo.com.au> wrote in message
    news:o14M9.5901$jM5.16645@newsfeeds.bigpond.com...
    >pining for the fjords>
    It's dead, for Christ's sake.

    Regards,
    Paul



    Paul Brewer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139