Placing a 10G DB into a quiesced state...

I have Oracle 10.1.0.2.0 installed on a Server 03 SP 2 computer. It's a very clean install with only the starter DB and sample schemas installed, and Server 03 is pretty much a clean install minus the AV software and Office. I'm a newbie newbie at this, and I've been reading the documentation downloaded from Oracle's website. In one of the chapters it talks about putting my database in the "quiesced" state by issuing the following command: "alter system quiesce restricted".
I tried that command from my command line sqlplus session and got the following error: "ORA-25507: resource manager has not been continuously on". I googled that error and checked out a couple sites that had explanations of the error, but they're explanations told me pretty much the same thing that the error told me: that the resource manager had not been continuously on. Recommended actions said "none".
Each day when I go to study, I turn on my Server box and start going through the lessons. The Server stays off at other times because that Server's only purpose in life is to help me learn Oracle. So, yes, I understand that resource manager has not been continuously on because my computer, and database has not been continuously on. But, I want to know more about what this error is telling me. And does my database need to be on for an extended period of time for me to be allowed to issue this statement?
Thanks in advance for helping the newbie newbie...

Hello,
Check this link out for explanation on quiesced state which you already going over.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#sthref2025
Resource Manager must remain active in all opened instances since their startup for the ALTER SYSTEM QUIESCE RESTRICTED command to succeed.
If Resource Manager not been turned on since all the instances started up, or has been temporarily turned off , issuing an ALTER SYSTEM QUIESCE RESTRICTED
command is going to result in the ORA-25507 error. (Remember restart of your database instance required and only sys and system users can log in and if some other use try to connect or already connected,
their query are going to be hung unless you uniqiesce database)
So what you need to do in this case
sqlpplus "/as sysdba"
SQL> show parameter resource_manager_plan
SQL> alter system set resource_manager_plan='SYSTEM_PLAN' scope=both sid='*'
or
Using pfile by modifying init.ora file
resource_manager_plan='SYSTEM_PLAN';
SQL>shutdown immediate;
SQL>startup pfile='/.../init.ora'; -- If using pfile
or
SQL>startup ---> if using spfile;
Then issue
SQL> alter system quiesce restricted;
SQL>alter system unquiesce;Regards

Similar Messages

  • How to convert pl/sql block into single update statement

    Dear all gurus,
    I have pl/sql block mention below, Can I convert this pl/sql block to single update statement if possible?
    If not how to optimize this block?
    Pleaese suggest.
    thanks in advance.
    Vijay
    DECLARE
    CURSOR vt_mlr_cursor IS Select master_key, user4 from vt_mlr Where USER4 is not null;
    USERFIELD VARCHAR2(100);
    C1 VARCHAR2(3); /* this will return location of first space = 12 */
    C2 VARCHAR2(3); /* this will return location of second space = 20 */
    C3 VARCHAR2(3); /* this will return location of third space = 28 */
    C4 VARCHAR2(3); /* this will return location of forth space = 35 */
    Field1 VARCHAR2(40); /* this will return FTMYFLXA04W */
    Field2 VARCHAR2(10); /* this will return VPI0043 */
    Field3 VARCHAR2(10); /* this will return VCI0184 */
    Field4 VARCHAR2(10); /* this will return 005 */
    Field5 VARCHAR2(10); /* this will return 00001 */
    Field_2_n_3 VARCHAR2(25);
    key VARCHAR2(10);
    BEGIN
    FOR vt_mlr_record IN vt_mlr_cursor
    LOOP
    key := vt_mlr_record.master_key;
    USERFIELD := vt_mlr_record.user4;
    C1 := INSTR(vt_mlr_record.user4,' ',1,1); /* this will return location of first space = 12 */
    C2 := INSTR(vt_mlr_record.user4,' ',1,2); /* this will return location of second space = 20 */
    C3 := INSTR(vt_mlr_record.user4,' ',1,3); /* this will return location of third space = 28 */
    C4 := INSTR(vt_mlr_record.user4,' ',1,4); /* this will return location of forth space = 35 */
    Field1 := SUBSTR(vt_mlr_record.user4,1,C1-1); /* this will return FTMYFLXA04W */
    Field2 := SUBSTR(vt_mlr_record.user4,C1+4,C2-C1-4); /* this will return VPI0043 */
    Field3 := SUBSTR(vt_mlr_record.user4,C2+4,C3-C2-4); /* this will return VCI0184 */
    Field4 := SUBSTR(vt_mlr_record.user4,C3+4,C4-C3-4); /* this will return 005 */
    Field5 := SUBSTR(vt_mlr_record.user4,C4+4,LENGTH(vt_mlr_record.user4)-C4-3); /* this will return 00001 */
    Field_2_n_3 := Field2 || '/' || Field3;
    /*DBMS_OUTPUT.PUT_LINE ('Current key is: ' || vt_mlr_record.master_key);*/
    UPDATE vt_mlr
    SET
    aggregator_clli = Field1,
    aggregator_vpi_vci = Field_2_n_3,
    aggregator_slot = Field4,
    aggregator_port = Field5
    WHERE
    master_key = vt_mlr_record.master_key;
    END LOOP;
    END;
    /

    Hi Vijay,
    Here's something to start with, you should be able to complete it.
    First, combine your select and update statements:
    update vt_mlr
       set aggregator_clli = field1
          ,aggregator_vpi_vci = field_2_n_3
          ,aggregator_slot = field4
          ,aggregator_port = field5
    where user4 is not null;Then put these two
    C1 := INSTR(vt_mlr_record.user4,' ',1,1); 
    Field1 := SUBSTR(vt_mlr_record.user4,1,C1-1);into
    Field1 := SUBSTR(vt_mlr_record.user4,1,INSTR(vt_mlr_record.user4,' ',1,1) -1);And put it into the update statement, removing reference to record
    (I have also removed default values for position and occurrence in instr function):
    update vt_mlr
       set aggregator_clli = substr(user4, 1, instr(user4,' ') - 1)
          ,aggregator_vpi_vci = field_2_n_3
          ,aggregator_slot = field4
          ,aggregator_port = field5
    where user4 is not null; I think you can do the rest from here ;-)
    Regards
    Peter

  • Need help for importing oracle 10G dump into 9i database

    hi, Someone help me to import oracle 10G dump into 9i database. I'm studying oracle . Im using oracle 10G developer suite(downloaded from oracle) and oracle 9i database. I saw some threads tat we can't import the higher version dumps into lower version database. But i'm badly need help for importing the dump...
    or
    someone please tell me the site to download oracle 9i Developer suite as i can't find it in oracle site...

    I didnt testet it to import a dump out of a 10g instance into a 9i instance if this export has been done using a 10g environment.
    But it is possible to perform an export with a 9i environment against a 10g instance.
    I am just testing this with a 9.2.0.8 environment against a 10.2.0.4.0 instance and is working so far.
    The system raises an EXP-00008 / ORA-37002 error after exporting the data segments (exporting post-schema procedural objects and actions).
    I am not sure if it is possible to perform an import to a 9i instance with this dump but maybe worth to give it a try.
    It should potentially be possible to export at least 9i compatible objects/segments with this approach.
    However, I have my doubts if this stunt is supported by oracle ...
    Message was edited by:
    user434854

  • Getting Username to pass into LOV select statement

    Hello!
    I'm wondering if its possible to get the username of the current user logged in and pass it as a variable into a select statement used in a dynamic LOV in Oracle AS Portal?
    What I'm attempting to do is pull all the values from a table that equal the current user's username to user on a portal report
    so (as a rough example)
    select color from mytable where username = 'whatever the user name is would be here'
    And then the current user would get a list of values from which to select based off of the values entered in this table.
    The issue I'm having is determing how to fill the 'whatever the user name is would be here' portion with the actual logged in user's username (or even if its possible). I know on the actual portal one can do #USER.FULLNAME# to display their username, is there a similar "variable" one may use to get the username for a LOV sql call?
    I can get it to work if I statically fix the username to a particular value (ex: where username = 'Joe.Hacker') but I'm unsure if theres a variable or bind value (for lack of a better term) to grab the username on the fly.. dynamically.

    portal.wwctx_api.get_user can be used in the SQL query of your portal report to get the user_name of the currently logged-in portal user. For more info on wwctx_api, see the 10.1.2 or 10.1.4 portal API docs at http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1012/index.html or http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/index.html

  • Recently my contact card was changed to make my name into a vulgar statement.

    Recently my contact card was changed to make my name into a vulgar statement. I only noticed this when I went to go send an email, and the incorrect name popped up. There is a SLIM chance someone hacked into my contacts since everything is password protected, but I guess I need to know if there is any way that a virus/hacker went into my contacts to mess with me. That seems unlikely as it was just my contact that was changed, but I still need to know. I recently updated my computer software to mountain lion, and I also updated software on my iphone. I was wondering if any of that might have made that change?

    Your device was not hacked as it is not possible unless the device is jailbroken.
    More likely someone has gained access to your iCloud account (assuming that is how contacts are synced to your device) and changed the information to mess with you.  This could also have been done with physcial access to the device or even access to the computer if it is set to save passwords.

  • I have placed my SIM card into my iphone 5c and have confirmed co with my cellular network provider.However despite numerous reboots I am still getting "No Service" in the top left corner. Please advise

    I have placed my SIM card into my iphone 5c and have confirmed co with my cellular network provider.However despite numerous reboots I am still getting "No Service" in the top left corner. Please advise

    Contact the carrier and troubleshoot the issue.

  • SQL script into a CASE statement ?

    Hy,
    can someone tell me, please, if is it possible insert into a case statement (shell unix script) one or more SQL script ?
    For example :
    case aaa in
    1 )
    sqlplus blabla <<!
    update ...
    insert ...
    2 )
    esac
    Thank you very much !
    Andys

    /unix/sqlplus -s username/pwd @file_name.sql
    This will work on unix prompt. use this in shell script and implement. file_name.sql containts update logic.
    I hope it will solve ur problem.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Andys:
    Hy,
    can someone tell me, please, if is it possible insert into a case statement (shell unix script) one or more SQL script ?
    For example :
    case aaa in
    1 )
    sqlplus blabla <<!
    update ...
    insert ...
    2 )
    esac
    Thank you very much !
    Andys<HR></BLOCKQUOTE>
    null

  • How to make Form builder 10g step into libraries *.pll while remote debug

    How to make Form builder 10g step into libraries *.pll while remote debug. It attaches fine and goes through code located in form but skips pll's. In this case I am interested in debuging CUSTOM.pll. How to step into pll's and is it possible at all?

    Is the library in the same directory or within your FORMS_PATH? Note that the runtime setting in the default.env doesn't work for the builder.
    cheers

  • Combining into one PnL statement

    Hi,
      Supposed i have a few detailed spreadsheets from different departments, such as sales, production, finance, purchasing, etc. These few departments use different combination of dimensions so it should be apparent that different applications within the same application set should be used. But how do i combine the final figures from the different applications into one PnL statement, one balance sheet and one cash flow statement, assuming i only grab the 4 compulsory dimensions, i.e. account, category, entity and time from all departments?
      any input on this?
    cheers

    Hi,
    *INCLUDE SYSTEM_CONSTANTS.lgl
    // SEND THE RESULTS FROM BP_SALES to THE PROFIT AND LOSS APPLICATION
    *DESTINATION_APP=PROFIT_AND_LOSS
    *XDIM_MEMBERSET PRODUCT = <ALL>   // Send data for all the Products and PRODUCT is a dimension of BP_SALES
    *WHEN SALESAccount.TRANSFER       //SALESAccount is a dimension of BP_SALES Application
    *IS "Y"
    *REC(EXPRESSION=%VALUE%,SALESACCOUNT=SALESACCOUNT.PROFITLOSSACCT,DataSrc="BP_SALESApp")
    *ENDWHEN
    *ENDWHEN
    *COMMIT     
    // Calculate the FX in the P&L Application after Sales data is Transferred
    *RUNLOGIC
    *APP = BP_Profit_Loss
    *LOGIC = FXTRANS
    *ENDRUNLOGIC
    This code is just an example in which the data is transferred from one application to another called "PROFIT_AND_LOSS". The data is transferred for all the Products.
    Hope this gives you some idea. Kindly reciprocate by awarding points.

  • Import the 10g data into 11g

    hi all,
    i having a production db on oracle 10gR2 in shared server. now the mangement wants to buy a new server and install the said db on oracle 11g.
    can i import the data of the 10g db into 11g database.
    pls help me in doing this.
    regards.

    785092 wrote:
    hi all,
    i having a production db on oracle 10gR2 in shared server. now the mangement wants to buy a new server and install the said db on oracle 11g.Nice!
    can i import the data of the 10g db into 11g database.Yes, but make sure that you do the export using the 10g binary. For import, 11.2 binary of imp should also be okay.
    pls help me in doing this.Please show us where you are struck and whats the error in order for us to do so.
    HTH
    Aman....
    Edited by: Aman.... on Aug 18, 2010 12:38 PM

  • While downloading the latest IOS update to my iPhone 4, my phone went into a frozen state with the update 2/3's complete. It's remained like this for the past 12 hours. I can't turn the phone off, and I can't connect it to iTunes. Anyone know what to do?

    While downloading the latest IOS update to my iPhone 4S, my phone went into a frozen state with the update 2/3's complete. It's remained like this for the past 12 hours. I can't turn the phone off, and I can't connect it to iTunes. Anyone know what to do?

    If the place of purchase does not have a 'Lemon' policy (three replacements = refund or complete exchange), sadly you are out of luck.
    And Apple themselves do not have any power over what policy a reseller uses. You can call Apple Care and have them replace it, but the odds are you would probably get a standard replacement again like has previously happened. I'm pretty sure Apple holds their own sort of 'Lemon' polocy where if it's been replaced three times through them they'll swap it out for a brand new phone. Not 100% sure though, best bet is too call them again.
    And it ***** getting a response like that from their support personel, but hey, they can't all be that bad can they? I'm sure if you plead your case they'll try and help out. I've dealt with them in the past and had one or two people that rubbed me the wrong way, but most of them have been a great help and kept me a happy customer, haha.
    Regards,
    ThatGuy

  • Placed QuarkXpress 7 eps into InDesign CS3 prints with slanted type

    any suggestions to fix?

    placed QuarkXpress 7 eps into InDesign CS3 prints with slanted type
    The problem may be in the HP print drivers.
    Printing to Epson printers works, printing to HP 132, 5000 or 2200 produces slanted type, even at Adobe.
    Printing to disk as a Postscript printer and then printing the ps file using the pdf printer works fine.
    Roger

  • Placing xlsx file directly into table

    Hi, as always thank you for your help. I am uncertain whether I should have placed three questions, in terms of forum ettiquette, and would someone please tell me if I should not have combined the questions into one post.
    I am confusing myself so please bear with the simplicty of the questions.
    Here is the script:
    function placed_3to10 (doc)
    with(doc)
    //pg 1 recto
    var textFrameEdd = docEdd.pages.item(0).textFrames.add
      doc.layers.item('TableLayer')
    , undefined,
    , undefined
    , geometricBounds: [10,15,280,200]
    //THIS PLACES TEXT DIRECTLY IN THE PARENT TEXT FRAME AS EXPECTED
    //textFrames.parentStory.insertionPoints.item(0).place(File('~/Documents/1add2doc/pg1p4222 .xlsx'))
    //THIS CREATES A TABLE WHICH GOES INTO THE TEXT FRAME AS A 4 X 4 AS EXPECTED
    var tableFrameEdd = textFrames.parentStory.tables.add()
    My FIRST QUESTION is how does one place the xslx data into the table? I have tried several options without success.
    My SECOND QUESTION is how to apply styles to the text frame contents around the table and to the table itself. I have tried the following, but they do not seem to work:
    //TEXT FRAME STYLE
    textFrameEdd = docEdd.pages.item(0).textFrames.item(0).words.item(0).applyParagraphStyle(docEdd.paragrap hStyles.item('INDENTparaBody'))
    //TABLE FRAME STYLE
    tableFrameEdd.appliedTableSyle = docEdd.tableStyles.item('altROWtable')
    My THIRD QUESTION is whether it is possible to write a 'place xslx' script in such a way that one does not need to identify the cells. Can one ignore the range statement in the ExcelImportPreferences script or will this place the entire spreadsheet?
    As always thank you for  your help. I am excited by the potential of scripting and wish my brain were quicker.

    1. I don't think you can place an XLSX sheet into an existing table. If you import an XLSX sheet, it's treated just like imported text; you can either place it as a new object (a text frame containing a table containing your data) or use the 'replace' function, which will effectively empty out an existing frame and place the new text (/table) into it.
    2. textFrameEdd = docEdd.pages.item(0).textFrames.item(0).words.item(0).applyParagraphS tyle(docEdd.paragraphStyles.item('INDENTparaBody'))
    That ought to work -- but "applyParagraphStyle" does not return any value, it's just a function that applies the settings immediately. It returns 'void', meaning, your variable textFrameEdd will be set to 'null' (or 'undefined' or sth).
    A small note is you don't have to target a word, since paragraph styles can only be applied to entire paragraphs. Personally, I'd use the shortcut "direct indexed" form [0] rather than ".item(0)", so I'd probably write this as
    docEdd.pages[0].textFrames[0].paragraphs[0].applyParagraphStyle(docEdd.paragraphStyles.ite m('INDENTparaBody'));
    An alternative is this, by the way:
    docEdd.pages[0].textFrames[0].paragraphs[0].appliedParagraphStyle = docEdd.paragraphStyles.item('INDENTparaBody');
    3. Per 2., your variable is cleaned out, so you cannot use it anymore. Furthermore (and more important), you cannot apply a table style to text, which it seems you are trying to do. You should target the table itself instead:
    docEdd.pages[0].textFrames[0].tables[0].appliedTableStyle = docEdd.tableStyles.item('altROWtable');

  • Can I combine multiple entries into a single statement?

    I am relatively new to Live Cycle so forgive my lack of technical wording.
    I would like to use multiple entry fields to fill in a statement.
    For example:
    I'd like the user to see this:
    Target Dropdown     Endo Dropdown     Type Dropdown     Version # Entry     Date 1 Entry     Date 2 Entry
    and then have the form merge all that together into a line that looks like this:
    RS_(target)_(endo)_(type)\(version)_(date)_(date)
    Preferably without repeating information on the page as we'll have multiple of these entries and the page will get hectic quick.
    Is this possible?
    I first had each dropdown in individual table fields, but due to regulations we follow the entries need to be merged without spaces.
    I always have a backup if this can't be done, but any help is appreciated.

    Not sure where you're sending it, but if you have a global variable named "bob".
    bob.value = "RS_"+target.rawValue+"_"+endo.rawValue+"_"+type.rawValue+"\"+version.rawValue+"_"+date.r awValue+"_"+date2.rawValue;
    Something like that should work.

  • ORACLE reports Build 10g - Data Model - query - If statement in Alias ?

    I have the following select statement. It has the alias Survivors, Deaths and "All
    With the ORACLE reports Build 10g - Data Model - I have the following query statement. I require the alias to change. Can the following be done.
    Cases". Is it posible to use :P_LANGUAGE variable to say that -- IF :P_LANGUAGE = FRENCH THEN alias are Survivants for survivors, Décès for Deaths, Tous_les_cas for All Cases. Please advise
    SELECT ALL T_NTR_MULTIBAR.CAT, T_NTR_MULTIBAR.NUM_CASES_LEFTBAR AS Survivors,
    T_NTR_MULTIBAR.NUM_CASES_MIDDLEBAR AS Deaths, T_NTR_MULTIBAR.NUM_CASES_RIGHTBAR AS "All Cases"
    FROM T_NTR_MULTIBAR
    WHERE INSTANCE_NUM = :P_INSTANCENUM
    order by ORDERS

    It is no problem, you can automatically change the complete query before the report is running, which delivers you different kind of values. But the alias names does not change in the group of the data-model, although two query are running with different alias names at different times. In the data model you see the alias names of the first implemented select statement, which are the column fields in the layout.

Maybe you are looking for

  • HP windows 8.1 fax doesn't work

    Hi everyone and HP expert, I want to use HP computer as a fax machine, it'll be very easy to receive and sent fax from pc and also it's easy to keep all files. The most important is it will save envirement, no more Fax machine and less paper. But, HP

  • Reading data from a XML file.

    Hi,   I am new user to webdynpro and has the task of reading data from XML file.The file is created using XML form Builder and is stored at a location.But my code gives me the path instead of the content in the data. The code is : try       IWDClient

  • BW-BPS 3.5 material

    Hello all I am a SAP BW consultant but I am new at BPS and I would need some material / documentation about it. Really what I am looking for is the SAP BW-BPS official material for cerfication. Could anyone send it to me? [email protected] Thanks in

  • How can I get rid of that row of icons below the bookmarks, which has Startnow on the left and Twitter on the right?

    I sought help among the available articles. I was informed that right clicking on a vacant part of the toolbar would give me the option to delete or hide it. Doesn't seem to work with this one. In fact, right clicking anywhere on this row isn't worki

  • Dynamically loading client proxy no longer works

    I've got several instances where we need to dynamically load/initialize a WebService client proxy using a URL classloader all within an Applet. The need for the classloader and dynamic loading is due to the seperate jars holding different system modu