Verify steps is correct - about spfile & pfile

hi guys,
let say i need to modify log_archive_format to a valid value and my database cannot startup. The step i need to take is
SQL> conn sys as sysdba
Enter password:
Connected.
SQL>
SQL>
SQL> create pfile from spfile;
File created.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup pfile;
SP2-0714: invalid combination of STARTUP options
SQL> startup pfile
SP2-0714: invalid combination of STARTUP options
SQL> startup pfile='C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora';
ORACLE instance started.
Total System Global Area  535662592 bytes
Fixed Size                  1384760 bytes
Variable Size             243273416 bytes
Database Buffers          285212672 bytes
Redo Buffers                5791744 bytes
Database mounted.
Database opened.
SQL>
SQL>
SQL> show user
USER is "SYS"
SQL>
SQL>
SQL> show parameter spfile;
NAME                                 TYPE        VALUE
spfile                               string
File created.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area  535662592 bytes
Fixed Size                  1384760 bytes
Variable Size             243273416 bytes
Database Buffers          285212672 bytes
Redo Buffers                5791744 bytes
Database mounted.
Database opened.
SQL>
SQL>
SQL> show parameter spfile;
NAME                                 TYPE        VALUE
spfile                               string      C:\ORACLEXE\APP\ORACLE\PRODUCT
                                                 \11.2.0\SERVER\DATABASE\SPFILE
                                                 XE.ORA
SQL>the step to restart the database again after the database was startup using the pfile was to allow the database to use spfile back. Is that correct?
And not too sure why the below won't work until i specify the full path.
>
SQL> startup pfile;
SP2-0714: invalid combination of STARTUP options
SQL> startup pfile
SP2-0714: invalid combination of STARTUP options
SQL> startup pfile='C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora';
ORACLE instance started.

Andy Klock wrote:
You have me stumped. It didn't look like you did anything at all. Typically if you get into a state when the spfile has values that don't allow you to startup the instance, you create a pfile from the spfile, which you did. Then you correct the pfile. (vi initXE.ora) which I don't see. Then you execute create spfile from pfile='&corrected_pfile', then startup the instance with the fixed spfile.
As for the pfile parameter, you have to specify the file. That's the way it's always been. If you don't specify anything (i.e. startup) it will first default to the spfile (9i and above) then to the initORACLESID.ora, otherwise it doesn't know where to look.
Good luck.oops....i accidently copied the wrong demo.. .
it should be :
SQL> conn sys as sysdba
Enter password:
Connected.
SQL>
SQL>
SQL> create pfile from spfile;
File created.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
-- MODIFY THE pFILE, THEN
SQL> startup pfile;
SP2-0714: invalid combination of STARTUP options
SQL> startup pfile
SP2-0714: invalid combination of STARTUP options
SQL> startup pfile='C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora';
ORACLE instance started.
Total System Global Area  535662592 bytes
Fixed Size                  1384760 bytes
Variable Size             243273416 bytes
Database Buffers          285212672 bytes
Redo Buffers                5791744 bytes
Database mounted.
Database opened.
SQL>
SQL>
SQL> show user
USER is "SYS"
SQL>
SQL>
SQL> show parameter spfile;
NAME                                 TYPE        VALUE
spfile                               string
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area  535662592 bytes
Fixed Size                  1384760 bytes
Variable Size             243273416 bytes
Database Buffers          285212672 bytes
Redo Buffers                5791744 bytes
Database mounted.
Database opened.
SQL>
SQL>
SQL> show parameter spfile;
NAME                                 TYPE        VALUE
spfile                               string      C:\ORACLEXE\APP\ORACLE\PRODUCT
                                                 \11.2.0\SERVER\DATABASE\SPFILE
                                                 XE.ORA
SQL>

Similar Messages

  • The update "iTunes" could not be verified and expanded correctly.

    Hi all,
    I was tryng to upgrade to the latest version of iTunes and I got this message
    *The update "iTunes" could not be verified and expanded correctly.*
    *It also says: Make sure you have permission to write*
    *to /tmp/501/TemporaryItems.com.apple.SoftwareUpdate, then try again.*
    Any ideas what that means?
    Thanks,
    Anarie

    http://docs.info.apple.com/article.html?artnum=106712

  • OWSM SAML Verify step problem: Missing Security Header in SOAP message

    I'm having a problem with SAML steps. From gateway log:
    2008-09-17 13:21:32,987 INFO [HTTPThreadGroup-58] saml.InsertSAMLSVStep - User attributes map set to generate the attribute assertions: null
    2008-09-17 13:21:33,034 INFO [HTTPThreadGroup-60] saml.SAMLProcessor - Assertion Major Version :1 , Minor Version :1
    2008-09-17 13:21:33,034 WARNING [HTTPThreadGroup-60] saml.SAMLProcessor - SAML Assertion verification error: An invalid token was provided
    2008-09-17 13:21:33,034 WARNING [HTTPThreadGroup-60] saml.VerifySAMLStep - SAML Token verification failed:
    2008-09-17 13:21:33,096 SEVERE [HTTPThreadGroup-58] wssecurity.OSDTWSSecurity - Missing Security Header in SOAP message
    2008-09-17 13:21:33,096 WARNING [HTTPThreadGroup-58] wssecurity.SecurityBaseStep - Failure while applying XML Security
    FAULT CODE: InvalidSecurity FAULT MESSAGE: Missing WS Security header in the SOAP message
    at com.cfluent.policysteps.security.wssecurity.OSDTWSSecurity.decryptVerify(OSDTWSSecurity.java:369)
    at com.cfluent.policysteps.security.wssecurity.DecryptStep.performXmlSecurity(DecryptStep.java:131)
    at com.cfluent.policysteps.security.wssecurity.SecurityBaseStep.execute(SecurityBaseStep.java:238)
    at com.cfluent.pipelineengine.container.DefaultPipeline.executeStep(DefaultPipeline.java:124)
    but the wsse:Security header with SAML assertion IS confirmed in the incoming message log. Anybody seen this issue?

    Below is the log of the incoming message just prior to the failing SAML Verify step:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://exception.common.periop.gehc.com" xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns2="http://www.patient.patientmanager.periop.gehc.com/service/" xmlns:ns3="http://entity.common.periop.gehc.com" xmlns:ns4="http://entity.patient.patientmanager.periop.gehc.com" xmlns:ns5="http://entity.allergy.patientmanager.periop.gehc.com" xmlns:ns6="http://pdo.domain.customizer.periop.gehc.com" xmlns:ns7="http://entity.cases.scheduler.periop.gehc.com" xmlns:ns8="http://entity.insurance.patientmanager.periop.gehc.com">
    - <env:Header>
    - <ns1:Security>
    - <saml:Assertion MajorVersion="1" MinorVersion="1" AssertionID="158RBY2QvCFPiTqdXYWh9A22" IssueInstant="2008-09-17T19:58:43Z" Issuer="GE" xmlns="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
    <saml:Conditions NotBefore="2008-09-17T19:58:13Z" NotOnOrAfter="2008-09-17T19:59:43Z" />
    - <saml:AuthenticationStatement AuthenticationInstant="2008-09-17T19:58:43Z" AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password">
    - <saml:Subject>
    <saml:NameIdentifier NameQualifier="www.ge.com" Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">gowri</saml:NameIdentifier>
    - <saml:SubjectConfirmation>
    <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:sender-vouches</saml:ConfirmationMethod>
    </saml:SubjectConfirmation>
    </saml:Subject>
    </saml:AuthenticationStatement>
    </saml:Assertion>
    </ns1:Security>
    </env:Header>
    - <env:Body>
    - <ns2:getPatient>
    <ns2:patientId>137115</ns2:patientId>
    </ns2:getPatient>
    </env:Body>
    </env:Envelope>

  • I'm a newbie to Blackberry - What is the first step to correctly using the instrument ?

     I'm a newbie to Blackberry - What is the first step to correctly using the instrument ?
    I just acquired my first blackberry phone  model-9810. What are the different simple  steps or the procedure that I should follow  to correctly use this instrument, i.e., telephone features first, internet features later. Your assistance to a newbie is highly appreciated.     All the best!  
    Solved!
    Go to Solution.

    Yes.
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • Did IOS8 upgrade w/iPhone5 / lost names associated when using e-mail - only displaying telephone numbers / what are the steps to correct to show names?

    Did IOS8 upgrade w/iPhone5 / lost names associated when using e-mail - only displaying telephone numbers / what are the steps to correct to show names?

    maybe OP want to extract all numbers from his inbox using regular expressions?

  • Steps to correct transport that had missing info object

    Experts,
    I had tranpsorted Material Master data after enhancement and realized that I missed to add custom info object in transport (BW). This transport come with Error 8 in QA. Now, I have transported missing object to QA with new transport request. Mw trasport in R/3 and data source replication were good. Currently, Transfer structure and 0Material are inactive. I would like to know steps to correct my tranport best possible way. Can I do repair or reimport my first transport? Please advice. Thanks.
    Regards,
    NP

    I will suggest to collect them again in a new request and transport.
    Ravi Thothadri

  • About spfile creating in oracle 10g while creating a new database

    hi everyone,
    i had this problem while i was creating a new database in oracle 10g.when running the database script, it gives an error about invalid option for create temporary tablespace. is it necessary to have an spfile created in 10g. when the script was not working,we tried to create spfile which gives error tht it does not match the parameter db_name. its taking the default db_name=orcl itself..tis not taking our new db name.
    im creating it manually through sql prompt not through DBCA.the problem is that its still accepting the default db name. please send me the solution with syntaxes.
    thanx

    first of all, thanx for giuding me as im a student doing a course in this
    what abt the creation of spfile.. in a documentation for steps in creating database, they have mentioned it as recommended in creating spfile.here are some notes regarding this ....for oracle 10g
    Step 5: Create a Server Parameter File (Recommended)
    Oracle recommends that you create a server parameter file as a dynamic means of maintaining initialization parameters. The server parameter file is discussed in "Managing Initialization Parameters Using a Server Parameter File".
    The following script creates a server parameter file from the text initialization parameter file and writes it to the default location. The script can be executed before or after instance startup, but after you connect as SYSDBA. The database must be restarted before the server parameter file takes effect.
    -- create the server parameter file
    CREATE SPFILE='/u01/oracle/dbs/spfilemynewdb.ora' FROM
    PFILE='/u01/oracle/admin/initmynewdb/scripts/init.ora';
    SHUTDOWN
    -- the next startup will use the server parameter file
    EXIT
    the error : db_name does not match with the parameter.
    its still taking the default orcl database name

  • Trying to connect my macbook to a printer on windows 7 please step by step no nothing about computers thanks

    hi i am a macbook and at a new job and trying to connect to a printer connected by usb to a windows 7 computer how do i connect to the printer ??? please whole step by step operation no nothing about computers thanks i need the help !!!!!!!

    sorry more to add there are 5 pcs all conected using a worksharing on the pc and one pc is connected via usb i can connect to share files but not printing and that took me ages to find out lol please help

  • HT5622 Verify shows my correct Apple ID but when I put in the proper password it tells me my ID is improper.  What do I do now?

    Apple ID verify - My ID is shown correctly and password used is correct but I get a message saying Apple ID is not valid.  What to do now?

    Please double check the Visa information and then try a different credit card if it's available.

  • DB down, plz  verify steps

    Hi All,
    one DB is down got alert, when i tried to start it got below error.
    it's 8i DB on AIX
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1249775508 bytes
    Fixed Size 73620 bytes
    Variable Size 617402368 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 3153920 bytes
    Database mounted.
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1: '/ora/diastgwi/test/system_01.dbf'
    ORA-01251: Unknown File Header Version read for file number 1
    in alert log i see block corruption in system datafile., see below
    ORA-01578: ORACLE data block corrupted (file # 1, block # 936)
    ORA-01110: data file 1: '/ora/test/data01/system_01.dbf'
    i am checking if i have any rman backup so that i can recover corrupted block and open the database.
    please suggest also if i am doing wrong activity to open this DB
    i think due to corrupted block in system file DB got down, please correct me if i am wrong.

    [email protected] wrote:
    Hi,
    i just came to know they are taking backup on tape using TIVOLI.
    now tell the steps to recover from tape.There you can use several ways(There may several situation)
    1.Recover from tape.Allocate channel according this tape.
    rman>allocate channel ch1  type 'SBT_TAPE' parms ....
    rman>blockrecover  datafile 1 block 936; 2.If also backupsets available on disk(or you can copy backups/archlogs from tape to disk)
    rman>catalog start with 'backup_disk_location'
    rman>blockrecover  datafile 1 block 936; 3.If you do not have rman backup then restore your last cold backup(if available,also there available archive logs then you can apply these logs this backup and open your database)

  • Question about SPFILE on windows

    10g R1, windows 2003 server.
    From what I understand, the oracleservice<sid> with autostart TRUE will use the PFILE and not the SPFILE. I know I can redirect the init<sid>.ora to the SPFILE but is it possible to just null out the registry entry ORA_<sid>_PFILE to force it to use just the SPFILE?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    ORA_%ORACLE_SID%_PFILE: Location of the initialization parameter file.
    Default Location: %ORACLE_BASE%\admin\DB_NAME\pfile\init.ora
    Default location and name:
    The default location of init.ora is $ORACLE_HOME/dbs> on unix and %ORACLE_HOME%\database on Windows. On Windows, the location can be changed by changing ORA_%ORACLE_SID%_PFILE.
    The default name for the file is init$ORACLE_SID.ora (unix) or init%ORACLE_SID%.ora (windows).
    However, it is possible to start the database with another init.ora file than the default one. In this case, there is no way to determine which init.ora was used when the database is running (at least up to Oracle 9i).

  • Spfile & pfile

    Once we install oracle 10g is it going to use the spfile.ora or the initORACLESID.ora file? This is in case you just install it what if you have it already installed and you want to know what is it using? So, I can accordingly change the initialization file parameters.
    Any help any clue would be appreciated.

    I was trying to add the audit trial initialization parameter to the initoracle.ora file manually and the spfileoracle.ora automatically. Because I didn't know for sure which file the oracle was using. Later, when I shutdown the database and startup it up, It told me that I’m connected to an idle instance and could not find the initoracle.ora file. Therefore, I gave it this command:
    SQL> startup pfile='F: \oracle\product\10.1.0\Db_1\database\INITORACLE.ora'
    It told me it cannot find it there. I'm quite sure it was there and nobody has deleted it. Later I tried the following:
    SQL> startup pfile='F: \oracle\product\10.1.0\Db_1\database\SPFILEORACLE.ora'
    It worked. Later, when I tried to log on again. It told me it could not find the initoracle.ora and couldn't find the spfileoracle.ora either. When I checked its location I couldn't find it. It is really mind-boggling, they were there yesterday and today they are not......
    Unfortunately I have no backup for either the Spfile and pfile.I know this is bad.
    Could you kindly help me with that, I need to start me database.
    Any help would be appreciated.

  • Oracle 9i installation steps - Please correct me if I am wrong

    Thanks for the help for last post.
    Nisarg
    STEPS :
    Welcome screen press next
    Next screen
    Destination
    Name : OraHome90
    Path : E:\oracle\ora90
    Than press next
    Product to install
    Oracle9i database 9.0.1.1.1
    Press Next
    Installation type
    Enterprise Edition
    1.76 GB
    Press Next
    Select for General Purpose
    Press Next
    Globle Database Name : matrix.nisarg
    SID : matrix
    Press Next
    Directory for database files : E:\oracle\oradata
    Press Next
    Use the default character set
    Press Next
    Install
    Will this work.
    Nisarg

    I am stuck at 94% installation configuration.
    It is installing currently Oracle Enterprise Manager Website 9.0.1.0.0
    Extracting file
    VtcvEncNewPagingServerDlg.class
    This is disk 3 of installation.
    Correction : While disk2 was installing _warehouse.dfl* something file it took a while to go from 44% to 68% So I cancelled it and installed disk 1 and disk 2 again after realising that it was my error.
    It said that paging service already installed in between while installing services from disk1.
    I chose to ignore and carried further.
    Disk 2 went without error and in disk 3 it is giving this messege.
    Do I did something wrong while cancelling installation inbetween and redoing it. It also gave messege oran*crypt*.* service already exists. I chose ignore option.
    Do I need to format the disk and do again. I have experienced before that uninstalling Oracle does not work as registry and services have inbetween setting that do not get removed automatically after doing uninstallation.
    What to do? Disk does not have any scratch on its surface. Its working on fine. I hope its not corrupted.
    Nisarg Sutaria

  • Need step by step in details about upgrade 11.5.3 to 12.1.1

    Hi every one !
    i' m trying to upgrade our ebs 11i from 11.5.3 on win NT4 To R12.1.1 on RHEL Linux 5.5 with another hardware. so can any one help me to get what i need in details with step by step instructions .
    and what patchs must be downloaded. and any thing else do i need for this purpose .
    i appreciate your help.
    we're on :
    ebs 11.5.3 with DB 8.1.6 On Win NT4 , Tow Nodes .
    going to :
    ebs 12.1.1 with DB 11g on RHEL Linux 5.5 , Tow Nodes.
    thanks
    Hani
    Edited by: user2987179 on Feb 5, 2012 2:58 AM

    Please see old threads for similar dicussion -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Upgrade+11i+to+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to set root password apple manual steps not correct

    When I follow the steps Apple has for setting the root password and I click login options I don't see a button that says Open Directory Utility? Any suggestions?

    found answer http://support.apple.com/kb/HT1528

Maybe you are looking for

  • Delete file from folder only (not from list)

    Hi all, I've searched a lot and didn't succeed so far, that's why I need your help. In a cloud context, I'm actually creating and uploading files (pdf and/or xml files) "on the go" to sharepoint folders via the SOAP API and this is perfectly working.

  • ITunes will NOT sync with my iPhone 3G

    Hello I've performed a CLEAN Restore on my iPhone and I did not restore data. I've installed my 86 applications and used a few of them. I've decided that I want a "backup" incase i need to restore my iPhone and I don't want to lose my text messages.

  • Connect current 23" cinema disp to any G4 MDD

    I have a 23" display of current model. Now I'm looking at buying a cheap second hand G4 to use for some tasks because I dont feel like connecting my laptop to it every now and then. So, if I am not mistaken, any MDD is capable of of producing 1900*12

  • 802.1x Credential Provider

    I have a custom Credential Providers for Windows 7 and I'm trying to implement support for a wired 802.1x enabled network. Since my Credentail Provider is used in a Windows domain network, I have to perform a network authentication (using the users c

  • I ned in depth information of BPM's , detailed idea of each and every step

    I ned in depth information of BPM's , detailed idea of each and every step. For example receive , send , control , transformation, switch. And also different bridges like Sync/Async.