Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
srvctl and spfile

srvctl and spfile

2005-06-07       - By Hameed, Amir


Dear list,
I have setup a two-node RAC and in the process of configuring srvctl to
manage the instances. I have discovered some strange behavior regarding
the way srvctl utility looks for the spfile. The SID names are e52racn1
and e52racn2. The database name is e52rac:
-- I setup the initial configuration with command:
srvctl add database -d e52rac -o /home/oracle/v9i2_otc_e52rac -s
spfile.ora
(Do I need to specify the absolute path for the spfile here?)
-- I then added instance one to the configuration with command:
srvctl add instance -d e52rac -i e52racN1 -n mc0300ux550

-- Finally added the tns_admin path to the above configuration:
srvctl setenv instance -d e52rac -i e52racN1 -t
TNS_ADMIN=/home/oracle/network/admin/e52racN1_mc0300ux550

This is an 11i instance and the autoconfig utility creates the listener
and tnsnames files in a context directory and not in the
$ORACLE_HOME/network/admin

The problem is that when I issue the command "srvctl start instance -d
e52rac -i e52racN1", the database comes up fine but when I use "show
spfile" command from SQL*Plus, it shows me a blank string meaning that
the instance is using initSID.ora file and not the spfile.ora file. When
I rename the initSID.ora file and bounce the instance via srvctl
command, the "show spfile" shows me "?/dbs/spfile.ora" meaning that the
instance is using the spfile. So, it seems that the srvcel utility looks
for the initialization parameters file in the reverse order than what
SQL*Plus uses. When I renamed both the spfile and the initSID.ora files
and tried to bring up the instance via srvctl, I got the following
message:
-- --
PRKP-1001 : Error starting instance e52racN1 on node mc0300ux550
ORA-01078 (See ORA-01078.ora-code.com): failure in processing system parameters
LRM-00109: could not open parameter file
'/home/oracle/v9i2_otc_e52rac/dbs/inite52racN1.ora'
----

Has anyone experienced this behavior with the srvctl utility? Any help
will be appreciated.

Thanks
Amir


--
http://www.freelists.org/webpage/oracle-l