Db started with Which parameter file

Hello all,
Can you please tell me how to find whether the database is started using spfile or pfile.
Db version : 10.2.0.3.0
OS : linux  : 5.4
Thanks

MahirM.Quluzade wrote:
I want share my test environment results:
Database started with SPFILE;
SQL> create pfile='c:\test.or' from spfile;
File created.
SQL> select decode(count(*), 1, 'spfile', 'pfile' ) from v$spparameter where rownum=1 and isspecified='TRUE';
DECODE
spfile
SQL> shut immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup pfile='c:\test.or'
ORACLE instance started.
otal System Global Area  801701888 bytes
Fixed Size                  2180024 bytes
Variable Size             532679752 bytes
Database Buffers          264241152 bytes
Redo Buffers                2600960 bytes
Database mounted.
Database opened.
SQL> select decode(count(*), 1, 'spfile', 'pfile' ) from v$spparameter where rownum=1 and isspecified='TRUE';
DECODE
pfile
Regards
Mahir M. Quluzade
Just a short explanation about that complicated query to remember IMHO:
SQL> select count(*) from v$spparameter where isspecified='TRUE';
  COUNT(*)
        49
SQL> create pfile='/home/oracle/mypfile.ora' from spfile;
File created.
SQL> startup pfile=/home/oracle/mypfile.ora
ORACLE instance started.
Total System Global Area 2147483648 bytes
Fixed Size                  2085464 bytes
Variable Size             855641512 bytes
Database Buffers         1124073472 bytes
Redo Buffers              165683200 bytes
Database mounted.
Database opened.
SQL> select count(*) from v$spparameter where isspecified='TRUE';
  COUNT(*)
         0
SQL>
That basically remains the same as I explained earlier, nothing is retained when you start the db with a pfile.
Nicolas.

Similar Messages

  • Knwoing the database was started with which pfile/spfile

    hello to everyone,
    Actually, a question that crossed my mind and I wondered if it's possible in Oracle.
    For an already started database, is there a way to know the database was started with which pfile/spfile? Is there a view that tells this for example.
    Many thnx.
    H Hiruya

    If spfile parameter is null, then you can look for a
    pfile with the name convention of
    init<ORACLE_SID>.ora.Yes, you can, but that won't tell you anything about which pfile was used to start the instance. I can just as easily type:
    startup pfile=/my/pfile/that/does/not/conform/to/any/naming/standard
    There's no way to definitively determine which pfile was used to start an instance.
    -Mark

  • Visual Composer on SAP CE 7.1 fails to start with missing manifest file

    Hi All,
    I have installed a SAP NetWeaver Composition Environment 7.1 and deployed the configuration template for the complete stack. I wanted to access the VC on the following URL
       http://myhost:501000/VC
    The login page appears and I enter a user with all needed privileges (Administrator) then the VC bails out with a popup message stating:
       Failed to open workspace due to the following error:
       Kits manifest is bad or missing
    In the log directory of the cluster I found the following lines right before the first java exception that led to the VC failing to start.
        #000C29361F67001A00000002000005F801F890B616AD3BB1#1192131467531#com.sap.lcr.pers.jdbc.common.common.AbstractCRJdbcPersistence#sap.com/com.sap.lcr#com.sap.lcr.pers.jdbc.common.common.AbstractCRJdbcPersistence#Administrator#11#SAP J2EE Engine JTA Transaction : [0ffffffd8ffffffb5ffffff8a003ffffff83]###67b81480783111dcbfe7000c29361f67#Application [13]##0#0#Error##Plain###Thrown:
    com.sap.sld.api.wbem.exception.CIMException: CIM_ERR_FAILED: The SQL statement "SELECT "APPL","NA_HASH","NA_KEY","TYP","ACTIVE","RANK","CL_START_ID","HOSTNAME","NAMESPACE" FROM "BC_SLD_NAMESP" WHERE "APPL" = ? AND "TYP" = ?" contains the semantics error[s]: - 1:116 - the table or view >>BC_SLD_NAMESP<< does not exist
    Can anyone tell me on how to get that VC up and running? Did I forget something to deploy or did I miss a configuration step?
    Any hint highly appreciated,
        Christian

    I'm getting the same error and the freestyle.jsp does not help either.
    By the way, the error posted above is related to the SLD, which is not installed with CE 7.1. I don't think that has anything to do with VC... Please correct me if I'm wrong.
    Message was edited by:
            Pascal Willemsen

  • Firefox 3.6.3 won't start with a particular file:///

    I can do {"c:\Program Files\Mozilla Firefox\firefox.exe" file:///n:\911c\OwenShow\helphtm\ohelpfrm.htm} but I can't do the same thing in a windows exec; firefox runs and hangs-up in the background. I assume this is FF's problem because when I run firefox again after killing it, the file appears correctly; or if I run firefox, and then try the exact same exec process, it works (i.e., in a 2nd tab). And I think closing "Firefox won't start after update 3.6.3 downloads and installs" was ridiculous, since the supposed solution ENDED WITH A QUESTION and WAS NOT a solution. j.g. owen * email: [email protected] * web: http://owenlabs.org

    And wonderful!
    Updated OSX (10.6.5) - and then thought what the heck, I'll trying enabling Firefox Sync. And it worked - for a couple of days. Until I accepted the update for Firefox Sync (1.5.1) - and I am back where I started, nothing works.
    I have no clue about this

  • How to do a flythrough starting with a Cad file

    I saw someone demonstrate workflow for taking a Cad file into Acrobat 3D then made a flythough. How is it done?
    If I have plain old Acrobat 8 Pro on my computer ...I right click on the cad file and turn it into a pdf.
    Then do I need Acrobat 3D to make it 3D and add flythroughs to it?
    Anone know the sequence?
    Also what versions of REader can view the 3 D effects?
    Thanks

    What type of CAD file are you using to convert to PDF? Acrobat Pro will only convert .u3d files into 3D PDFs, so I'm curious to find out if you are able to activate and navigate the 3D scene after the file is converted to PDF.
    If you're using the .u3d format to convert to PDF in Acrobat Pro, and there fore have successfully imported the 3D scene, then you would use the Acrobat 3D JavaScript API to create a flythrough.
    Any version of Adobe 8.1 Reader can handle 3D PDFs created with Acrobat 3D 7 or 8. Reader 7.0.7 can only handle 3D PDFs made from Acrobat 3D 7 or 7.0.x. The one caveat to that last comment is that one can create a 3D PDf in Acrobat that is compatible with Acrobat 7.0.x, but that decision must be made at the time the 3D annotaiton is created.

  • Ias Failed to start with "OPMN log file open failed" error message.

    Hi,
    My iAS doesn't start and I get this error message. Any advice? Thanks.
    opmnctl: starting opmn and all managed processes...
    OPMN log file open failed: /.../opmn/logs/ons.log (Read-only file system).
    opmnctl: opmn start failed

    Hi,
    Haven't you re-posted your question exactly after a year?
    take a look here.
    iAS not running due to OPMN log file open failed: opmn/logs/ons.log (Read-o

  • How to use parameter file with java

    Is it possible to use a parameter file with Java, and is there any class/method to make it easy to call and use these parameter from a text file, other than scanning the whole text file manually as we can do normally with visual basic/c++, so we can call the program with the parameter file, like java testing c:\\testing.ini

    If I understand you correctly, you may be looking for a properties file. This is basically a text file that contains pairs of strings in the form:
    parameter1=value1
    parameter2=value2
    parameter3=value3
    ...etc.
    and the values are retrieved using the java.util.Properties class - see:
    http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html
    Sample use://Call chis method once, to load the props file.
    //props file is called "demo.properties", and is
    //in a directory that is included in the classpath
        private void loadMyProperties() throws Exception
         InputStream stream = getResourceAsStream("/demo.properties");
         if(stream == null)
             throw new Exception("stream is null!");
         demoProperties = new Properties();
         demoProperties.load(stream);
         stream.close();
    // Then you can retrieve properties in your code using:
    String param3 = demoProperties.getProperty("parameter3");
    //...etc

  • Needing script to move files with name that starts with

    Here is part of the script that takes a excel file for the list to duplicate files from one folder the another. I would like it to use file name starts with instead exact file name. If I can get this to work I will not have to have a try for .jpg and a seperate try for .eps
                tell application "Finder"
                    try
                        duplicate (sourceFolder & theItem & ".jpg" as string) to destFolder with replacing
                    on error
                        do shell script "echo " & theItem & ">> $HOME/Desktop/NotFound.txt"
                    end try
                    try
                        duplicate (sourceFolder & theItem & ".eps" as string) to destFolder with replacing
                    on error
                        do shell script "echo " & theItem & ">> $HOME/Desktop/NotFound.txt"
                    end try
                end tell
    Thanks

    Ok here is the script that I've been using for a couple of years now with no problems, until I upgraded. Don't know what happened, because I cant even use it on a older system that we have. The error I get is when it tries to get the value of selection from Excel. It times out with no values. Thanks for any help!
    set sourceFolder to choose folder with prompt "Select the folder that contains images to move."
    set destFolder to choose folder with prompt "Select the destination folder"
    if sourceFolder is not destFolder then my moveImageFiles(sourceFolder as string, destFolder)
    on moveImageFiles(sFolder, dFolder)
        script o
            property valuesList : {}
        end script
       tell application "Microsoft Excel" to set o's valuesList to value of the selection
        if class of o's valuesList is not list then return -- not multiple selection
        set tc to (count o's valuesList)
        set dFolder to quoted form of POSIX path of dFolder
        set errorFile to quoted form of POSIX path of (sFolder & "filesNotFound or NotMoved.txt")
        do shell script "/bin/rm " & errorFile & " > /dev/null 2>&1 &" -- remove the error file (if it exists)
        repeat with i from 1 to tc
            repeat with thisValue in (get item i of o's valuesList)
                if contents of thisValue is not "" then -- not a blank cell
                    set tFile to quoted form of POSIX path of (sFolder & thisValue)
                    try
                        do shell script "shopt -s nocaseglob; /bin/mv -f " & tFile & "* " & dFolder
                    end try
                end if
            end repeat
        end repeat   
        do shell script "/usr/bin/open -b com.apple.textedit " & errorFile & " > /dev/null 2>&1 &"
    end moveImageFiles

  • How to Findout parameter file

    Hi,
    I have multiple parameter files. now I mount/open the database
    with one parameter file. Then how can i know by which file i
    open/mount database. Is this info stored any where in database.
    Thanks in advance
    Raju

    Hi,
    I have multiple parameter files. now I mount/open the database
    with one parameter file. Then how can i know by which file i
    open/mount database. Is this info stored any where in database.
    No I don't think so.
    What you can do is to change in each parameter file maybe the
    shared_pool_size to a different value and start the db and see
    which one you are using, but this not the best way, but it works.

  • Maxdb parameter file corrupt

    Hello Experts,
    The file system /sapdb/data was 100% full some time ago, and since then we cannot start one of the database instances anymore.
    When trying to start the instance it returns:
    dbmcli -U c_J2EE db_start
    ERR -11608 COMMUNIC sql03_request: wrong connection state, state is 'requested'
    Error! Connection failed to node sapwd2 for database WD2:
    connection broken
    In the file /sapdb/data/wrk/dbmsrv_nlbsf02.prt I find the following lines at the time of error:
    2009-02-18 14:04:00 0x00002a05 INF          1 DBMSrvCo A DBM Server client connection was established at 2009-02-18 14:03:59 (client process has process ID 10755 on computer sapwd2.bsf.bouwstenenfabriek.nl).
    2009-02-18 14:04:00 0x00002a05 ERR     -24700 DBMSrv   ERR_DBMSRV_NOSTART: Could not start DBM server.
                        0x00002a05 ERR     -24840 DBMSrv   ERR_NODBMLOGGER: DBM logger could not be initialized
                        0x00002a05 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                        0x00002a05 ERR      20062 RTE      RTE error checksum does not match, parameter file may be corrupt
                        0x00002a05 ERR     -24994 DBMSrv   ERR_RTE: Runtime environment error
                        0x00002a05 ERR      20062 RTE      RTE error checksum does not match, parameter file may be corrupt
    2009-02-18 14:04:00 0x00002a05 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 10755 on computer sapwd2.bsf.bouwstenenfabriek.nl).
    However, there is no indication which parameter file is corrupt. There is nothing written in directory /sapdb/data/wrk/WD2 when I try to start, so the KnlMsg file does not change either.
    My question is for which parameter file is the checksum not correct? Is there a way to fix this parameter file?
    I have searched google and SDN but not found anything usefull so far.
    Rob Veenman
    SAP Basis

    > However, there is no indication which parameter file is corrupt. There is nothing written in directory /sapdb/data/wrk/WD2 when I try to start, so the KnlMsg file does not change either.
    >
    > My question is for which parameter file is the checksum not correct? Is there a way to fix this parameter file?
    > I have searched google and SDN but not found anything usefull so far.
    >
    Hi Rob,
    there is just one parameter file for each MaxDB instance - the currently active one.
    It's the file /sapdb/data/config/<SID>.
    As your current file seems to be damaged, you may rename it and run a
    param_restore 1
    to get the last backed up version of it back.
    ATTENTION : If you modified the volume configuration before the file got corrupt and no backup version of the parameter file had been created since than,  restoring the old version will make your database unstartable.
    The missing volume configuration parameters would then need to bee added manually again.
    regards,
    Lars

  • Parameter file not found in the location as specified by infa workflow log

    Hi,
    I am unable to find the Parameter file in the location, /u01/obi/inf_svr/server/infa_shared/Temp/SDE_ORA_APTransactionFact_ExpenseDistribution_Full_vxqbGa, as specified in the Informatica workflow log. But Informatica maps are succeeding without any error. Also Parameter file location specified by DAC is different ie /u01/obi/inf_svr/server/infa_shared/SrcFile and proper parameter file exist in this location. Please someone help clarify what is happening here and how the maps are succeeding with the parameter file as specified in th workflow log.

    How to configure the task(Informatica workflow) which contains two sessions in it?
    Because I found a recommendation that every workflow should have only one session in it and the session name must be same as that of workflow name. But my requirement is, I have to configure a workflow in DAC which contains two sessions in it.
    Thanks a lot in advance for all your help sir.

  • Problem with initialization environment files

    I'm trying to get a .profile file to work in my login environment, but it just doesn't want to cooperate. I get errors on just about everything. In fact, the only thing I've been able to get to work is the echo command. It doesn't matter whether or not I use fully qualified paths for the commands or not. Here's a short list of some of the problems.
    1. Blank lines generate the following error...
    : command not found
    2. pwd command generates the following error...
    : command not found
    3. /bin/ls command generates the following error...
    : No such file or directory
    4. Echoing the PATH environment variable actually works...
    /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
    BTW, these commands work just fine from the command line. But if I manually run .profile, or have it run automatically when I launch a terminal window, these errors appear. I'm very familiar with command line interfaces as I've used a multitude of shells over the years in both Solaris and Linux environments. I just don't get what's going on with the Mac. Searching with Google has also drawn a blank, so far. I'm hoping someone has a simple answer for this.

    First, by any chance did your .profile get transferred to your Mac via a Windows system so that it is now <CR><LF> terminated. That will mess up just about every Unix shell
    Here are the steps I used to initially get my environment files over to the Mac.
    1. Created a tar file on a linux platform with my pre-existing environment files.
    2. Tar file was compressed with gzip.
    3. Compressed tar file was then burned to CD.
    4. CD loaded onto a Windows platform.
    5. From Windows platform, tried to email tar file to myself but it was too big to send.
    6. From Windows used WinZip to uncompress and open the tar file.
    7. Extracted the contents to a folder.
    8. Removed unnecessary files from folder to make result smaller. Also split contents of folder into multiple folders.
    9. Used WinZip to zip new folders containing necessary files into multiple zip files.
    10. Emailed zipped files to my home email account.
    11. Opened email from Mac and downloaded zip files.
    12. From a terminal window unzipped files using /usr/bin/unzip.
    13. Copied environment files to home directory with a cp –pr command.
    14. Disabled all environment files (by adding different file extensions) so I could begin experimenting with what I needed to change.
    15. Started with the .profile file by commenting out most of the file and leaving just a few commands. This is when my problems began. BTW, I used xemacs to edit the file. Xemacs was download and installed via Macports a while back in preparation for creating a development environment for myself. Getting my login environment going was my next step in the process.
    16. Since I couldn't get it to work, I then put nothing but some simple shell commands in the .profile to see what would happen. Commands like pwd, ls, and echo. And as I explained in the original post, the only thing that worked was the echo command.
    Looking at the preceding steps, the files were never opened on the Windows platform… is it possible that the WinZip steps caused <CR><LF> characters to appear somehow? Or, is it possible that xemacs messed up my file? I use emacs and xemacs all the time on linux and solaris systems with no such problems. Actually, at one point in my messing with the .profile file, in frustration, I decided to open it with vi. I hate vi, but know just enough to be dangerous. What I did was to remove a blank line (remember, blank lines are generating errors too) and insert another one. I figured vi is about as basic and primitive an editor as you can get. So, if any funny control characters are present, that should at least alleviate the problem. Unfortunately, even that still generated the same error.
    Have you tried a simplified .profile?
    Yes. See #16 above.
    Do you have more than one shell initialization file. Bash will look for
    .bash_profile
    .bash_login
    .profile
    in that order and use the first one it finds, then stop looking. If you any of the 2 earlier initialization files, bash will not bother looking at your .profile
    No, I do not have more than one initialization file... at the moment. And yes, I know what bash looks for, and in what order. At the moment I am only using a .profile just to see if I can get things working. See #14 and #15 above.
    I am assuming your shell is 'bash', the current Mac OS X default, however, if you started using Macs back in the Jaguar days, and have just been upgrading, then you shell might be tcsh, which would not even look at .profile, and trying to run it interactively would generate strange results when interpreted by tcsh.
    And of course, it is always possible you intentionally changed your shell. If you did that would be useful information. I suspect you did not, but I figured I would ask.
    Yes, I'm using the bash shell. $SHELL returns /bin/bash, and $0 returns -bash.
    If your lines end in ^M, then your .profile has been DOS'ified.
    Ok, I did the cat command you've suggested. BTW, thanks for the options on the cat command. I didn’t realize cat had options to show special characters. I’ve used it for years and never really looked at the man page on it. I believe there is also a way to see control characters within xemacs, but I can’t remember how to do that.
    Anyway, the file is definitely showing ^M characters. My first question is, is ^M the same as <CR><LF>? The reason I ask is it may have been xemacs that put those there, or they may have already been there from the files I transferred from the linux platform. I'm pretty sure xemacs uses ^M's because whatever mode I was able to put xemacs in in the past to see control characters, I'm about 99% sure I've seen all lines ending in that. Of course, that brings me to my next question. If that's true, why do these files work on linux and solaris platforms and not OS X? Like I said, I do most of my editing with xemacs, and I know the environment files were originally created on the other platforms using xemacs.
    If you have any ideas on these questions, please enlighten me. In the mean time, I'll play around with trying to get rid of the ^M's to see what happens. Not sure how I'm going to do that though since I'm not that familiar with a lot of other editors, so I wouldn't know how to load the files and remove the invisible ^M characters. I also really do not want to hand type in all my environment files if this turns out to be the problem. And if I use xemacs to perform the editing, then it'll just save the file with ^M's anyway.
    Thanks for your help.

  • Instance started with pfile or spfile?

    How to know which parameter file used for start the instance?

    SQL> show parameter spfile;
    NAME TYPE VALUE
    spfile string /oracle/product/10.2.0/db_1/db
    s/spfileneon.ora
    if you get the path under the VALUE column, it means that you have used spfile to open the db..

  • Freezing Finder with PSD/TIF files - HELP!

    Hello everyone,
    First of all, I am pretty much ******. I've invested over 2400€ for my brand new Imac and now, out of nothing, my finder in Snow Leopard OSX 10.6.4 starts to hang/freeze whenever I get into the folder with large PSD/TIF files.
    It started with large TIF files. I have placed them along with other PSD projects and they range about 50-300MB each. These files are in a specific project folder. Now I get into the folder, and it doesn't matter how I view it. Either in list or symbol view. I scroll down, bam! Pizza of death or wheel of death, and no, I am not able to force quit the finder.
    I am like what the ****..?! I just swapped over to the Mac. I just fell the love of the Mac slogan: "It just works". Yeah, I can feel it..
    I've installed Xee image viewer before, deleted it again, no change. I even deleted Norton Anti Virus, no change, problem still exist. I've been up till around 5AM with no sleep, trying to figure out what has caused this problem. I think loosing it. I googled like mad, but there were no significant solutions.
    HOWEVER, if I start up Pathfinder, and go to the projects folder, I can seamlessly view all project files PSD/TIF within the Finder and quicklook. It wont hang OSX. This is my current solution... but I don't want to use PathFinder all the time, just to get to my projects folder.
    I really need your help. (x_x)
    Thanks

    Wow, that was a fast response, thank you.
    I did remove Norton after the incidence, and yet, the problem exist.
    I used to open my project files with Photoshop CS5. Before I open anything, I browse through my project data within the Finder, i.e list view + quick view, I just scroll up and down within the window to check out the data name before I open it.
    Everything works just fine. I used to use Xee image viewer and I can literally open and view any image. But as soon the files get larger in size, and the more files I got in one folder - like 100+, the more it was likely, that my Finder hangs. And it still does.
    It starts to freeze immediately within seconds or when I scroll down more and there it goes, spinwheel goes nuts and I have to restart my Imac (omg). I did that like 8-10 times now. I left my Mac on when I went to bed for 2h, and after I checked it again, the spinwheel didn't do anything then spin and I could not quit Finder. Everything hangs.
    All I need to do, is to open my Projects folder, and boom, freeze. I thought it was due to the large TIF files. I deleted them via Adobe Bridge, because I can't go to that folder with Finder, otherwise it'll freeze AGAIN. Now I had the PSD files left, they are about 50-300MB big, and I got around 100 of them in one folder. Issue still remains.
    I deleted almost everything, checked my startup icons and so forth, but I did not have the problem before, or I didn't notice it.
    I can however browse lots of PSD files with smaller sizes AND as I mentioned in the above post. I can view my project folder with PATHFINDER and ADOBE BRIDGE with absolutely NO single problem.
    I guess it's a Finder-Preview-PSD Extension- etc problem? I got the Mac like a month and now I got this. Gladly no one can tell me I got this issues due to some weird Trojans or "badly configured" computer.

  • Cluster Node parameter file

    Hi all,
    I have two node cluster. should i set the remote_login_passwordfile=exculsive or share. I think in RAC environment we can have remote_login_passwordfile share or exclusive. under share mode where will be place the init.ora file to be shared by all the instances. Under exclusive mode we can have instance with different configurations. Is my understanding right?
    regards
    NICK

    You are confusing password file with initialization parameter files.
    remote_login_passwordfile deals with sharing of password file among different databases (not instances).
    If you want to share init file in RAC, you should create local init files on each node that will be pointing to a single spfile in the shared location.

Maybe you are looking for

  • Problem importing CDs into iTunes

    iTunes breaks some of my  imported CDs into multiple folders/albums. How can I combine these back into one album? I have tried drag/drop, but that does not work.

  • Screen sharing and remote management no longer working after some uptime

    Server is withoiut monitor. Users need to login via screen sharing from time to time. "Enable screen sharing and remote management" is ticked in Server.app everything is working fine (for days, weeks). ARD reports "Screen Sharing Available", so remot

  • 2nd Gen iPod Nano - Impossible Restore

    I recently bought a used 4gb 2g nano and had it working fine. Forgettiing that it needed itunes 7 to work, I formatted it in hope it would would with itunes 6. Remembering this, I had to install itunes 7, bringing me to my problem... When I try to re

  • UDF are not populating in design console

    Hi, I have created UDF in admin console and mapped then in self service form as well. Fields are now reflecting in the user creation form. I have also published the sand box but these fields are not populating in design console. Please help me in res

  • How could become my iPhone runs on all networks

    How could become my iPhone runs on all networks