Starting database using PFILE
Hello, Gurus.
I am a newbie to Oracle. Need to modify the paramters for database, so the use of Pfile is required. But even the Pfile created by oracle is not working correctly.
Below shows the error messages:
SQL> create pfile='C:\responsefiles\oraclesetup\win\pfileoXXbg.ORA' from spfile;
File created.
Now when I am trying to use this file to start the instance, I am getting the error:
C:\Windows\system32>oradim -STARTUP -SID OXXBG -STARTTYPE inst -PFILE 'C:\responsefiles\oraclesetup\win\pfileoXXbg.ORA'
ORA-01078: failure in processing system parameters
I have not modifed or put any comments in the above file, so could not understand the reason for error mesaages. I can start the instance without using PFILE option.
Any ideas are welcome.
Edited by: 808116 on Nov 7, 2010 9:50 PM
Hello,
I have tried below:
C:\ORACLE\product\11.2.0\dbhome_1\BIN>set ORACLE_SID=O22BVGI
C:\ORACLE\product\11.2.0\dbhome_1\BIN>sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 9 10:43:52 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
SQL> connect / as sysdba
Connected to an idle instance.
SQL> startup pfile='C:\responsefiles\oraclesetup\win\PFOXXXXGI.ORA'
ORACLE instance started.
Total System Global Area 417546240 bytes
Fixed Size 2176328 bytes
Variable Size 306186936 bytes
Database Buffers 100663296 bytes
Redo Buffers 8519680 bytes
Database mounted.
Database opened.
SQL> create spfile from pfile
2 ;
create spfile from pfile
ERROR at line 1:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file
'C:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\INITOXXXXGI.ORA'
SQL> startup force
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file 'C:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\INITOXXXXGI.ORA'
SQL>
Here, it seems to me that the instance has started, using the pfile I have mentioned.
But when I tried to log into it, it is showing me errors:
C:\ORACLE\product\11.2.0\dbhome_1\BIN>sqlplus SYS/password@OXXXXGI as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 9 10:54:47 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Enter user-name: system
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Process ID: 0
I think I have messed it up now?
Similar Messages
-
Error while starting database using #dbstart command
Hello everybody...
I have installed Oracle 10G release 2 successfully and also created my database,
But when I try to start the database using #dbstart command I get the following error
Failed to auto-start Oracle Net Listene using /oracle/10gR2//bin/tnslsnr
chmod: modification des permissions de `/oracle/10gR1/startup.log': Operation not permited
Processing Database instance "ASY_DB": log file /oracle/10gR1/startup.log
I modified /oracle/10gR2//bin/bin to /oracle/10gR1/
Then I get the following error...
chmod: modification des permissions de `/oracle/10gR1/startup.log': Op├®ration n
on permise
Processing Database instance "ASY_DB": log file /oracle/10gR1/startup.log
I´m running RedHat Entreprise Linux 4 ES on an i686...
Please can you help me...?
Infos: The database work succesfully with 10g Release 10.1.0
Thanking you...
Message was edited by:
user526029Thanks for your reply...
Below is the content of my /etc/oratab file...
# This file is used by ORACLE utilities. It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.
# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
# The first and second fields are the system identifier and home
# directory of the database respectively. The third filed indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
# Multiple entries with the same $ORACLE_SID are not allowed.
ASY_DB:/oracle/10gR1:Y
~
I wonder if the ORATAB file for 10.2 version is different form the one of 10.1...
Thanks a lot for your help -
Hi,
How could i start database using spfile permanently.In our case it always start database using pfile while starting startup command.
Thanks,$ env | sort
AIXTHREAD_SCOPE=S
AUTHSTATE=compat
A__z=! LOGNAME
ENV_HOME=/vol01/project_oracle/common/etc
HOME=/home/oracle
LANG=en_US
LC__FASTMSG=true
LDPATH=/vol01/app/oracle/product/db/10g/lib:/vol02/rms/dbserver/rms/oracle/lib/b
in
LD_LIBRARY_PATH=/vol01/app/oracle/product/db/10g/lib:/vol02/rms/dbserver/rms/ora
cle/lib/bin
LIBPATH=/vol01/app/oracle/product/db/10g/lib:/vol02/rms/dbserver/rms/oracle/lib/
bin:/vol01/app/oracle/product/db/10g/lib:/vol02/rms/dbserver/rms/oracle/lib/bin
LINK_CNTRL=L_PTHREADS_D7
LOCPATH=/usr/lib/nls/loc
LOGIN=oracle
LOGNAME=oracle
MAIL=/usr/spool/mail/oracle
MAILMSG=[YOU HAVE NEW MAIL]
MMHOME=/vol02/rms/dbserver/rms
MMUSER=rms12
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
OBJECT_MODE=64
ODMDIR=/etc/objrepos
ORACLE_HOME=/vol01/app/oracle/product/db/10g
ORACLE_SID=rms
PASSWORD=ahfr_rms
PATH=/vol01/app/oracle/product/db/10g/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home
/oracle/bin:/usr/bin/X11:/sbin:.:
PWD=/tmp
SHELL=/usr/bin/ksh
TERM=ansi
TZ=SAUST-3
USER=oracle
_=/usr/bin/env
$ -
Check the db is using pfile ot sp file
i want to check whether my db is start up using pfile or spfile
thus i
show parameter pfile;
no value was shown
then i
show parameter spfile;
no value was shown here also
So am i right to say that oracle automatically use these files in the order:
spfileSID.ora
spfile.ora
initSID.ora
init.ora
cos when i try out,
show parameter db_create_file_dest;
there is a value i think is reflected from my spfile.
But i use SELECT DECODE(value, NULL, 'PFILE', 'SPFILE') "Init File Type"
FROM sys.v_$parameter WHERE name = 'spfile';
Init F
PFILE
at this point i am confuse... i dun whether is pfile or spfile now.CKPT wrote:
When instance is using PFILE, you cant see the name of the PFILE. You can check in $ORACLE_HOME/dbs/init<sid>.ora
If instance using SPFILE, then you can see complete name by "show parameter spfile".oh you mean show parameter pfile = no value is ok... i c i c
yea when i :
show parameter spfile = nothing so i :
SQL> create spfile='C:\oraclexe\app\oracle\product\11.2.0\server\database\SPFILEXE.ORA' fr
le\product\11.2.0\server\database\INITxe.ORA';
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 230690504 bytes
Database Buffers 297795584 bytes
Redo Buffers 5791744 bytes
Database mounted.
Database opened.
SQL> show parameter spfile;
NAME TYPE VALUE
spfile string C:\ORACLEXE\APP\ORACLE\PRODUCT
\11.2.0\SERVER\DATABASE\SPFILE
XE.ORA
i am confuse cos in win, the these files init.ora and spfile are in the ' database' folder and not the dbs folder (unix) But i was using 11g xe and i also see spfileMYSID.ORA in the \dbs folder which i understand is in (unix) version.
hmmmm .... . so now i just change it to using the \database folder. -
Srvctl change OS user during start database
Scenario:
Aix 7.1
Oracle Grid Infrastructure Standalone Server 11.2.0.3
Patch 16083653: GRID INFRASTRUCTURE PATCH SET UPDATE 11.2.0.3.6 (INCLUDES DB PSU 11.2.0.3.6)
Oracle RDBMS Single Instance Installation 11.2.0.3
Patch 16056266: DATABASE PATCH SET UPDATE 11.2.0.3.6 (INCLUDES CPUAPR2013)
Patch 16036950: N-APPLY PATCH 11.2.0.3 FOR CRITCAL AIX BUGS BUNDLE #1
Owner of Grid Install is grid11g
Owner of RDBMS Install is ora11g
After install both binaries and patches, i created +ASM instance and Diskgroups using raw device (OS user grid11g).
Using DBCA i created a single instance, executing all scripts in manual mode (OS user ora11g).
Add instance to clusterware using:
srvctl add database -d "$SID" -o /ora11g/app/product/11.2.0.3/$SID -p "+DG_$SID_DATA/$SID/spfile$SID.ora" -n "$SID" -a "DG_$SID_DATA"
My problem is:
When i start database with logged user ora11g using command: srvctl start database -d $SID, all process of instance are started with grid owner install (grid11g).
output of ps -ef | grep $SID
grid11g 5439526
1 2 21:04:53
- 0:00 oracle$SID (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid11g 5963952
1 0 21:04:35
- 0:00 ora_dbw4_$SID
grid11g 6488118
1 3 21:04:53
- 0:00 ora_m002_$SID
grid11g 6619268
1 0 21:04:35
- 0:00 ora_dbw7_$SID
grid11g 6684858
1 0 21:04:44
- 0:00 ora_o001_$SID
grid11g 6881424
1 0 21:04:35
- 0:00 ora_smon_$SID
grid11g 7078066
1 0 21:04:35
- 0:00 ora_ocf0_$SID
But when i start database using sqlplus /nolog;conn / as sysdba; startup open. All process of instance started with correct owner (ora11g).
output of ps -ef | grep $SID
ora11g 5963950
1 0 20:22:16
- 0:00 ora_s000_$SID
ora11g 6619262
1 0 20:22:15
- 0:00 ora_ckpt_$SID
ora11g 7143426
1 0 20:22:16
- 0:01 ora_mmnl_$SID
ora11g 7340278
1 0 20:22:15
- 0:00 ora_dbw6_$SID
ora11g 7536702
1 0 20:22:15
- 0:00 ora_lgwr_$SID
ora11g 7798912
1 0 20:27:30
- 0:00 ora_smco_$SID
ora11g 7930010
1 0 20:22:15
- 0:00 ora_dbw2_$SID
Has anyone had any similar situation?
Thanks for help
Gustavo
Output:
With ora11g
srvctl config database -d $SID
Database unique name: $SID
Database name:
Oracle home: /ora11g/app/product/11.2.0.3/$SID
Oracle user: ora11g
Spfile:
Domain:
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: MANUAL
Database instance: $SID
Disk Groups: DG_$SID_DATA
With grid11g
crsctl stat res ora.$SID.db -p
NAME=ora.$SID.db
TYPE=ora.database.type
ACL=owner:grid11g:rwx,pgrp:dba:r-x,other::r--,group:dba:r-x,user:ora11g:rwx
ACTIVE_PLACEMENT=1
AGENT_FILENAME=%CRS_HOME%/bin/oraagent%CRS_EXE_SUFFIX%
AUTO_START=never
CARDINALITY=1
CHECK_INTERVAL=1
CHECK_TIMEOUT=30
CLUSTER_DATABASE=false
DATABASE_TYPE=SINGLE
DB_UNIQUE_NAME=$SID
DEFAULT_TEMPLATE=PROPERTY(RESOURCE_CLASS=database) PROPERTY(DB_UNIQUE_NAME= CONCAT(PARSE(%NAME%, ., 2), %USR_ORA_DOMAIN%, .)) ELEMENT(INSTANCE_NAME= %GEN_USR_ORA_INST_NAME%) ELEMENT(DATABASE_TYPE= %DATABASE_TYPE%)
DEGREE=1
DESCRIPTION=Oracle Database resource
ENABLED=1
FAILOVER_DELAY=0
FAILURE_INTERVAL=60
FAILURE_THRESHOLD=1
GEN_AUDIT_FILE_DEST=/ora11g/app/admin/$SID/adump
GEN_START_OPTIONS=open
GEN_USR_ORA_INST_NAME=$SID
INSTANCE_FAILOVER=1
LOAD=1
LOGGING_LEVEL=1
MANAGEMENT_POLICY=MANUAL
OFFLINE_CHECK_INTERVAL=0
ONLINE_RELOCATION_TIMEOUT=0
ORACLE_HOME=/ora11g/app/product/11.2.0.3/$SID
PLACEMENT=balanced
RESTART_ATTEMPTS=1
ROLE=PRIMARY
SCRIPT_TIMEOUT=60
SERVER_POOLS=
START_DEPENDENCIES=weak(type:ora.listener.type,uniform:ora.ons) hard(ora.DG_$SID_DATA.dg)
START_TIMEOUT=600
STATE_CHANGE_TEMPLATE=
STOP_DEPENDENCIES=hard(intermediate:ora.asm,shutdown:ora.DG_$SID_DATA.dg)
STOP_TIMEOUT=600
TYPE_VERSION=3.2
UPTIME_THRESHOLD=1h
USR_ORA_DB_NAME=
USR_ORA_DOMAIN=
USR_ORA_ENV=
USR_ORA_FLAGS=
USR_ORA_INST_NAME=$SID
USR_ORA_OPEN_MODE=open
USR_ORA_OPI=false
USR_ORA_STOP_MODE=immediate
VERSION=11.2.0.3.0Hi JollyRoger
At first, I thought it was the command executed with the wrong user and redid the command being careful to be connected with the correct user.
Having the same result.
Following your suggestion, remove database with grid11g user and add with ora11g user. Same result.
I'm thinking of removing the Clustware and RDBMS installation and install infrastructure without patching. After this applying each patches and checking if the user changes. -
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 HiruyaIf 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 -
How to start or shut down database using sql developer in windows
Dear Sir/Madam,
how we start or shut down database using sql developer in windows
we are using oracle 11g release2, unix, java & oracle oracle weblogic administration
Thanks & Regards
Manish Kumar
Datbase Team
TCS Ltd.HI, Welcome to OTN form,
SHUTDOWN is not a SQL statement but a SQL*Plus command . You cannot use SHUTDOWN in PL/SQL.
Check following link:
http://docs.oracle.com/cd/E11882_01/server.112/e16604/ch_twelve042.htm#i2699551
More Information please check OTN discussion: https://forums.oracle.com/thread/2349159
Thank you -
HOW TO START MAKING DATABASE USING ORACLE SQL PLUS in 10g?
how will i create database using sql plus?
does the code of sql applicable to it..?
do i have to use the "create db <database name>", use and " create table also,.."
pls help me..
thanksAt dos prompt :
C:\>set ORACLE_SID=<your SID>
C:\>sqlplus / as sysdba
you get connected as sys user. Don't use this connection to create your own objects, create users instead.... but it would be useful to read some documentation, for example Starting SQL*Plus and manuals mentioned there. -
How to start to use Oracle client to access Database ?
Folks,
Hello. I have just installed Oracle Client into directory /home/myOracle/Oracle_Client. But I don't know how to start and configure the client to access Oracle Database.
Can any folk tell me how to start to use Oracle client to access Database ?user13764998 wrote:
I have earlier managed to install the Oracle Client (32-bit) in 32-bit clients and servers Oracle Client 10.
The reason that it went well before was the exellent setup and configurationprograms we got with that version.It seems you are confusing the "full" Datbase Client with Instant Client.
Now I'm trying to install the Oracle Instant Client 11g R2 both 32-bit and 64 (of the latest revision) on a 64-bit Windows 2008 Server .
I have managed to install the driver but the setup doesn't give me any Net Configuration Assistant or Net Manager to help with the configuration.What setup? Are you not using just the zip files?
What are you installing exactly, i.e. what install media (file) did you download?
So I haven't succeded in configuring it despite I I read the readme-info that comes with the Instant Client files.There's not much to configure - that's sort of the point of Instant Client. Just drop a few files in a folder, set PATH and off you go.
Doesn't <instant client dir>\sqlplus user@'hostname/servicename' work? -
Hi Guru's
how to know database is using pfile or spfile?????????????
THanksselect decode(count(*), 1, 'spfile', 'pfile' )
from v$spparameter
where rownum=1
and isspecified='TRUE'
OR
SELECT DECODE(value, NULL, 'PFILE', 'SPFILE') "Init File Type"
FROM sys.v_$parameter WHERE name = 'spfile';
Regards
Girish Sharma -
Can not start the cluster database using srvctl
Created a RAC database with CRS.
When i start the cluster database with srvctl, it appears that the database is started (i made sure using srvctl status), but when i try to login to the database using sqlplus, i get a message 'connected to idle instance'. if i try to start the database from sqlplus, i get message 'requested INSTANCE_NUMBER is busy!.
any thoughts why i can not connect to the database using sqlplus after i start the database using srvctl?
I stop the database using srvctl and started using traditional sqlplus, it will start with out any problem.
what am i missing?check ur oracle_sid,also try to connect as sqlplus sys/****@prod as sysdba
may be this is due to improper setting of init.ora file.
and post ur sqlplus output here.
Thanks
Kuljeet Pal Singh -
Starting / Stopping Databases using DGMGRL
Hi,
I was previously using Sqlplus to manage my Data Guard environment but I have not converted to using DGMGRL.
I was wanting to check ihow I start/stop my various databases using DGMGRL
For my primary I guess I use
DGMGRL> startup;
Q1. For my logical standby do I use
DGMGRL> startup;
Under sqlplus I then had to
alter database start logical standby apply immediate;
Q2. Do I still need to do this if the Broker is managing the standby ?
Q3. To shutdown the Logical Standby I guess I simply use
DGMGRL> shutdown;
Q4. For my Physical Standby I was using
startup nomount;
alter database mount standby database;
alter database recover managed standby database disconnect;
How does this translate into DGMGRL ?
Q5. To close the Physical Standby I was using
alter database recover managed standby database cancel;
shutdown;
Again how does this translate into DGMGRL ?
many thanks,
JimJimbo wrote:
Hi,
I was previously using Sqlplus to manage my Data Guard environment but I have not converted to using DGMGRL.
I was wanting to check ihow I start/stop my various databases using DGMGRL
For my primary I guess I use
DGMGRL> startup;
Q1. For my logical standby do I use
DGMGRL> startup;
Under sqlplus I then had to
alter database start logical standby apply immediate;
Q2. Do I still need to do this if the Broker is managing the standby ?
Read ozgurumut's link, from before reply
DGMGRL> edit database <standby database> set state='APPLY-ON';
In the default, dgmgrl starting apply process
Q3. To shutdown the Logical Standby I guess I simply use
DGMGRL> shutdown;
Q4. For my Physical Standby I was using
startup nomount;
alter database mount standby database;
alter database recover managed standby database disconnect;
How does this translate into DGMGRL ?
DGMGRL> startup mount;
DGMGRL> edit database <standby> set state='APPLY-ON'; -- it is not need, if stopped apply before shutdown
Q5. To close the Physical Standby I was using
alter database recover managed standby database cancel;
DGMGRL> edit database <standby> set state='APPLY-OFF';
Regards
Mahir M. Quluzade
p.s. ozgurumut I'm very glad see you at OTN forum my friend! -
Cannot start RAC DB using srvctl start database
Hello Fellows,
We used to have a 10.1.0.4 RAC DB on top of CRS 10.1.0.4 on top of Sun cluster 3.1 on both Sun Solaris SPARC 64-bit 5.9 nodes.
We :
- Unregisted the current RAC DB from the 10.1.0.4 CRS.
- Removed the CRS 10.1.0.4 permanently and cleanly
- Installed a new Clusterware 10.2.0.1 and patched to 10.2.0.4 + patch 8705958.
- CRS servcies are healthy and up :
$ crs_status.sh
ora.tibisdb1.LISTENER_TIBISDB1.lsnr ONLINE ....etc for all other services
Now we are trying to upgrade the RAC DB from 10.1.0.4 to 10.2.
When i started the DBUA it i chose the cluster mode and then DBUA tried to startup both DB instances but it failed. To reproduce this, i registed the databse TIBIS with the 2 instances to the CRS and then tried to startup the DB but it failed:
$ crs_status.sh
ora.TIBIS.TIBIS1.inst OFFLINE OFFLINE
ora.TIBIS.TIBIS2.inst OFFLINE OFFLINE
ora.TIBIS.db OFFLINE OFFLINE ...etc
$ srvctl start database -d TIBIS
PRKP-1001 : Error starting instance TIBIS1 on node tibisdb1
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:
SQL*Plus: Release 10.1.0.4.0 ...
Connected to an idle instance.
ORA-00603: ORACLE server session terminated by fatal error
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:IPC init failed with status: 65
ORA-27301: OS failure message: Package not installed
ORA-27302: failure occurred at: skgxpcini
ORA-27303: additional information:libskgxpd.so called
tibisdb1:ora.TIBIS.TIBIS1.inst:libskgxp10.so should reference real implementation.
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> Disconnected
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS1.inst'.
PRKP-1001 : Error starting instance TIBIS2 on node tibisdb2
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS2.inst
BTW, i can open the instances fine through SQLPLUS.
I did a full SRVCTL trace for the command and got the same errors above only.
I also followed also Note :Note : 814896.1
1. cd $ORACLE_HOME/rdbms/lib
2. rename the original library (if exists)
mv libskgxp10.so libskgxp10.so.old
3. Relink to configure UDP for IPC
make -f ins_rdbms.mk rac_on ipc_udp ioracle
4. Check whether the library exists
ls -l $ORACLE_HOME/lib/libskgxp10.so
Same result when try to SRVCTL START DATABASE -D TIBIS
RECENT CHANGES:
- Unregisted the current 10.1.0.4 RAC DB from the 10.1.0.4 CRS.
- Removed the CRS 10.1.0.4 permanently and cleanly
- Installed a new Clusterware 10.2.0.1 and patched to 10.2.0.4 + patch 8705958.
- Try to upgrade/register the 101 RAC DB to 10.2 .
O/S DETAILS:
$ uname -a
SunOS tibisdb1 5.9 Generic_122300-29 sun4u sparc SUNW,Sun-Fire-V240
CLUSTERWARE:
Sun Cluster 3.1
Please advise,
Thank you.
FerasHello,
Thanks first for your following up and trying to help. I appreciate that.
Here is what you suggested :
$ srvctl start instance -d TIBIS -i TIBIS1
PRKP-1001 : Error starting instance TIBIS1 on node tibisdb1
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL*Plus: Release 10.1.0.4.0 - Production on Tue Nov 17 08:57:50 2009
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:Copyright (c) 1982, 2005, Oracle. All rights reserved.
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:Enter user-name: Connected to an idle instance.
tibisdb1:ora.TIBIS.TIBIS1.inst:
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> ORA-00603: ORACLE server session terminated by fatal error
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27504: IPC error creating OSD context
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27300: OS system dependent operation:IPC init failed with status: 65
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27301: OS failure message: Package not installed
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27302: failure occurred at: skgxpcini
tibisdb1:ora.TIBIS.TIBIS1.inst:ORA-27303: additional information: libskgxpd.so called
tibisdb1:ora.TIBIS.TIBIS1.inst:libskgxp10.so should reference real implementation.
tibisdb1:ora.TIBIS.TIBIS1.inst:SQL> Disconnected
tibisdb1:ora.TIBIS.TIBIS1.inst:
CRS-0215: Could not start resource 'ora.TIBIS.TIBIS1.inst'.
$ $ORA_CRS_HOME/bin/crs_stat -p ora.TIBIS.TIBIS1.inst
NAME=ora.TIBIS.TIBIS1.inst
TYPE=application
ACTION_SCRIPT=/oracle/product/10.1.0/db_1/bin/racgwrap
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=600
DESCRIPTION=CRS application for Instance
FAILOVER_DELAY=0
FAILURE_INTERVAL=0
FAILURE_THRESHOLD=0
HOSTING_MEMBERS=tibisdb1
OPTIONAL_RESOURCES=
PLACEMENT=restricted
REQUIRED_RESOURCES=ora.tibisdb1.vip
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=0
STOP_TIMEOUT=0
UPTIME_THRESHOLD=7d
USR_ORA_ALERT_NAME=
USR_ORA_CHECK_TIMEOUT=0
USR_ORA_CONNECT_STR=/ as sysdba
USR_ORA_DEBUG=0
USR_ORA_DISCONNECT=false
USR_ORA_FLAGS=
USR_ORA_IF=
USR_ORA_INST_NOT_SHUTDOWN=
USR_ORA_LANG=
USR_ORA_NETMASK=
USR_ORA_OPEN_MODE=
USR_ORA_OPI=false
USR_ORA_PFILE=
USR_ORA_PRECONNECT=none
USR_ORA_SRV=
USR_ORA_START_TIMEOUT=0
USR_ORA_STOP_MODE=immediate
USR_ORA_STOP_TIMEOUT=0
USR_ORA_VIP=
$ CRS_HOME/bin/crs_stat -p ora.oradb.oradb1.inst | grep ACTION_SCRIPT
/usr/bin/ksh: CRS_HOME/bin/crs_stat: not found
$ $ORA_CRS_HOME/bin/crs_stat -p ora.TIBIS.TIBIS1.inst | grep ACTION_SCRIPT
ACTION_SCRIPT=/oracle/product/10.1.0/db_1/bin/racgwrap
$ ls -ltr /oracle/product/10.1.0/db_1/bin/racgwrap
-rwxr-x--x 1 oracle dba 629 Oct 17 14:23 /oracle/product/10.1.0/db_1/bin/racgwrap
$ more /oracle/product/10.1.0/db_1/bin/racgwrap
#!/bin/sh
# Wrapper script
ORACLE_HOME=/oracle/product/10.1.0/db_1
export ORACLE_HOME
ORACLE_BASE=/oracle/product/10.1.0/db_1
# export ORACLE_BASE if it is set
if [ ! -z "$ORACLE_BASE" ]
then
export ORACLE_BASE
fi
PATH=$ORACLE_HOME/bin:/usr/bin:$PATH
export PATH
# environment variable need to be set for executing
# lsnrctl, agentctl and sqlplus
ORA_RACG_EXEC_ENV="LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH"
export ORA_RACG_EXEC_ENV
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
#_USR_ORA_DEBUG=1
#export USRORA_DEBUG
$ORACLE_HOME/bin/racgmain "$@"
status=$?
exit $status
$Regarding the Oracle SR, they replied yesterday and requested logs..etc. Waiting for their feedback while trying to resolve this.
Please advise.
Thanks,
Feras -
Creation of Logical Standby Database Using RMAN ACTIVE DATABASE COMMAND
Hi All,
I am in confusion how to create logical standby database from primary database using rman active database command.
What i did:-
Create primary database on machine 1 on RHEL 5 with Oracle 11gR2
Create standby database on machine 2 on RHEL 5 With Oracle 11gR2 from primary using RMAN active database command
Trying to create logical standby database on machine 3 on RHEL 5 with Oracle 11gR2 using RMAN active database command from primary.
The point which confuse me is to start the logical standby in nomount mode on machine 3 with which pfile like i create the pfile for standby database do i need to create the pfile for logical standby db.
I done the creation of logical standby database by converting physical standby to logical standby database
I am following the below mentioned doc for the same:
Creating a physical and a logical standby database in a DR environment | Chen Guang&#039;s Blog
Kindly guide me how to work over the same or please provide me the steps of the same.
Thanks in advance.Thanks for your reply
I already started the logical standby database with pfile in nomount mode. And successfully completed the duplication of database. by mentioning the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT parameter.
But i am not able to receive the logs on the above mentioned blog i run the sql command to check the logs but getting "no rows selected"
My primary database pfile is:
pc01prmy.__db_cache_size=83886080
pc01prmy.__java_pool_size=12582912
pc01prmy.__large_pool_size=4194304
pc01prmy.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
pc01prmy.__pga_aggregate_target=79691776
pc01prmy.__sga_target=239075328
pc01prmy.__shared_io_pool_size=0
pc01prmy.__shared_pool_size=134217728
pc01prmy.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/pc01prmy/adump'
*.audit_trail='db'
*.compatible='11.1.0.0.0'
*.control_files='/u01/app/oracle/oradata/PC01PRMY/controlfile/o1_mf_91g3mdtr_.ctl','/u01/app/oracle/flash_recovery_area/PC01PRMY/controlfile/o1_mf_91g3mf6v_.ctl'
*.db_block_size=8192
*.db_create_file_dest='/u01/app/oracle/oradata'
*.db_domain=''
*.db_file_name_convert='/u01/app/oracle/oradata/PC01SBY/datafile','/u01/app/oracle/oradata/PC01PRMY/datafile'
*.db_name='pc01prmy'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=pc01prmyXDB)'
*.fal_client='PC01PRMY'
*.fal_server='PC01SBY'
*.log_archive_config='DG_CONFIG=(pc01prmy,pc01sby,pc01ls)'
*.log_archive_dest_1='LOCATION=/u01/app/oracle/flash_recovery_area/PC01PRMY/ VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=pc01prmy'
*.log_archive_dest_2='SERVICE=pc01sby LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=pc01sby'
*.log_archive_dest_3='SERVICE=pc01ls LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=pc01ls'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='DEFER'
*.log_archive_dest_state_3='DEFER'
*.log_archive_max_processes=30
*.log_file_name_convert='/u01/app/oracle/oradata/PC01SBY/onlinelog','/u01/app/oracle/oradata/PC01PRMY/onlinelog'
*.open_cursors=300
*.pga_aggregate_target=78643200
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=236978176
*.undo_tablespace='UNDOTBS1'
My logical standby pfile is:-
pc01ls.__db_cache_size=92274688
pc01ls.__java_pool_size=12582912
pc01ls.__large_pool_size=4194304
pc01ls.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
pc01ls.__pga_aggregate_target=79691776
pc01ls.__sga_target=239075328
pc01ls.__shared_io_pool_size=0
pc01ls.__shared_pool_size=125829120
pc01ls.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/pc01ls/adump'
*.audit_trail='db'
*.compatible='11.1.0.0.0'
*.control_files='/u01/app/oracle/oradata/PC01LS/controlfile/o1_mf_91g3mdtr_.ctl','/u01/app/oracle/flash_recovery_area/PC01LS/controlfile/o1_mf_91g3mf6v_.ctl'
*.db_block_size=8192
*.db_create_file_dest='/u01/app/oracle/oradata'
*.db_domain=''
*.db_file_name_convert='/u01/app/oracle/oradata/PC01SBY/datafile','/u01/app/oracle/oradata/PC01PRMY/datafile'
*.db_name='pc01prmy'
*.db_unique_name='pc01ls'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=pc01prmyXDB)'
*.log_archive_config='DG_CONFIG=(pc01prmy,pc01sby,pc01ls)'
*.log_archive_dest_1='LOCATION=/u01/app/oracle/flash_recovery_area/PC01PRMY/ VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=pc01prmy'
*.log_archive_dest_2='LOCATION=/u01/app/oracle/flash_recovery_area/PC01LS/ VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=pc01ls'
*.log_archive_dest_3='SERVICE=pc01ls LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=pc01ls'
*.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_max_processes=30
*.log_file_name_convert='/u01/app/oracle/oradata/PC01SBY/onlinelog','/u01/app/oracle/oradata/PC01PRMY/onlinelog'
*.open_cursors=300
*.pga_aggregate_target=78643200
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=236978176
*.undo_tablespace='UNDOTBS1'
Kindly advice over the same -
i am having trouble starting my database.
i run the following command
oradim80.exe -startup - sid SID -usrpwd PASSWORD starttype srvc,inst -pfile PFILE
this command executes with no error(or success) messages.
if i check the status of the database using oradim80.exe GUI it states that the service has been started but the instance has not.
any help??
go easy on me since i am a total novice at DBA workCJS_TEST.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <host_name>)(PORT = <port>))
(CONNECT_DATA = (SID = cjst))
if i do "tnsping cjs_test" or "tnsping cjst" i get the same message for both
TNS Ping utility etc.
Copyright Oracle etc.
TNS-03505:Message 3505 not found
when setting the sid i use
set ORACLE_SID=cjst
and can confirm that this is set using echo %ORACLE_SID%
i am running all commands on the database server which is windows NT
Maybe you are looking for
-
IMovie Theater video length limit
Why does iMovie Theater limits you to a 15 minute max video length? Most of my home movies are around 20 to thirty minutes. Seems silly to limit the video to such a short length if you are paying for the iCloud storage for your video.
-
Web items not visable in PDF.
Hi all, I'm using a generic "display"-web template in WAD. Printing, "Print Version" button, this template from a browser the standard analysis and chart are displayed in the PDF output file. If a add a new web item, like Analysis, the browser is sho
-
Hi experts, Need to write to FSpecs. what are the tables/Fields i have to give for the ABAP'er? Cheque Layout Journal Voucher printing Cash payment voucher Cash receipt voucher Remittance/Payment advice for payments to vendor Debit/Credit Advice Ite
-
Running scripts in SQL developer in batch mode (windows 7)
Hi Can anybody share the steps to run a set of SQLs in SQL developer in batch mode in Windows 7 Regards -Learnsequel Edited by: 910874 on Jul 25, 2012 9:13 AM
-
I mean, besides from going into the song's info, is there a different way that I can see the lyrics while listening to the song?