Create SPFILE from pfile not working

Experts,
I have edited SPFILE by mistake....but.... I do have a good pfile and am able to startup oracle from pfile.
I am trying create SPFILE from pfile:
create spfile='path/file' from pfile='path/file'
as soon as I execute this command prompt is showing as follows:
c>: 2
and is expecting some reponse, if typein some char like:
c>:2 AAAA,,, reponds back:
c>: 3 (expecting response again)
Please let me know what could be wrong.
I am connected as SYSDBA...
Your help will be greatly appreciated.
Venkat

create spfile='path/file' from pfile='path/file'It's expecting a command termination : try adding a semicolon, e.g.
create spfile='path/file' from pfile='path/file';
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14357/ch4.htm#sthref829

Similar Messages

  • Error while creating spfile from pfile

    i am creating spfile from pfile and i am facing some issue regarding this i am getting error as ORA-01127: database name 'bbcomdev''' exceeds size limit of 8 characters as my db name is 8 characters only..
    Please help.

    Anand.. wrote:
    If the pfile if we mention the below, instance startup fails
    *.db_name=''bbcomdev''Why do you have two pairs of single-quote marks?
    >
    >
    SQL> startup nomount pfile='D:\oracle\product\11.2.0.2\dbhome_1\database\INITbbcomdev.ORA'
    ORA-01127: database name 'bbcomdev''' exceeds size limit of 8 characters
    Anand                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Issue when creating SPFILE from pfile;Is this a bug ?

    Version : 11.2
    os : AIX
    I created a pfile from spfile stored it in a non-default location ie. a location other than ORACLE_HOME/dbs
    create pfile='/u01/oracle/mytest_pfile.ora' from spfile;I brought down the DB , and started the DB using the above pfile from non-default location
    startup pfile='/u01/oracle/mytest_pfile.ora'  -- pfile in a non-default locationNow i am creating an SPFILE from the pfile without explicitly mentioning the pfile file name in the non-default file location.
    create spfile='/u01/oracle/mytest_spfile_sep23_2011.ora' from pfile;Using strings command (in AIX) I verified the contents of the spfile . It seems that if you don't mention the file name of pfile , then oracle reads the pfile which is in
    ORACLE_HOME/dbs and NOT the pfile from the non-default location which is used to startup the instance !!! . Isn't this a bug?

    No ,it's not a bug.
    order of precedence of parameter file is as follow :
    1.) spfileSID.ora --- non default
    2.) default spfile
    3.) initSID.ora --- non default pfile
    4.) default pfile
    In your case i.e; create spfile='/u01/oracle/mytest_spfile_sep23_2011.ora' from pfile;
    here it is reading pfile from fefault pfile because it will always search the pfile or spfile in dba directory .
    if you want to create the spfile from non-default pfile then create spfile as :
    create spfile='/u01/oracle/mytest_spfile_sep23_2011.ora' from pfile='/u01/oracle/mytest_pfile.ora' ;
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Kuler's Create colors from image not working

    Whenever I try to create a color scheme from a photo, the
    little spin graphic hangs and the percentage done gets stuck on 19%
    or 31%. It's not working. Any help??

    Hi,
    We were experiencing issues with one of our servers
    yesterday. It should all be working now. Please let us know if
    you're still experiencing the same problems.
    Thanks,
    The Kuler Team

  • 'Create' Push button is not working in BDC and LSMW while uploading G/L master data

    Hello Experts:
    I am facing the following problem:
    While uploading G/L master data with the BDC program, 'create' push button is not working  even after executing following lines.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    Create G/L account  screen is not coming in BDC. Please suggest me what to do.
    Thanks !!

    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Hi Glen Anthony
    Thank you for the reply Glen Anthony please take a look at the following code.
    REPORT  ZFI_BDC_FS00
            NO STANDARD PAGE HEADING LINE-SIZE 255.
    *INCLUDE BDCRECX1.
    TYPES : BEGIN OF STR,
       BUKRS TYPE GLACCOUNT_SCREEN_KEY-BUKRS,        "Company Code
       SAKNR TYPE GLACCOUNT_SCREEN_KEY-SAKNR,        "G/L Account Number
       KTOKS TYPE GLACCOUNT_SCREEN_COA-KTOKS,        "G/L Account Group
       XPLACCT TYPE GLACCOUNT_SCREEN_COA-XPLACCT,    "P&L statement account
       XBILK TYPE GLACCOUNT_SCREEN_COA-XBILK,        "Indicator: Account is a balance sheet account?
       TXT20_ML TYPE GLACCOUNT_SCREEN_COA-TXT20_ML,  "G/L account short text
       TXT50_ML TYPE GLACCOUNT_SCREEN_COA-TXT50_ML,  "G/L account short text
       WAERS TYPE GLACCOUNT_SCREEN_CCODE-WAERS,      "Account currency
       XSALH TYPE GLACCOUNT_SCREEN_CCODE-XSALH,      "Indicator: Only Manage Balances in Local Currency
       MWSKZ TYPE GLACCOUNT_SCREEN_CCODE-MWSKZ,      "Tax Category in Account Master Record
       XMWNO TYPE GLACCOUNT_SCREEN_CCODE-XMWNO,      "Indicator: Tax code is not a required field
       MITKZ TYPE GLACCOUNT_SCREEN_CCODE-MITKZ,      "Account is reconciliation account
       XOPVW TYPE GLACCOUNT_SCREEN_CCODE-XOPVW,      "Indicator: Open item management?
       XKRES TYPE GLACCOUNT_SCREEN_CCODE-XKRES,      "Indicator: Can Line Items Be Displayed by Account?
       ZUAWA TYPE GLACCOUNT_SCREEN_CCODE-ZUAWA,      "Key for sorting according to assignment numbers
       FSTAG TYPE GLACCOUNT_SCREEN_CCODE-FSTAG,      "Field status group
       XINTB TYPE GLACCOUNT_SCREEN_CCODE-XINTB,      "Indicator: Is account only posted to automatically?
       END OF STR.
    DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
            IT_BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE,
            TXT(4096) TYPE C OCCURS 0,
            MSG TYPE STRING,
            COUNT(5) TYPE N.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
       PARAMETERS : MY_FILE TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN : END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR MY_FILE.
    CALL FUNCTION 'F4_FILENAME'
      EXPORTING
        PROGRAM_NAME        = SYST-CPROG
        DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
      IMPORTING
        FILE_NAME           = MY_FILE
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
       EXPORTING
    *   I_FIELD_SEPERATOR          =
    *   I_LINE_HEADER              =
         I_TAB_RAW_DATA             = TXT
         I_FILENAME                 = MY_FILE
       TABLES
         I_TAB_CONVERTED_DATA       = ITAB[]
      EXCEPTIONS
        CONVERSION_FAILED          = 1
        OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * IMPLEMENT SUITABLE ERROR HANDLING HERE
    ENDIF.
    START-OF-SELECTION.
    COUNT = 0.
    LOOP AT ITAB.
    *PERFORM OPEN_GROUP.
    REFRESH  IT_BDCDATA.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    *PERFORM BDC_FIELD       USING 'BDC_CURSOR'
    *                              'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                   ITAB-SAKNR. "'5'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
                                   ITAB-BUKRS. "'TATA'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_GROUP'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-KTOKS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_BS_PL'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-XBILK'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "''.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB02'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-TXT50_ML'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                   ITAB-TXT20_ML. "'G/L ACCOUNT'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                   ITAB-TXT50_ML. "'G/L ACCOUNT'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB03'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                   ITAB-WAERS. "'INR'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XSALH'
                                   ITAB-XSALH. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                   ITAB-MWSKZ. "'*'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XMWNO'
                                   ITAB-XMWNO. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
                                   ITAB-MITKZ. "''.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                   ITAB-XOPVW. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                   ITAB-XKRES. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                   ITAB-ZUAWA. "'1'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=SAVE'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-XINTB'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                   ITAB-FSTAG. "'G019'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
                                   ITAB-XINTB. "'X'.
    *PERFORM BDC_TRANSACTION USING 'FS00'.
    CALL TRANSACTION 'FS00' USING IT_BDCDATA MODE 'E' UPDATE 'S'.
    COUNT = COUNT + 1.
    *PERFORM CLOSE_GROUP.
    ENDLOOP.
    CONCATENATE COUNT ' RECORDS UPDATED SUCCESSFULLY' INTO MSG.
    MESSAGE MSG TYPE 'I'.
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
       CLEAR IT_BDCDATA.
       IT_BDCDATA-PROGRAM  = PROGRAM.
       IT_BDCDATA-DYNPRO   = DYNPRO.
       IT_BDCDATA-DYNBEGIN = 'X'.
       APPEND IT_BDCDATA.
    ENDFORM.
    *        INSERT FIELD                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    *  IF FVAL <> NODATA.
         CLEAR IT_BDCDATA.
         IT_BDCDATA-FNAM = FNAM.
         IT_BDCDATA-FVAL = FVAL.
         APPEND IT_BDCDATA.
    *  ENDIF.
    ENDFORM.

  • How enter the values in to table when create entries option is not working

    hi everyone,
         can u please tell me How enter the values in to table when create entries option is not working.
    it's urgent.
    thanking u all

    Hi Shree,
    how many entries u want to insert ,,
    is it a ztable or custom table ..
    just tell me ur clear requirement ..
    clarify the same ..
    if no options avaliable then if its less entries or some value u can do it through debugging ..
    if its bulk entries then u can write a program ..
    just let me know ..
    regards,
    VIjay

  • Transfer Order auto create for Posting Change not working

    Hello Gurus -
    When we release an inspection lot from "Q" status, it creates a posting change notice, and we have it configured to create a TO in the background to the same bin, and auto confirm.  The desired and intended result is to take something from "Q" status to unrestricted status, while keeping it in the same bin - and avoiding the user having to deal with the transfer orders.  Essentially it is seamless and all in the background, the user just sees that he has changed something from quality status to unrestricted.
    It works fine when the entire quantity is selected for the usage decision, but when a partial usage decision is made, the transfer order does not create - and requires processing in LU04 for the posting change.
    Why would this work for an entire qty, but not work for a partial qty - and simply require someone to go in to LU04 and hit "create transfer order" - with no additional information?
    Any help would be most appreciated.  Does it have something to do with a setting of quants?

    Hi,
    In case of a usage decision for a partial quantity, it is not possible to create the Transfer Order for the generated posting change notice automatically. This is only possible when the full quantity is released. The same happens if you release a partial quantity and post the rest to blocked stock or scrap. The reason is, there needs to be a user decision, which part of the quantity has to be posted, this is necessary for example when the quantity is distributed in the warehouse over many storage bins. But even if the full quantity is on one storage bin, there is no automatic TO creation. You can see this also in the online
    processing (LT05), in case of partial quantities you have to enter the selected quantity in the quant list, for a full posting this is not necessary.
    Hope this helps,
    Sinéad Curran

  • "Old" update rule from ODS not working

    Hi Gurus,
    I need to set up the "old" fashioned update rule to load data from an ODS1 to another ODS2.
    The thing is that I need to set up an update rule because I need to implement a Return Table Routine that is not supported (as far as I know) by the new Transformation/DTP.
    When I select option (through the right mouse click over ODS1)  "Other Options" - "Create Update Rule" it takes me out of the RSA1 and leaves me in the main menu making it impossible to create a new update rule.
    The strange thing is that I have this working from and ODS to an InfoCube.....
    Suggestions, a workaround??
    Andrea.

    Hi Jerry,
    Just to confirm that this is not working. The tys_TG_1 structure only shows me the target infoprovider structure. Check that in the how to, to be able to derive employee first you need to assign eache source_filed to the result_field leaving employee blank.
    I need to have in the same place, the source_field structure (source infoprovider field structure) and the result_field structure (target infoprovider structure). That is what the "old" return table gives me as in the same place I can have the communication_structure (source infoprovider field structure) with the return_table structure (target infoprovider structure). 
    Just to understand, in the source infoprovider I have 12 Key Figures (1 for each period) and I have to split each incoming record to 12 records. If I work only with the result_field structure tys_TG_1 and the result_package tyt_TG_1 I'm not able the see those 12 KF.
    So... return table functionality is not fully supported by BW 7 as far as I know.
    Any other ideas why I'm not able to create the old Update Rules from an ODS?
    Regards,
    Andrea.

  • Save As PDF from Word not working

    Hi all,
    Getting a bit anxious here. I'm on a Mac and for years I've been creating PDFs from Word (Office X, 2003) by following the path: File > Print > PDF button > Save as PDF. It's always worked perfectly.
    I bought my new iMac last week and could not create PDFs from Word. Thought it might be the version of Adobe Reader I was running (v9) so updated and am now running 10.0.3. No change. Some documents save fine, others don't.
    Can someone please help? I'm quite dependent on this function for sending PDFs, and the backlog is growing...
    Many thanks,
    Andrew
    My setup:
    iMac 3.1G
    12GB RAM
    OS 10.6.7 (Snow Leopard)
    Adobe Reader: v10.0.3

    Sorry but Reader has nothing to do with creating the PDF. It only views the end result. You'll probably want to take this up in either the Apple forums or a Microsoft forum since you are using one or the others technology to create the PDF.

  • Create Notification Navigation Button not working in Order Objects Tab

    Hi Gurus,
    I am having an issue in Order --> Objects tab. I want to create notification for additional  technical objects for the order. When I enter the technical object details and press enter, a "Create Notification" navigation button gets activated for that line item. But when I press that button, nothing happens. On the other hand if a select multiple line items and then press "Create Notification" button at the bottom of the line items, I am able to create notifications for the selected line items.
    Can someone help me suggest what can be the problem or suggest a Note which might restore the functionality of the "Create Notification" navigation button at the line item level.
    Thanks in advance for the help.
    Best Regards
    Vikas Hali

    Vishal,
    I dont think the Notification Create Button from line item is pretty much dependent on the Customization Settings or any sap note concerning this has not been as yet brought into my notice. In my system, this is working appropriately. The problem with this which i can think of is either an authorization issue or you should raise an oss for this.
    Regards,
    Usman

  • Pdf email attachments - error msg after download "not decoding" - creating DWORD key did NOT work!

    I went to REGEDIT and installed the DWORD key as suggested by ADOBE to fix problem created by security update & it did NOT work!! Attempting to save then open the files gives same error msg.  I sent multiple emails from a book scanner at the library with pdf files in quick and searchable formats & neither will open! Someone else that I forwarded the email to was able to open with no problem & he is running version 10.  There is no option to load earlier versions!!!!  I am running version 11 on Windows XP.

    I scanned hundreds of pages using a book scanner @ the law library - the USB port was not working so I had to choose the send by email attachment option. Received 30 emails & NONE (so far) of the pdf attachments will open - the error msg states "Reader could not open "doc" because it is either not a supported file or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)." I forwarded 2 emails to someone else running version 10 - he had no prob opening from email (I have version 11 & then I also reinstalled 9.5 & STILL getting the same error msg)! Used someone elses's computer who is running version 10 & same error msg. Each time I try a fix I then go to a 'new' unopened email & attempt to open an attachment that hasn't been previously downloaded. Adobe supposedly has a fix - from Regedit - create DWORD key @ HKCU/Adobe/Reader/11/AV General "bValidateBytesBeforeHeader" - I did that & restarted computer each time I installed etc - still NO solution! So unless you have another idea I have a THIRD 6 hour roundtrip to the Law Library in KC in my near future!
    Drew Davis
    Sent from my BlackBerry® powered by Virgin Mobile.

  • Create Type as Object not working in linux oracle 11g

    Pleae refer to the following simple create type as object statement.
    CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER)
    It is working in oracle 11g and windows server 2008 environment.
    But it is not working in oracle 11g with linux environment.
    I am executing this statement as dynamic sql as follows
    CREATE OR REPLACE PROCEDURE TEMP_SP
    AS
    BEGIN
    DECLARE vcType VARCHAR2(30);
    BEGIN
    SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
    WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
    COMMIT;
    RETURN;
    END;
    END;
    exec TEMP_SP
    please let me know what i am missing ?

    And error is:ORA-00600: internal error code, arguments: [kothc_uc_md5:lxerr], [], [], [], [], [], [], [], [], [], [], []
    ORA-06512: at "ATIPAGENT.TEMP_SP", line 10
    ORA-01403: no data found
    ORA-06512: at line 1
    ..Query:exec TEMP_SP...Previous Query:CREATE OR REPLACE PROCEDURE TEMP_SP AS BEGIN DECLARE vcType VARCHAR2(30); BEGIN
    SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
    WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE'; EXCEPTION WHEN NO_DATA_FOUND THEN
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
    COMMIT;
    RETURN;
    END;
    END;

  • Brbackup from DB13 not working

    Dear experts,
    For the past one week suddenly my Offline backup from DB13 has stopped  working. I havent change anything on my SAP server or Oracle but its not working.
    First I checked DB13 logs. Last messages it is giving me is like as follows
    =====================================================
    BR148I DBVERIFY will be used for verification                                  
    BR134I Unattended mode with 'force' active - no operator confirmation allowed  
    BR370I Directory /oracle/CYP/sapbackup/bdvklqkj created                        
    BR202I Saving init_ora                                                         
    BR203I to /oracle/CYP/sapbackup/CYP ...                                        
    BR202I Saving /oracle/CYP/920_64/dbs/initCYP.sap                               
    BR203I to /oracle/CYP/sapbackup/CYP ...                                        
    BR280I Time stamp 2007-06-05 03.00.07                                          
    BR198I Profiles saved successfully                                             
    BR280I Time stamp 2007-06-05 03.00.07                                          
    BR307I Shutting down database instance CYP ...    
    =============================================
    when I checked my previous DB13 successful logs I saw that next message is
    Shutdown of database instance CYP successful
    Obviously it gave me idea that might be database was not closing out successfully. then I checked and compared my oracle alert logs but havent found  very obvious changes their. Please check below messages of alert log. First set of messages are of successful backup and next set is of my recently failed backup
    ===================================================                             
    ALTER DATABASE CLOSE NORMAL
    Wed May  9 01:00:59 2007
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Wed May  9 01:00:59 2007
    Shutting down archive processes
    Archiving is disabled
    Wed May  9 01:00:59 2007
    ARCH shutting down
    Wed May  9 01:00:59 2007
    ARCH shutting down
    Wed May  9 01:00:59 2007
    ARC0: Archival stopped
    Wed May  9 01:00:59 2007
    ARC1: Archival stopped
    Wed May  9 01:01:00 2007
    Thread 1 closed at log sequence 2209
    Successful close of redo thread 1
    Wed May  9 01:01:00 2007
    Completed: ALTER DATABASE CLOSE NORMAL
    Wed May  9 01:01:00 2007
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ALTER DATABASE CLOSE NORMAL
    Tue Jun  5 03:00:42 2007
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Tue Jun  5 03:00:43 2007
    Shutting down archive processes
    Archiving is disabled
    Tue Jun  5 03:00:43 2007
    ARCH shutting down
    Tue Jun  5 03:00:43 2007
    ARCH shutting down
    ARC1: Archival stopped
    Tue Jun  5 03:00:43 2007
    ARC0: Archival stopped
    Tue Jun  5 03:00:43 2007
    Thread 1 closed at log sequence 2254
    Successful close of redo thread 1
    Tue Jun  5 03:00:43 2007
    Completed: ALTER DATABASE CLOSE NORMAL
    Tue Jun  5 03:00:43 2007
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ======================================================
    I used to schedule backup at 3 AM but when I came to office next morning my oracle instacne was in idle mode. I checked ps -ef OS command and saw process of brbackup was still there and not a single byte had been taken as backup.
    Please help me if  you have any clue.
    Best Regards
    Waqas

    which log do you want
    backCYP.log
    or
    bdvklqkj.afd log ( this is same is db13 logs)
    backCYP.log is showing following
    =======================================
    bdvfimya afd  2007-05-09 01.00.48  2007-05-09 01.57.18  1  ...............     2
    5    25     0      2209       2028063485     2209       2028063485  ALL
    offline_force   disk             -
    c 6.20 (113)
    bdvjrtwh afd  2007-06-01 02.00.23  0000-00-00 00.00.00  6  ...............     2
    5     0     0      2248       2104067221        0                0  ALL
    offline_force   disk             -
    c 6.20 (113)
    bdvklqkj afd  2007-06-05 03.00.05  0000-00-00 00.00.00  6  ...............     2
    5     0     0      2254       2114123006        0                0  ALL
    offline_force   disk             -
    dc 6.20 (113)
    ===================================
    Regards

  • Select in FROM clause not working

    Hello,
    I have three tables with one table containing the name of the other two tables and i want to select dynamically the two selects based on their ID that matches in the first table.
    CREATE TABLE_NAMES (ID NUMBER, TableName VARCHAR(2) )
    CREATE TRADE (activites VARCHAR(2), TRADE_ID )
    CREATE CONTRACT(activites VARCHAR(2), TRADE_ID )
    INSERT INTO TABLE_NAMES ( 101, 'TRADE' );
    INSERT INTO TABLE_NAMES ( 202, 'CONTRACT' );
    INSERT INTO TRADE ('TRADE 1' , 101 )
    INSERT INTO CONTRACT ('CONTRACT 1' , 202 )
    What I wanted to do is select the table name dynamically based up on the id in TABLE_NAMES
    and I failed when doing this
    SELECT SELECTED_TABLE.activites FROM ( SELECT TABLE_NAME FROM TABLE_NAMES WHERE ID = 101 ) SELECTED_TABLE
    OR a more generic form with JOIN statement also did not work
    SELECT SELECTED_TABLE.activities FROM TABLE_NAMES SELECTION JOIN ( SELECT TABLE_NAME FROM TABLE_NAMES) SELECTED_TABLE
    ON SELECTION.ID = SELECTED_TABLE.TRADE_ID
    Thanks in advance

    What you are trying to do will not work. To accomplish your requirement you would have to use dynamic SQL.
    However, I want to stress that this is probably not a good design decision because:
    1. Maintainability of the code may be jeopardized
    2. Dynamic SQL could be laden with SQL injection vulnerabilities
    3. Dynamic SQL generally does not perform as well as static SQL.
    HTH!

  • Apex link (Created using href) is not working

    Hello All,
    1. I have created a click able on the APEX page for the attached link (stored in the oracle db table)
    Using below query
    SELECT '<a href="' ||'file:///'||Package.function(p_parameter)||'" target="_blank">'|| package.function (p_parameter_id )||'</a>'
    AS href
    FROM prag.t1, t2 
    WHERE    condition.t1 = condition.t2
    AND ID =p_id
    2. The attached link from the path are opening in a new window perfectly for me.
    \\sih82566\k1_ora$\K1IS\TEST1I\WORKDIR\Gaurav\146539_Scripts.SQL
    3. The attached link from the path such as
    C:\Documentss%20and%20Settings\gaurav\Desktop\f120.sql
    are not accessible to me. There is not any error message also on click on this link.
    Note:I am using using APEX in my citrix machine
    Thank you.
    Regards,
    Gaurav Nagpal.

    Hello Hari ,
    I was expecting suggestion from you and finally you replied  thanks a ton.
    For your first question :->
    I think the problem is with "citrix". Can you just run the application from your machine and see if you can access the file?
          Yes, I copied the link "  C:\Documentss%20and%20Settings\gaurav\Desktop\f120.sql "  and paste on IE its working perfectly.
    When you run browser from citrix, then C:\.. will refer to local drive of Citrix machine, not your local machine!
        Attached link  from  C:\. is not working (either I attach  link  from citrix machine or my local machine)
    It would be really very helpful if you can suggest me more in solving this issue.
    Thank you.
    Regards,
    Gaurav Nagpal.

Maybe you are looking for