Create pfile from spfile when oracle in idle mode
Create pfile from spfile when oracle in idle mode
from where it creates pfile?? note:-oracle is in idle stage..
Since you are asking for creating PFILE so I think below text will answer your question :
If you do not specify spfile_name, then the database uses the spfile that is currently associated with the instance, usually the one that was used a startup. If no spfile is associated with the instance, then the database looks for the platform-specific default server parameter file name. If that file does not exist, then the database returns an error.http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_6008.htm#i2072768
Regards
Girish Sharma
Similar Messages
-
Creating Pfile from Spfile while Instance is down
We can create pfile from the spfile of an instance which is currently shut down. Right?
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Apr 12 02:06:52 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
SQL> create pfile from spfile;
File created.Reason why we need it:
We used to have an instance which consumed 5 gb Memory_target and then we shut it down. It was using SPFILE. Now we want to bring up this instance with only 3gb Memory_target. So we are thinking of editing the pfile created using the above method. It should be fine. Right?GarryB wrote:
We can create pfile from the spfile of an instance which is currently shut down. Right?
SQL*Plus: Release 11.1.0.7.0 - Production on Mon Apr 12 02:06:52 2010
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
SQL> create pfile from spfile;
File created.Reason why we need it:
We used to have an instance which consumed 5 gb Memory_target and then we shut it down. It was using SPFILE. Now we want to bring up this instance with only 3gb Memory_target. So we are thinking of editing the pfile created using the above method. It should be fine. Right?Right -
Create pfile from spfile ORA-27037
This always worked on some other Databases I worked in past. however this Database raise error. Here are the steps on how I did it
Old initSID.ora file located in directory below
cd $ORACLE_HOME/dbs
sqlplus / as sysdba...
SQL> create pfile from spfile ;
create pfile from spfile
ERROR at line 1:
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Any idea why this does not work?This is something strange, if the database is using spfile then why there is no value in VALUES column, see below:(like this)
SQL> show parameter pfile;
NAME TYPE VALUE
spfile string ?/dbs/[email protected]
Do you able to see physical file . -
Hi ,
I am trying to create pfile from spfile and getting this error.
Can u pls help me out.
SQL> show parameter pfile;
NAME TYPE VALUE
spfile string ?/dbs/[email protected]
SQL> create pfile from spfile;
create pfile from spfile
ERROR at line 1:
ORA-07393: unable to delete text file
Linux Error: 2: No such file or directory
Additional information: 32
Additional information: 29
Additional information: 3
SQL>
Thanx in advancehi ,
O/P of ls -al is
drwxr-xr-x 43 oracle oinstall 4096 Jan 19 13:26 .
drwxr-xr-x 3 oracle oinstall 4096 Jan 19 12:40 ..
drwxr-xr-x 10 oracle oinstall 4096 Jan 19 13:02 Apache
drwxr-xr-x 5 oracle oinstall 4096 Jan 19 13:06 assistants
drwxr-xr-x 4 oracle oinstall 4096 Jan 19 13:41 BC4J
drwxr-xr-x 2 oracle oinstall 4096 Jan 22 09:44 bin
drwxr-xr-x 5 oracle oinstall 4096 Jan 19 12:52 classes
drwxr-xr-x 10 oracle oinstall 4096 Jan 19 13:02 ctx
drwxr-xr-x 2 oracle oinstall 4096 Mar 30 10:49 dbs
drwxr-xr-x 3 oracle oinstall 4096 Jan 19 12:54 demo
drwxr-xr-x 3 oracle oinstall 4096 Jan 19 12:55 doc
drwxr-xr-x 10 oracle oinstall 4096 Jan 19 13:01 ds
drwxr-xr-x 7 oracle oinstall 4096 Jan 19 13:41 hs
drwxr-xr-x 3 oracle oinstall 4096 Jan 19 13:41 install
drwxr-xr-x 2 oracle oinstall 4096 Jan 19 13:02 jar
drwxr-xr-x 8 oracle oinstall 4096 Jan 19 12:54 javavm
drwxr-xr-x 5 oracle oinstall 4096 Jan 19 12:47 jdbc
drwxr-xr-x 7 oracle oinstall 4096 Jan 19 13:26 jis
drwxr-xr-x 2 oracle oinstall 4096 Jan 19 13:26 jlib
lrwxrwxrwx 1 oracle oinstall 21 Jan 19 12:51 JRE -> /opt/oracle/jre/1
.1.8
drwxr-xr-x 6 oracle oinstall 4096 Jan 19 12:56 jsp
drwxr-xr-x 15 oracle oinstall 4096 Jan 19 13:00 ldap
drwxr-xr-x 2 oracle oinstall 4096 Jan 19 13:35 lib
drwxr-xr-x 5 oracle oinstall 4096 Jan 19 13:26 md
drwxr-xr-x 13 oracle oinstall 4096 Jan 19 13:40 network
drwxr-xr-x 3 oracle oinstall 4096 Jan 19 12:55 oci
drwxr-xr-x 3 oracle oinstall 4096 Jan 19 12:47 ocommon
drwxr-xr-x 16 oracle oinstall 4096 Jan 19 13:41 oem_webstage
drwxr-xr-x 4 oracle oinstall 4096 Jan 19 12:47 oracore
drwxr-xr-x 13 oracle oinstall 4096 Jan 19 12:55 ord
drwxr-xr-x 7 oracle oinstall 4096 Jan 19 13:26 otrace
drwxr-xr-x 4 oracle oinstall 4096 Jan 19 12:54 owm
drwxr-xr-x 8 oracle oinstall 4096 Jan 19 12:55 plsql
drwxr-xr-x 8 oracle oinstall 4096 Jan 19 12:47 precomp
drwxr-xr-x 13 oracle oinstall 4096 Jan 19 13:41 rdbms
drwxr-xr-x 8 oracle oinstall 4096 Jan 19 13:26 relnotes
-rwxr-xr-x 1 oracle oinstall 7448 Jan 19 13:41 root.sh
drwxr-xr-x 3 oracle oinstall 4096 Jan 19 12:47 slax
drwxr-xr-x 5 oracle oinstall 4096 Jan 19 12:48 sqlj
drwxr-xr-x 7 oracle oinstall 4096 Jan 19 12:54 sqlplus
drwxr-xr-x 8 oracle oinstall 4096 Jan 19 13:01 syndication
drwxr-xr-x 12 oracle oinstall 4096 Jan 19 12:56 sysman
drwxr-xr-x 10 oracle oinstall 4096 Jan 19 13:06 ultrasearch
drwxr-xr-x 3 oracle oinstall 4096 Jan 19 13:00 wwg
drwxr-xr-x 8 oracle oinstall 4096 Jan 19 12:47 xdk
and I have seen in my dbs directory also that inittest.ora does not exist.
I have all the permissions on this particular directory.
Pls check into it .
Waiting for the response. -
Macbook air keeps disconnecting from internet when going to sleep mode
New macbook air keeps losing Internet connection when going into sleep mode. Have tried deleting and re adding network and adding DNS 8.8.8.8 still is disconnecting.
Also, since Lion update 2 days ago Internet is very sluggish
HELPPPPPP!!!You're not the only one. See here:
https://discussions.apple.com/thread/3704539?start=0&tstart=0
The current fix is to turn off sleep mode or use an Ethernet cable. -
How create TO from TR when items are QM relevant?
I am using function module L_TO_CREATE_TR to create a TO from a TR for raw materials being GR'd into a raw material warehouse.
QM is set up. If I use function module L_TO_CREATE_TR, I keep getting error 2 (QM_relevant). However, if I go through LT04, I would need to go through palletization to bring up the screen in order to choose the place into stock option before entering the bin into which I am placing stock
Is there a way of creating a TO from TR where items are QM relevant with some function without resorting to doing a call transation of LT04?
Any help would be appreciated
Regards
Larissa Maryniuk
Edited by: Larissa Maryniuk on Jan 19, 2010 5:11 PMNot been able to do this. Going down LT04 route
-
Unable to change password from application when Oracle password has expired
I need to know how to change the users
(Oracle 9.0.8) password via Visual Basic (v6.0
SP3) and RDO. If the users password is expired,
the proper error message is returned, but because
the user isn't connected to the database, I
cannot change the password with the "ALTER xxx
IDENTIFIED BY xxx" sql. Anyone got any
suggestions??you have to unlock it with some other user with the alter user privilege (e.g. sys or system), or (if you use OID) some user with DAS privileges.
-
Cannot delete songs from iPod when in manual update mode
Hi
I am using iTunes 7 and i'm trying to delete some songs just from my iPod and i have always used the manual update option.
The problem is when i go into the songs on my iPod and go into a playlist and try to delete the songs within a playlist it won't let me. BUT when i search for those same songs within my iPod library (library shows all songs on the iPod) i can delete them.
So my problem is i cannot delete songs within playlists just from my iPod. I know that deleting the playlist on the left hand side navigation bar will still keep the songs there, it will only delete the actual playlist.
Also when i select a song(s) the edit menu is all greyed out except for copy.
Can anyone help please.
iPod 5th Generation + iTunes 7 Windows XP Pro
Windows XP Pro
Windows XP ProTry using the key combination Shift-Delete when deleting from a song from a playlist, this will delete it from the library as well.
-
I am using Photoshop CC (2014) and I can not get the screen to stop flickering even when I set the graphics processing drawing mode to basic ( which is what other people have suggested to do). I am using windows 8.
Update your video card driver from the GPU maker's website.
-
I am trying to create pfile from spfile from RMAN scripts as follows, but ran into issues
run {
2> sql 'create pfile=/tmp/p.ora from spfile';
3> }
sql statement: create pfile=/tmp/p.ora from spfile
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 02/20/2009 11:23:06
RMAN-11003: failure during parse/execution of SQL statement: create pfile=/tmp/p.ora from spfile
ORA-02236: invalid file name
Any other suggestions to get the desired results. I want to create pfile in a different directory rather than defualt dbs directory.stevencallan wrote:
How would this command look in SQL*Plus?
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6008.htm#i2072768
Check your use of quotation marks.NO...read what you said.
What does SQL*Plus have to do with this command. You mentioned quotations marks...what kind of quotation marks..single or double and where should there be ?? -
hi ,
my databae is oracle 10g.i am trying to create pfile from spfile by mentioning the path of pfile.but iam getting error
ERROR at line 1:
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
i am not understanding. i have no pfile.
can any one help meGo inside the location ORCLE_HOME/dbs
ther you will see the spfile then query by the location creat pfile from spfile.
If you have any confusion let me know i will glad to help you. -
Problem creating pfile on a shared drive directory.
Gurus,
I am trying to create a pfile from spfile on a shared drive and I am getting the below error. This is a 10g databases on windows 2003 server with the ASM.
SQL> create pfile='\\dev_server\c$\temp\initstandby.ora' from spfile;
create pfile='\\dev_server\c$\temp\initstandby.ora' from spfile
ERROR at line 1:
ORA-09210: sftopn: error opening file
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.
I gave full permisions to every on the temp directory and still I am having the issues.
Any help is appreciated.Yet again an example of how easy it is to become 'guru': simply read the documentation and you will be one, because almost all people asking questions here are asking doc questions.
To make this work you need to make sure the OracleService<SID> is running as a domain administrator account.
By default Oracle runs using the local administrator, which doesn't have access to remote drives.
For further details see oradim runas= etc.
Sybrand Bakker
Senior Oracle DBA -
ORA-19507 when restoring pfile from autobackup
Hey,
We're testing our disaster recovery process and recently installed netbackup 5.1 on a AIX 5.3 server. Our database is 10.2.0.4.
We've imported the tapes, seemingly successfully. Now we are trying to restore the pfile from an autobackup of the spfile. RMAN finds the appropriate file in the netbackup catalog, but can't read it, it seems. The tape device is a standalone drive. I've tried loading the tape at various points in the process, to no avail. Any ideas? Here's the stack:
RMAN> run
2> {
3> ALLOCATE CHANNEL c1 DEVICE TYPE sbt;
4> RESTORE SPFILE TO PFILE '?/dbs/initchs2qual.ora' FROM AUTOBACKUP;
5> SHUTDOWN ABORT;
6> }
allocated channel: c1
channel c1: sid=37 devtype=SBT_TAPE
channel c1: VERITAS NetBackup for Oracle - Release 5.1 (2004043014)
Starting restore at 05-NOV-09
channel c1: looking for autobackup on day: 20091105
channel c1: looking for autobackup on day: 20091104
channel c1: autobackup found: c-4162663984-20091104-00
released channel: c1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/05/2009 14:27:28
ORA-19870: error reading backup piece c-4162663984-20091104-00
ORA-19507: failed to retrieve sequential file, handle="c-4162663984-20091104-00", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
Failed to open backup file for restore.
Thanks,
Billoracle@CB-BCC-2$oerr ora 27029
27029, 00000, "skgfrtrv: sbtrestore returned error"
// *Cause: sbtrestore returned an error. This happens when retrieving a
// backup file during a restore operation.
// *Action: This error is returned from the media management software which is
// linked with Oracle. There should be additional messages which
// explain the cause of the error. This error usually requires
// contacting the media management vendor. -
Error Received When Trying To Create DSN From The Command Line
All,
Your help is greatly appreciated in advance. I am having trouble packaging Oracle 10G for a batch file deployment. Everything is done except for getting the DSN created which is causing me major problems. We am working with the Oracle 10G R2 10.2.0.1.0 Client on Windows XP Professional SP2. The Oracle database resides on a Windows 2000 Professional Server SP4 running Oracle 9i.
Our Environment: I am creating two packages of the Oracle 10G client. The first is for a batch file distribution via LANDesk and the other package is for normal batch file install if someone from IT is installing this from a user's desk. Both scripts are really identical the only differences are how they are laid out. I only need help with the DSN creation as everything else is ready to go. I am going to focus on the Non-LANDesk batch file as once I fix this in one script the other one should also be fixed.
The Problem: The batch script copies the neccesary files to the temporary directory. I then extract the setup files to the temp folder. I run a custom Oracle install using the RSP file from a recorded install. After the install is complete I copy the TNS Names file to the proper location. I then try to call a CMD file with the ODBC command seen below the main script.
Script (May be easier to read if you download using link below):
@ECHO ON
::This batch files installs Oracle 10G Release 2 Version 10.2.0.1.0 with a Custom Response File
::Installation is Interactive
::All files are extracted from the ZIP file via the 7-Zip command line tool
::The Net Configuration Assistant TNS Names File is copied to its proper location
::The CCR ODBC connection is created once the install is complete
::All folders used for installation are cleaned up-deleted
@ECHO Setting Variables
set NetworkPath=\\dc-landesk\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
set DefaultPackagePath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
set ExtractionPath=C:\Temp_Oracle10G
set TempInstallFromPath=C:\Temp_Oracle10G\SetupFiles
set FileFolderCleanupPath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent
@ECHO Creating Directories
mkdir "C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD"
@ECHO Copying Files to DefaultPackagePath
copy /Y "%NetworkPath%\7za.exe" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\CCR-ODBC.cmd" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\Oracle10GCustom.rsp" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\SetupFiles.zip" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\tnsnames.ora" "%DefaultPackagePath%"
@ECHO Changing to Extraction Directory
cd "%DefaultPackagePath%"
@ECHO Extracting Files to path with no spaces
"%DefaultPackagePath%\7za.exe" x SetupFiles.zip -o%ExtractionPath% -aoa
@ECHO Please Open the "Task Manager" manager, Sort by "CPU" Descending
@ECHO Watch Task Manager For Javaw.exe, press any key when the process Disappears
@ECHO Install using Custom Response File
"%TempInstallFromPath%\setup.exe" -responseFile "%DefaultPackagePath%\Oracle10GCustom.rsp" -force -silent -noconsole
pause
@ECHO Copying NETCA (Net Configuration Assistant) TNS Names File to proper Location in Oracle Product Directory
copy /Y "%DefaultPackagePath%\tnsnames.ora" "C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora"
@ECHO Creating ODBC Connections Using Oracle Driver installed by this Batch File
call "%DefaultPackagePath%\CCR-ODBC.cmd"
@ECHO Waiting 20 seconds before proceeding
ping -n 21 127.0.0.1 >NUL
@ECHO Remove Temp Files and Folders created during Install
rmdir /S /Q %ExtractionPath%
del /Q "%DefaultPackagePath%\*.exe"
del /Q "%DefaultPackagePath%\*.ora"
del /Q "%DefaultPackagePath%\*.rsp"
del /Q "%DefaultPackagePath%\*.reg"
del /Q "%DefaultPackagePath%\*.zip"
rmdir /S /Q %FileFolderCleanupPath%
@ECHO The Oracle 10G installation has been Completed
pause
ODBC Script
odbcconf.exe /a {CONFIGSYSDSN "Oracle in OraClient10g_home1" "DSN=CCR|Description=CCR_data|SERVER=BWB|Database=CCR"}
As soon as the command is called I see the following error message appear.
"CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259"
The really strange thing though is that if I let the main part of the script run (Not the ODBC call) and then immediately manually start the ODBC call script it works just fine. So, I don't really understand why the script can't add it itself. Or, I can go the Administrator Tools>Data Sources (ODBC)>and then add it manually which also works. I have tried just pasting the command directly in the main script, therefore, bypassing the call feature but it doesn't make a difference.
Link (Zip with all scripts mentioned above): http://www.cbridegum.com/Fourms/Oracle/Files.zip
Has anyone ever seen this kind of issue before? Does anyone have any idea on how to fix this? Any thoughts or suggestions would be great.
Thanks so much for your help in advance,
Clif BridegumAll,
I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
Thanks,
Clif Bridegum -
Is it possible to create data control from wsdl when complextype is used
Getting DCA-40015 error when trying to create a data control from WSDL file.
The error clearly says complextype is not supported . just trying to see if there are any workarounds . because creating data control will save time in developing user interface by dragging and dropping the the data control in jsf page. jdeveloper webservice tester is able to create user interface for me based on wsdl when i run it , trying to develop the user interface using jsf pages
oracle.adf.model.adapter.AdapterException: DCA-40015: Failed to create the structure for schema element "result". The complex type definition of the element is not supported.Hi,
I could reproduce what I did:
- created WebService from custom Pojo Model
- Made sure all entities implemented serializable
- In the WebServices Wizard, I created XML representations for my entities
- tested with OC4J WebServices tester
- Built ADF data control from WSDL file of deployed WebService
- Created dependency t project containing the POJO entities
- Selected result.xml of each method exposed in the WebService project
- In the structure window, selected "item" (result-->item)
- changed Bean class to my entity class name (absolute name)
This showed my entity in the DC palette
Frank
Maybe you are looking for
-
System monitoring - DSWP and RZ21
Hi all, I am using sap solution managers workcenter "System monitoring" to set up the sap monitornig for a huge landscape. This works well, but to receive alerts (e.g. per mail) I additionaly have to do the settings in RZ21 (assign central autoreact
-
Bean works slow than a Java class
Hi, I am trying to zip a file using beans that gets the parameters from jsp. I tried the same block of code as a Plain java class it does the zip action very fast but the same code when executed with bean does the zip action very slow, can some body
-
Hi OBIEE Guru's, Could any one can explain the time dimension. My requirement is :I have one DB table which contain the year column it is dimension table and another fact table contain the amount respective years,So I need to display records in a sin
-
I want one JSP which can handle the Hierarchy of links
Current System EZStore page has a feature that allows static page content distribution to the store users. Currently this hierarchy information is stored in a database table and the content is stored in a directory on the web server. When changes are
-
Flame won't boot after update (1.4)
Hello, I was running nightly FFOS 1.4 on my Flame for last month. Today, after update and reboot, phone boots into recovery mode. It looks like fastboot (I can see only ThunderSoft(r) logo) but I can't see phone listed with fastboot command. It does,