Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

SQL Error: ORA-00031: session marked for kill

BS2012May 28 2014 — edited May 28 2014

Hi Everyone,

My DB version is

BANNER                                                        

----------------------------------------------------------------

Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi

PL/SQL Release 10.2.0.1.0 - Production                          

CORE 10.2.0.1.0 Production                                        

TNS for Linux: Version 10.2.0.1.0 - Production                  

NLSRTL Version 10.2.0.1.0 - Production                          

If this error message will show up, then is there any other way to kill the session immediately. It has been locked by rollback process. Please suggest something.

The exact error message is mentioned below.

Error starting at line 13 in command:

ALTER SYSTEM KILL SESSION '983,35118'

Error report:

SQL Error: ORA-00031: session marked for kill

00031. 00000 -  "session marked for kill"

*Cause:    The session specified in an ALTER SYSTEM KILL SESSION command

           cannot be killed immediately (because it is rolling back or blocked

           on a network operation), but it has been marked for kill.  This

           means it will be killed as soon as possible after its current

           uninterruptable operation is done.

*Action:   No action is required for the session to be killed, but further

           executions of the ALTER SYSTEM KILL SESSION command on this session

           may cause the session to be killed sooner.

Regards,

BS2012.

Comments

fetchdesigns

Perhaps there is a better solution, but what worked for me is (if you are using Windows)...

  1. Click the start button (the windows icon at the lower left of your screen)
  2. Start typing "java" and select "Configure Java" when it appears
  3. Open the "Security" tab
  4. Drag the security setting down to "Medium"

I believe the issue is with the Pitney Bowes certificate conflicting with newer versions of Java.  You may also be able to downgrade your version of Java to get it working, but that may be less secure.  Your call.

fetchdesigns

I was able to resolve this by doing the following (on Windows 7)...

  1. Click the Windows button at the bottom left on your screen
  2. Type "java" and select "Configure Java" when it appears
  3. Open the "Security" tab
  4. Drag the setting down to "medium"

From what I understand the issue is with the Pitney Bowes certificate conflicting with newer versions of Java.  You may also be able to downgrade your version of Java to get it working, but that may be less secure.  Your call.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 25 2014
Added on May 28 2014
3 comments
13,576 views