ORA-12721: operation cannot execute when other sessions are active

Hi,
I started my DB like following :
1) Change INIT.ORA file;  unset parallel_server parameter.
2) Execute these commands:
STARTUP MOUNT ;
ALTER SYSTEM ENABLE RESTRICTED SESSION;
ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
ALTER SYSTEM SET AQ_TM_PROCESSES=0;
ALTER DATABASE OPEN;
SHUTDOWN IMMEDIATE;
SQL> STARTUP RESTRICT  pfile='C:\oracle\product\10.2.0\db_1\database\initORCL.ora';
ORACLE instance started.
SQL> alter database national character set INTERNAL_CONVERT UTF8;
alter database national character set INTERNAL_CONVERT UTF8
ERROR at line 1:
ORA-12721: operation cannot execute when other sessions are activeWhy this error when DB is opened in strict and I'm the only user ?
SQL> select count (*) from v$session;
  COUNT(*)
        20Any solution ?
Thank you.

Hi
This operation is dangerous, please ensure that you have a full backup before doing that operation.
Please use that order :
SHUTDOWN IMMEDIATE;
-- make sure there is a database backup you can rely on, or create one
STARTUP MOUNT;
ALTER SYSTEM ENABLE RESTRICTED SESSION;
ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
ALTER SYSTEM SET AQ_TM_PROCESSES=0;
ALTER DATABASE OPEN;
ALTER DATABASE CHARACTER SET <new_character_set>;
-- a alter database takes typically only a few minutes or less,
-- it depends on the number of columns in the database, not the
-- amount of data.
SHUTDOWN;
Please note that :
The command requires the database to be
open but only one session, the one executing the command, is allowed.
For the above error conditions Oracle9i will report one of the errors:
ORA-12719: operation requires database is in RESTRICTED mode
ORA-12720: operation requires database is in EXCLUSIVE mode
ORA-12721: operation cannot execute when other sessions are active
Oracle9i can also report:
ORA-12718: operation requires connection as SYS
if you are not connect as SYS (INTERNAL, "/ AS SYSDBA").
Let us know if this helps.
regards,
Hub
Edited by: Hub on Dec 10, 2008 1:22 PM

Similar Messages

  • Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer

    I have connected TABULAR Model to Excel, and in the pivot the filter is on multiple dimensions. When doing the drillthrough action it gives error - Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer
    Is there any workaround to this error?  so that drillthrough can be done even with multiple selection.

    Hi Vikas,
    The reason behind the error message requires the knowledge on what happens at the backend. When you perform a drill-through action, a query is sent to Analysis Services. This query is expressed in a query language called Multi-Dimensional Expression (MDX).
    Since the MDX language doesnot support drill-through command against a set (collection of tuples) an error is persisted. 
    For now, there is no workaround as it is a limitation of the underlying language that is generating the query.
    When multiple items are selected you lose the ability to drill-down on individual metrics. To resolve you must either:
    1. Select a single Item.
    2. Select all items.
    Hope this helps!
    Please mark as Answer if this helps! Thanks, Rajasekhar.

  • Ipad drops streaming radio when other apps are in use

    why does ipad drop streaming radio app when other apps are in use?
    what can I do to prevent this, if anything?

    To rule out the app itself, try downloading another free radio app (CBC Canada, iFreeRadio, for example) and see if they behave the same way.
    Background radio streaming should work fine - one of the types of apps that can truly run in background.

  • Import is not available all other actions are active but not import help?

    Import is not available all other actions are active but not import help? I wish to import bookmarks from internet explorer, I am using windows 7

    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.com/kb/Private+Browsing
    *You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    *To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Deselect: [ ] "Permanent Private Browsing mode"

  • Firefox is showing a grey globe for secure site when other browsers are showing a lock icon.

    We have several sites that have SSL Certificates. When the website switches to HTTPS, Firefox still shows our pages with a grey globe. Sites (like Amazon) are showing they are secure displaying HTTPS pages. Other browsers are displaying our pages secure like they should.

    a grey globe should only be shown for a "secure" page when there's mixed content on that page
    https://blog.mozilla.org/ux/2012/06/site-identity-ui-updates/
    https://developer.mozilla.org/en-US/docs/Security/MixedContent

  • Items Moving on Paper Layout When Other Items are Moved

    I am new to Oracle Reports development, so I apologize for the elementary question in advance. I could not find a solution searching the forum.
    When I am moving a text item on the paper layout editor to reposition it other items are moving along with that item. I have set both the confine and flex properties off. What am I missing here?
    Thanks in advance!
    Kyle

    Problem solved.
    I just realized that the flex should be turned off since this option is used to keep item relations together when one item moves.

  • Floating point operations is slower when small values are used?

    I have the following simple program that multiplies two different floating point numbers many times. As you can see, one of the numbers is very small. When I calculate the time of executing both multiplications, I was surprised that the little number takes much longer than the other one. It seems that working with small doubles is slower... Does anyone know what is happening?
    public static void main(String[] args) throws Exception
            long iterations = 10000000;
            double result;
            double number = 0.1D;
            double numberA = Double.MIN_VALUE;
            double numberB = 0.0008D;
            long startTime, endTime,elapsedTime;
            //Multiply numberA
            startTime = System.currentTimeMillis();
            for(int i=0; i < iterations; i++)
                result = number * numberA;
            endTime = System.currentTimeMillis();
            elapsedTime = endTime - startTime;
            System.out.println("
            System.out.println("Number A)
    Time elapsed: " + elapsedTime + " ms");
            //Multiply numberB
            startTime = System.currentTimeMillis();
            for(int i=0; i < iterations; i++)
                result = number * numberB;
            endTime = System.currentTimeMillis();
            elapsedTime = endTime - startTime;
            System.out.println("
            System.out.println("Number B)
    Time elapsed: " + elapsedTime + " ms");
        } Result:
    Number A) Time elapsed: 3546 ms
    Number B) Time elapsed: 110 ms
    Thanks,
    Diego

    Verrry interrresting... After a few tweaks (sum & print multiplication result to prevent Hotspot from removing the entire loop, move stuff to one method to avoid code alignment effects or such, loop to get Hotspot compile everything; code below),
    I find that "java -server" gives the same times for both the small and the big value, whereas "java -Xint" and "java -client" exhibit the unsymmetry. So should I conclude that my CPU floating point unit treats both values the same, but the client/server compilers do something ...what?
    (You may need to add or remove a zero in "iterations" so that you get sane times with -client and -server.)
    public class t
        public static void main(String[] args)
         for (int n = 0; n < 10; n++) {
             doit(Double.MIN_VALUE);
             doit(0.0008D);
        static void doit(double x)
            long iterations = 100000000;
            double result = 0;
            double number = 0.1D;
            long start = System.currentTimeMillis();
            for (int i=0; i < iterations; i++)
                result += number * x;
            long end = System.currentTimeMillis();
            System.out.println("time for " + x + ": " + (end - start) + " ms, result " + result);
    }

  • Cannot resume, when Screen Saver is active, using TrackPoint or TouchPad

    I cannot resume from Screen Saver, neither using TrackPoint, TouchPad, any UltraNav Buttons as well as an external BT mouse.
    The one and only way is using  the Ctrl+Alt+Del, to resume.
    How can I solve that issue?
    Regards,
    Harel 
    Solved!
    Go to Solution.

    Hello,
    may be it´s a problem with BOINC, if the problem won´t occur with windows screen saver.
    May be there is an option in BOINC preferences or somewhat, that can switched on, to end
    sreensaver, when using your mouse and perhaps other users of BOINC have got this problem too.
    Follow @LenovoForums on Twitter! Try the forum search, before first posting: Forum Search Option
    Please insert your type, model (not S/N) number and used OS in your posts.
    I´m a volunteer here using New X1 Carbon, ThinkPad Yoga, Yoga 11s, Yoga 13, T430s,T510, X220t, IdeaCentre B540.
    TIP: If your computer runs satisfactorily now, it may not be necessary to update the system.
     English Community       Deutsche Community       Comunidad en Español

  • Node disconnects when other nodes are connected

    Hello everyone,
    I'm using a 9792 gateway with 6 various nodes connected in a star topology. With 6 nodes, everything is working fine. The problem arose when I tried adding two extra nodes. These nodes I was able to connect, but since then, one of the previously existing nodes cannot stay connected and keeps disconnecting. Has anyone seen this issue before?
    Thanks

    Hi bpopa,
    i AM ALSO USING THE KIND OF SIMILAR SETUP WITH MANY NODES
    try this:
    1. Close the MAX and open it up again, if it not works delete all the nodes and select the proper channel and start adding the nodes again. lets see if it works.
    2. Reset all the nodes and try.
    3. Resest the gateway.
    Thats all you should try hope this works, i think there should not be any problem because gateway in a star topology can connect to eight nodes ata a time.
    thanks.

  • ITunes stops downloading when other programs are running

    I noticed recently that as soon as I open any other programs while iTunes is running in the background, it stops downloading music. Any suggestions?
    David

    When you say "downloading music", do you mean downloading music to your iPod, or importing music from CDs, or something else?
    Also, with other applications closed by iTunes opened, launch your Task Manager, and go to the "Processes" tab.
    Watch these three processes: iTunes.exe, iPodService.exe, and iTunesHelper.exe.
    Now, try launching some other application.
    Do either of those three processes in any way disappear, then reappear again, or anything similar? Or do they stay fine and the same when you open another program?
    -Kylene

  • Howto unlock a table in oracle when all sessions are close ...

    but ... not commit or roollback has been made ...
    Could I try to run any script for unlock the table or the row?
    Thanks a lot

    If a session is closed, by definition all transactions associated with that session must have ended, either by having the changes committed or rolled back. So the premise does not make sense.
    If a table is locked, some session has that lock. If the session goes away, the lock goes away. If the lock is still there, the session must still be there.
    Justin

  • Ghost clip appears in canvas only when other clips are placed in its place

    Gd afternoon, this may sound crazy but here we go. the space on the timeline is blank, and when the sequence is played the blank section shows nothing but black screen. however when i drop any clip in the empty space on the timeline an old clip I changed the speed of shows over whatever clip i just dropped in the empty spot. Again, when the spot is empty nothing shows, only when a different clip is placed in that spot does the "ghost" clip appear over the new clip and the space that the ghost clip holds shows a blue rendered line for the speed that was changed.
    How do I get rid of this ghost clip?

    +thanks, i tried to delete the rendered clip but no help+
    No, what is required when the problem reaches the stage you described is to delete ALL of the render files for that sequence. One way to do that is to go to Tools > Render Manager and navigate to the problem sequence and clicking in the Remove column for that sequence. Then click OK.
    That will delete all of the render files for the sequence. Then you re-render. This sometimes works, as I said.

  • GMail keeps asking for password when other accounts are fine

    Currently I am running 4 IMAP and 1 Exchange account on Mail. I am trying to add a fifth IMAP GMail account but can't get past the setup screen as it keeps saying my password is wrong when it clearly is correct.
    How can I get IMAP running again and correctly on Mail?
    Thank you

    So I removed the buggy GMail account from Mail and waited a day. Today I decided to re-add it and all was well for one hour until the pop up for passwords happened again... I went into Preferences and accounts and saw my password wasn't stored so I added it and saved but still same issue.
    Also I added this account to my iPhone and it was working fine til an hour again so maybe a syncing issue?

  • Safari fails to open page when other downloads are in progress

    I have a 2.8GHz 4GB Ram machine with Mac OS X 10.5.4
    I have a broadband connection - approximately 500 Kbps
    It seems that ever time I have something downloading(e.g. a file from iTunes ) and I try to view pages with Safari I get the "Safari Can't open the page ........ because server not responding" message.
    It's as if Safari isn't able to share the internet connection !@£$£@*!
    If there are no other downloads in progress, then web pages load no problem.
    Anyone got any ideas ?

    Depending on the server software used for the downloads it may be using up all of your bandwidth leaving little for Safari.
    Use the Safari Activity window to see how the page elements load while your download is occurring.
    If you see "timed out" messages then you're going to have troubles.

  • Shut down bug when other users are logged in

    G'day all
    I've jut noticed a shut down bug with Leopard. If I try to shut down and another user is active I have to type in a name and password etc. If I do this and click the Shutdown button I get an error message " invalid user name or password - please try again". If I hit "return" it shuts down.
    Trivial but a bug none the less.
    Cheers
    Steve

    HI,
    Might just be a corruped preference file.
    Locate this file.
    com.apple.loginwindow.plist
    MacintoshHD/Library/Preferences.
    Move that file to the Trash and restart your Mac.
    Carolyn

Maybe you are looking for

  • Java 1.4.2_03 Windows: The configuration data for this product is corrupt.

    Trying to install j2SE 1.4.2_03 JRE on a Windows system (exact version needed for a bussiness application) after all previous Java installations have been deleted and all Windows Registry Java related keys have been manually deleted with Regedit.exe.

  • How to set the charset encoding dynamically in JSP

    Is there any way to set the charset encoding dynamically in a JSP page? we are using weblogic 6.1 on HP unix. is there some way we can set the charset dynamically in the page directive <%@ page contentType="text/html;charset=Shift_JIS" %> and in MAET

  • EAP-TLS question

    Hi, does anybody know if, by using EAP-TLS, it's possible to start network connection before login like with LEAP. I tryed it but the certificate seems to be personnal. Is it possible to associate this one to the computer only (with a generic store o

  • Huawei E160G on my MacBook

    Help please!!! Problem: trying to use a Huawei E160G on my MacBook Pro running OS X 10.4.11 I received the modem as a replacement for another model* that broke down from 3ireland. *(It was a ZTE MF622, there were no driver problems, and its software

  • Adobe AIR  - Please Respond Adobe!

    I have installed (at the Adobe.com site) and uninstalled Adobe AIR several times and still get the following message after my computer boots up: "This installation of this application is damaged. Try re-installing or contacting the publisher for assi