View Full Version : STARTUP Instance with (s)pfile -> invalid character
Joachim Hofmann
06-22-2004, 01:44 AM
Hello,
I try to do a STARTUP by SQL*Plus, but it gives me the following error messages.
By Oracle Enterprise Manager, shutdown and startup works.
SQL> startup pfile=\\C0027\database\SPFILEZWEITEDB.ORA
LRM-00123: invalid character 0 found in the input file
ORA-01078: failure in processing system parameters
SQL>
(9i , Windows2K)
Any Idea?
Thank You
Joachim
Frank van Bortel
06-22-2004, 06:10 AM
Joachim Hofmann wrote:
Hello, I try to do a STARTUP by SQL*Plus, but it gives me the following error messages. By Oracle Enterprise Manager, shutdown and startup works. SQL> startup pfile=\\C0027\database\SPFILEZWEITEDB.ORA LRM-00123: invalid character 0 found in the input file ORA-01078: failure in processing system parameters SQL> (9i , Windows2K) Any Idea? Thank You Joachim
You can't use a network drive, and UNC naming
--
Regards,
Frank van Bortel
Romeo Olympia
06-22-2004, 09:27 AM
Seems to me that you're trying to start the instance by specifying a
spfile (SPFILEZWEITEDB.ORA) in a pfile parameter. Doesn't work that
way.
You start the instance by either:
(1) Using the traditional text parameter file.
STARTUP PFILE={your text init.ora}
(2) Or by a server parameter file.
STARTUP
Joachim Hofmann <speicher@freenet.de> wrote in message news:<40D7FF7C.FD9E5809@freenet.de>... Hello, I try to do a STARTUP by SQL*Plus, but it gives me the following error messages. By Oracle Enterprise Manager, shutdown and startup works. SQL> startup pfile=\\C0027\database\SPFILEZWEITEDB.ORA LRM-00123: invalid character 0 found in the input file ORA-01078: failure in processing system parameters SQL> (9i , Windows2K) Any Idea? Thank You Joachim
Frank van Bortel
06-22-2004, 10:02 AM
Romeo Olympia wrote:
Seems to me that you're trying to start the instance by specifying a spfile (SPFILEZWEITEDB.ORA) in a pfile parameter. Doesn't work that way. You start the instance by either: (1) Using the traditional text parameter file. STARTUP PFILE={your text init.ora} (2) Or by a server parameter file. STARTUP Joachim Hofmann <speicher@freenet.de> wrote in message news:<40D7FF7C.FD9E5809@freenet.de>...Hello,I try to do a STARTUP by SQL*Plus, but it gives me the following error messages.By Oracle Enterprise Manager, shutdown and startup works.SQL> startup pfile=\\C0027\database\SPFILEZWEITEDB.ORALRM-00123: invalid character 0 found in the input fileORA-01078: failure in processing system parametersSQL>(9i , Windows2K)Any Idea?Thank YouJoachim
Hm - missed that; the subject led me to believe an either/or
situation; but you're right; pfile will not read (binary!)
spfile data
--
Regards,
Frank van Bortel
Joachim Hofmann
06-23-2004, 01:31 AM
Romeo Olympia wrote: Seems to me that you're trying to start the instance by specifying a spfile (SPFILEZWEITEDB.ORA) in a pfile parameter. Doesn't work that way.
Or by a server parameter file. STARTUP
Yes, thanks.
How does Oracle know where to look for the server parameter file?
Joachim
Norman Dunbar
06-23-2004, 03:06 AM
On Wed, 23 Jun 2004 11:31:50 +0200, Joachim Hofmann
<speicher@freenet.de> wrote:
Romeo Olympia wrote: Seems to me that you're trying to start the instance by specifying a spfile (SPFILEZWEITEDB.ORA) in a pfile parameter. Doesn't work that way. Or by a server parameter file. STARTUPYes, thanks.How does Oracle know where to look for the server parameter file?Joachim
Morning,
the SPFILE is found on Unix in :
$ORACLE_HOME/dbs/spfileSID.ora
then
$ORACLE_HOME/dbs/spfile.ora
On Windows it is :
%ORACLE_HOME%\database\spfileSID.ora
then
%ORACLE_HOME%\database\spfile.ora
If STARTUP cannot find one of the above, it will drop down to a PFILE
called initSID.ora in the appropriate place. See note 16249.1 for all
the gory details.
You cannot specify a STARTUP SPFILE=, so what you do is this :
create a PFILE which has SPFILE='blah blah' as the only entry then
startup using that.
Cheers,
Norman.
Remove the obvious bit to reply to my email address.
Romeo Olympia
06-23-2004, 09:20 AM
There is a default location for it. In unix, $ORACLE_HOME/dbs; in
windows, $ORACLE_HOME\database.
You can also create or use spfiles in non-default locations if you
want. See the Administrator's Guide for details.
Cheers.
Joachim Hofmann <speicher@freenet.de> wrote in message news:<40D94E06.4A021FBB@freenet.de>... Romeo Olympia wrote: Seems to me that you're trying to start the instance by specifying a spfile (SPFILEZWEITEDB.ORA) in a pfile parameter. Doesn't work that way. Or by a server parameter file. STARTUP Yes, thanks. How does Oracle know where to look for the server parameter file? Joachim
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.