Oracle database shutdown unexpectedly
Hi,
My oracle database shutdown unexpectedly several times this week and the alert log shows the below errors
database shutdown unexpectedly with the folloing messge in alert
Fatal NI connect error 12560, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for 64-bit Windows: Version 11.1.0.6.0 - Production
Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.1.0.6.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.1.0.6.0 - Production
Time: 29-JUL-2012 06:24:48
Tracing not turned on.
Tns error struct:
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
ORA-609 : opiodr aborting process unknown ospid (3948_1704)
Sun Jul 29 06:26:54 2012
Please any help ???
Thanks
943086 wrote:
Thanks
both links descriping the same oracle metalink docs, witch its not applicable
thanksyou are not help us to help you , both metalink that i have been posted talking about windows environment , OTN thread talking about windows environment and seems to me in all links that i have been posted its same alertlog error .
Similar Messages
-
Oracle database shutdown?
we our cuurent oracle product entirment:
1:oracle 10g r2;
2: aix 5.3+ha
3: RAC.
yestoday the one oracle database suddenly shutdown.but I don't know why ?ask for you to help me.
thx a lot !!!
Wed Jan 21 04:45:09 2009
IPC Send timeout detected. Receiver ospid 507958
Wed Jan 21 04:45:19 2009
Errors in file /home/oracle/admin/oradb/bdump/oradb1_lmd0_507958.trc:
Wed Jan 21 04:46:21 2009
Trace dumping is performing id=[cdmp_20090121045228]
Wed Jan 21 04:47:50 2009
IPC Send timeout detected. Receiver ospid 507958
Wed Jan 21 04:47:56 2009
Errors in file /home/oracle/admin/oradb/bdump/oradb1_lHello,
Are these contents from alert.log file? Seems interconnect didn't get ack back in time (240 seconds ) so it rebooted the node. Are you guys having intereconect problem? how are both nodes are conected? Is this the first time you have encountered?
Regards -
Automated Oracle Startup & Shutdown
I am trying to get make my Oracle database shutdown and startup
automatically at boot, but am having a hard time getting this to
work properly. I have created a file in /etc/rc.d/init.d called
dbora:
case "$1" in
'start')
su - oracle -c $ORACLE_BASE/admin/bin/dbstart.sh &
'stop')
su - oracle -c $ORACLE_BASE/admin/bin/dbshut.sh &
esac
I also created the following links in EVERY (out of frustration)
/etc/rc.d/rc#.d directory:
lrwxrwxrwx 1 root root 22 Jul 1 10:12 S99dbora -
/etc/rc.d/init.d/dboralrwxrwxrwx 1 root root 22 Jul 1 10:12 K30dbora -
/etc/rc.d/init.d/dboraThe problem does not really appear to be linked to the actual
database shutdown or startup, but rather with LINUX. I have
replaced the contents of dbstart.sh & dbshut.sh with a simple
echo redirect to file to prove this out. Specifically, here is
what is happening:
* Running "dbora start" or "dbora stop" manually always works.
* Neither "dbora start" or "dbora stop" work when booting or
switching runlevels, although the message STARTING DBORA does
scroll past the console.
I have several people look at this here and no one can figure
out why this isn't working. Can you assist?
nullPeter,
Normally the problem here is that the environment is not set, or
is not being set correctly OR that things that Oracle needs to be
available have already been killed (lower run level) or have not
been started (higher run level).
Check that the environment is OK when the dbora script is run and
check that your scripts are called in the right order of things
when moving between run levels.
Regards,
Mark
Pete Petersen (guest) wrote:
: I am trying to get make my Oracle database shutdown and startup
: automatically at boot, but am having a hard time getting this
to
: work properly. I have created a file in /etc/rc.d/init.d called
: dbora:
: case "$1" in
: 'start')
: su - oracle -c $ORACLE_BASE/admin/bin/dbstart.sh &
: 'stop')
: su - oracle -c $ORACLE_BASE/admin/bin/dbshut.sh &
: esac
: I also created the following links in EVERY (out of
frustration)
: /etc/rc.d/rc#.d directory:
: lrwxrwxrwx 1 root root 22 Jul 1 10:12 S99dbora
: > /etc/rc.d/init.d/dbora
: lrwxrwxrwx 1 root root 22 Jul 1 10:12 K30dbora
: > /etc/rc.d/init.d/dbora
: The problem does not really appear to be linked to the actual
: database shutdown or startup, but rather with LINUX. I have
: replaced the contents of dbstart.sh & dbshut.sh with a simple
: echo redirect to file to prove this out. Specifically, here is
: what is happening:
: * Running "dbora start" or "dbora stop" manually always works.
: * Neither "dbora start" or "dbora stop" work when booting or
: switching runlevels, although the message STARTING DBORA does
: scroll past the console.
: I have several people look at this here and no one can figure
: out why this isn't working. Can you assist?
null -
Oracle service to shutdown unexpectly
Hello everyone,
Working on 10g R2/windows server 2003.
What can cause the Oracle service to shutdown unexpectly?
We are having this issue more often now and the event viewer doesn't give us suitable information.
Someone has already had this issue before or heard about?
Thank you for your helpPlease find below the contents of the alerr log file.
Wed Aug 13 04:20:07 2008
Thread 1 advanced to log sequence 271
Current log# 3 seq# 271 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG
Wed Aug 13 06:00:00 2008
Unable to restore resource manager plan to '':
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-00439: feature not enabled: Database resource manager
Dump file d:\oracle\product\10.2.0/admin/orcl/bdump\alert_orcl.log
Wed Aug 13 07:26:52 2008
ORACLE V10.2.0.1.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows Server 2003 Version V5.2 Service Pack 2
CPU : 2 - type 8664, 2 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:3132M/3839M, Ph+PgF:5703M/6229M
Wed Aug 13 07:26:52 2008
Starting ORACLE instance (normal) [i]==> done manually after shutdown by me
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =23
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 190
sessions = 214
sga_max_size = 1476395008
__shared_pool_size = 218103808
__large_pool_size = 0
__java_pool_size = 16777216
__streams_pool_size = 0
shared_pool_reserved_size= 26214400
spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEORCL.ORA
sga_target = 1258291200
control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 620756992
db_cache_size = 16777216
db_keep_cache_size = 385875968
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 8
db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
session_cached_cursors = 200
job_queue_processes = 10
cursor_sharing = FORCE
parallel_min_servers = 2
parallel_max_servers = 0
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
db_name = orcl
open_cursors = 300
optimizer_mode = FIRST_ROWS
optimizer_index_cost_adj = 20
optimizer_index_caching = 100
pga_aggregate_target = 391118848
PMON started with pid=2, OS id=5020
PSP0 started with pid=3, OS id=7640
MMAN started with pid=4, OS id=7208
DBW0 started with pid=5, OS id=1724
LGWR started with pid=6, OS id=2576
CKPT started with pid=7, OS id=2224
SMON started with pid=8, OS id=4576
RECO started with pid=9, OS id=2908
CJQ0 started with pid=10, OS id=2204
MMON started with pid=11, OS id=4200
MMNL started with pid=12, OS id=7444
Wed Aug 13 07:26:54 2008
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Wed Aug 13 07:26:54 2008
alter database mount exclusive
Wed Aug 13 07:26:58 2008
Setting recovery target incarnation to 2
Wed Aug 13 07:26:58 2008
Successful mount of redo thread 1, with mount id 1190354878
Wed Aug 13 07:26:58 2008
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Wed Aug 13 07:26:58 2008
alter database open
Wed Aug 13 07:26:58 2008
Beginning crash recovery of 1 threads
Wed Aug 13 07:26:58 2008
Started redo scan
Wed Aug 13 07:26:59 2008
Completed redo scan
2530 redo blocks read, 411 data blocks need recovery
Wed Aug 13 07:26:59 2008
Started redo application at
Thread 1: logseq 271, block 6905
Wed Aug 13 07:26:59 2008
Recovery of Online Redo Log: Thread 1 Group 3 Seq 271 Reading mem 0
Mem# 0 errs 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG
Wed Aug 13 07:27:00 2008
Completed redo application
Wed Aug 13 07:27:00 2008
Completed crash recovery at
Thread 1: logseq 271, block 9435, scn 9152809
411 data blocks read, 411 data blocks written, 2530 redo blocks read
Wed Aug 13 07:27:00 2008
Thread 1 advanced to log sequence 272
Thread 1 opened at log sequence 272
Current log# 1 seq# 272 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG
Successful open of redo thread 1
Wed Aug 13 07:27:00 2008
SMON: enabling cache recovery
Wed Aug 13 07:27:01 2008
Successfully onlined Undo Tablespace 1.
Wed Aug 13 07:27:01 2008
SMON: enabling tx recovery
Wed Aug 13 07:27:01 2008
Database Characterset is WE8MSWIN1252
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=16, OS id=7280
Wed Aug 13 07:27:05 2008
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Wed Aug 13 07:27:05 2008
Completed: alter database open -
Oracle 10.2..0.3.0 - Database shutdown during connection
Hi,
I have oracle 10.2.0.3.0 with developer 6i as front-end. I can successfully connect to the database from forms6i during the development and runtime but failing to connect to oracle when trying through oracle query builder. It also shutdown the database.
The same problem I am getting when I try to connect through OLEDB or ODBC.
Please let me know what is the problem. Is there something wrong with this version.
Thanks
NasirThere is only one database available and I can connect via SQLPLUS.
I also tried to seach any reason in trace files but only get following line. I dont know if it is related to this issue.
Dump file c:\oracle\product\10.2.0\admin\orcllife\udump\orcllife_ora_1420.trc
Thu Mar 06 14:46:44 2008
ORACLE V10.2.0.3.0 - 64bit Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
Windows NT Version V5.2 Service Pack 2
CPU : 4 - type 8664, 1 Physical Cores
Process Affinity : 0x0000000000000000
Memory (Avail/Total): Ph:1265M/4089M, Ph+PgF:3874M/6788M
Instance name: orcllife
Redo thread mounted by this instance: 1
Oracle process number: 23
Windows thread id: 1420, image: ORACLE.EXE (SHAD)
*** 2008-03-06 14:46:45.056
opiino: Attach failed! error=-1 ifvp=0000000000000000
Thanks -
How to automate the Oracle database start and shutdown process
How we can automate and oracle database start and stop procees with Linux start/shutdown process.
I want to automatically start the oracle database at the time linux server and shutdown the database on shutdown linux server.Hi,
I can share my scripts:
1) /home/oracle/start_oracle.sh
#Script should be ran as Oracle user
cd /tmp
export ORACLE_SID=orcl
export ORACLE_HOME=/oracle/ora9i
lsnrctl start
sqlplus -S /nolog <<ENDSQL
connect / as sysdba
startup
exit
ENDSQL
emctl start dbconsole
isqlplusctl start
NOTE: emctl and isqlplus are optional
2) /home/oracle/stop_oracle.sh
#Script should be ran as Oracle user
cd /tmp
export ORACLE_SID=orcl
export ORACLE_HOME=/oracle/ora9i
isqlplusctl stop
emctl stop dbconsole
sqlplus -S /nolog <<ENDSQL
connect / as sysdba
shutdown immediate
exit
ENDSQL
lsnrctl stop
NOTE: emctl and isqlplus are optional
Then what you need:
1) K91oracle_stop (put it in the desired run level)
#!/bin/bash
# description: Stop Oracle before reboots
su - oracle -c "/home/oracle/stop_oracle.sh" >> /home/oracle/stoporacle.log
2) S91oracle_start (put it in the desired run level)
#!/bin/bash
# description: Start Oracle after reboots
su - oracle -c "/home/oracle/start_oracle.sh" >> /home/oracle/startoracle.log
Bye. -
Shutdown Oracle Database in MSCS Environment
Dear All,
We are facing problem regarding shutdown the oracle database in Cluster Environment. We have installed SAP HA on windows 2003 server and backend database is Oracle.
In order to configure the dataguard we have to create the control file from Primary Database for this purpose we have to shutdown and then startup the database in mount state.
But whenever i shutdown the database from SQL prompt by "shutdown immediate" command and see the status of
database it always remains in open state.
I have tried the following options as well but no success:-
Stop all the instances of SAP and then shutdown the database.
Shutdown the second node and then shutdown the database.
Brought offline the ORACLE<SID> group and then shutdown the database.
Kind RegardsHi,
ORA-12560: TNS:protocol adapter error"
The above error message comes if Oracle Listener service is not running. Start Oracle TNS Listener service, if it is not running.
You can create control file while your Primary Database is ONLINE. Use the below mentioned command to create standby control file and use it for recovery at Standby database.
ALTER DATABASE CREATE STANDBY CONTROLFILE AS '/path/to/controlfile.ctl';
If you want to Start/Stop SAP/ORACLE in MCSC environment then refer the steps mentioned in these threads, [thread1|Re: how to start/stop a MSCS clustered SAP system?; and [thread2|Stop sap and oracle on MSCS;.
Regards,
Bhavik G. Shroff -
How to trace which user shutdown oracle database in unix OS?
our organization is having 10 DBA with sysdba priviladge. We are using UNIX operating system. At morning say for example if some one (SYSDBA user) shutdown the oracle database how other sysdba user trace the user who shutdown the database? the information i need is terminal from where oracle got shutdown and the username? Please help...
Hello,
You are right Sybrand, SYSDBA connections are always audited.
My answer was about enabling auditing to any connections, which may give informations about who access to the Database in general. And, this is true, it was not the scope of the OP question.
However, so as to enlarge audit of SYS/SYSDBA/SYSOPER operations, setting the parameter audit_sys_operations=TRUE may be interesting:
http://download.oracle.com/docs/cd/E11882_01/network.112/e16543/auditing.htm#DBSEG0611
To the OP:
Where the audit tracefile get genareted for sys user?You may execute this:
show parameter audit_file_destThank again Sybrand for correcting me.
Best regards,
Jean-Valentin -
What happen during shutdown oracle database
Dear All,
i have a questions and i enclosed some suggestions for the answer because I'm confused about the answers :
What happens during shutdown oracle database :
and the suggested answer :
1- When shutdown the database with NORMAL or IMMEDIATE option : the database system writes check point before shutting down the database .
2- when you shutdown the database with the IMMEDIATE , option , open transaction are rolled back before the database is shutdown .
3- shutting down the database with abort always requires an instance recovery at the next startup .
please suggest the right answer .
RegardsHi Anwar,
When you close a database, Oracle writes all database data and recovery data in the SGA to the datafiles and redo log files, respectively. Next, Oracle closes all online datafiles and redo log files.
When you terminate the instance of an open database/use abort command to close and completely shut down the database the writing of all data in the buffers of the SGA to the datafiles and redo log files is skipped. The subsequent reopening of the database requires recovery, which Oracle performs automatically.
I hope this will help you out to understand the process. -
Is it mandatory to shutdown oracle database before installing HTMLDB
Hi All,
Is this is must to shutdown the all services like HTTP and others before installing HTMLDB 1.6?If this, then it will be huge impact to deploy the application finally in the production oracle database where parallely others processes and jobs are running.So huge outage might occur.
So is there any other way rather than shutdown oracle database and tnslistener?
Thnx in advance,
Cheers,
EmanAnybody have any idea who install HTMLDB remotely in the production database without shutdown the services ?
-
Help needed to loadjava apache poi jars into oracle database.
Help needed to loadjava apache poi jars into oracle database. Many classes left unresolved. (Poi 3.7, database 11.1.0.7). Please share your experience!
Hi,
The first 3 steps are just perfect.
But with
loadjava.bat -user=user/pw@connstr -force -resolve geronimo-stax-api_1.0_spec-1.0.jar
the results are rather unexpected. Here is a part of the log file:
arguments: '-user' 'ccc/***@bisera7-db.dev.srv' '-fileout' 'c:\temp\load4.log' '-force' '-resolve' '-jarsasdbobjects' '-v' 'geronimo-stax-api_1.0_spec-1.0.jar'
The following operations failed
resource META-INF/MANIFEST.MF: creation (createFailed)
class javax/xml/stream/EventFilter: resolution
class javax/xml/stream/events/Attribute: resolution
class javax/xml/stream/events/Characters: resolution
class javax/xml/stream/events/Comment: resolution
class javax/xml/stream/events/DTD: resolution
class javax/xml/stream/events/EndDocument: resolution
class javax/xml/stream/events/EndElement: resolution
class javax/xml/stream/events/EntityDeclaration: resolution
class javax/xml/stream/events/EntityReference: resolution
class javax/xml/stream/events/Namespace: resolution
class javax/xml/stream/events/NotationDeclaration: resolution
class javax/xml/stream/events/ProcessingInstruction: resolution
class javax/xml/stream/events/StartDocument: resolution
class javax/xml/stream/events/StartElement: resolution
class javax/xml/stream/events/XMLEvent: resolution
class javax/xml/stream/StreamFilter: resolution
class javax/xml/stream/util/EventReaderDelegate: resolution
class javax/xml/stream/util/StreamReaderDelegate: resolution
class javax/xml/stream/util/XMLEventAllocator: resolution
class javax/xml/stream/util/XMLEventConsumer: resolution
class javax/xml/stream/XMLEventFactory: resolution
class javax/xml/stream/XMLEventReader: resolution
class javax/xml/stream/XMLEventWriter: resolution
class javax/xml/stream/XMLInputFactory: resolution
class javax/xml/stream/XMLOutputFactory: resolution
class javax/xml/stream/XMLStreamReader: resolution
resource META-INF/LICENSE.txt: creation (createFailed)
resource META-INF/NOTICE.txt: creation (createFailed)
It seems to me that the root of the problem is the error:
ORA-29521: referenced name javax/xml/namespace/QName could not be found
This class exists in the SYS schema though and is valid. If SYS should be included as a resolver? How to solve this problem? -
Urgent help needed; Database shutdown issues.
Urgent help needed; Database shutdown issues.
Hi all,
I am trying to shutdown my SAP database and am facing the issues below, can someone please suggest how I can go about resolving this issue and restart the database?
SQL> shutdown immediate
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-01089: immediate shutdown in progress - no operations are permitted
SQL> shutdown abort
ORA-01031: insufficient privileges
Thanks and regards,
IqbalHi,
check SAP Note 700548 - FAQ: Oracle authorizations
also check Note 834917 - Oracle Database 10g: New database role SAPCONN
regards,
kaushal -
Oracle Database 10g relase 1 Installation Problem on RHEL 3 ES
Dear all
I'm trying to install oracle database 10g r1 X86_64 on Intel Xeon Machine with EM64T technology with RHEL 3 ES update 2 X86_64 edition. The problem is described below :
Oracle OUI .runInstaller collapsed with such a following error:
An unexpected exception has been detected in native code outside the
VM.
Unexpected Signal : 11 occurred at PC=0x8077470
Function=[Unknown.]
Library=(N/A)
Is there anyone can help me ??Check pushitz website and ensure that you have all the required rpms installed properly.
Check the log files in the installation directory. That should give some more details as to what exactly is going on. -
Can't mount oracle database on linux system
This is same as previous posting just added
e-mail and username info fo forum posting.
I am not able to mount an Oracle database.
I am new to Oracle and am working on an Oracle8i installation on an
Intel Linux Suse 6.3 platform. I am using only one harddrive and am
not using the 4 mount points as mentioned for efficiecy purposes in
the Oracle documentation..I am using the installation cd from Oracle8i
for Linux Starter Kit by Oracle Press. If anyone has this book they
can refer to pages 41-44 for the examples I followed.
As sysdba in sqplplus using the STARTUP command I can not Mount the
database -step 2 of the 3 stage process (Start, Mount and Open the
database) of opening an Oracle database.
I show the errors I encountered when I did the first 2 of the 3 steps
in the step-by-step mode (STARTUP NOMOUNT pfile=, ALTER DATABASE
MOUNT) in the sqlplus session and alert log respectively with startup
nomount and alter database mount for this sqlplus session.
Additionally I show the init.ora file lines referring to control file
which seem to be referred to by the sqlplus error messages and the
alert.log file. Perhaps some can give me some advice as what I can try
to fix this problem.
At the end of this e-mail I added several questions I had in regard to the control
files. Any help is appreciated.
Well, here are the sqlplus session results and its alert.log file:
Oracle sqlplus session usr/oracle as sysdba
oracle@CHESTNUT:~ > sqlplus
SQL*Plus: Release 8.1.6.0.0 - Production on Mon Mar 19 20:47:49 2001
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: usr/oracle as sysdba
Connected to an idle instance.
SQL> startup nomount pfile=/usr/oracle/dbs/init.ora ;
ORACLE instance started.
Total System Global Area 24989680 bytes
Fixed Size 69616 bytes
Variable Size 24637440 bytes
Database Buffers 204800 bytes
Redo Buffers 77824 bytes
SQL> alter database mount ;
alter database mount
ERROR at line 1:
ORA-00205: error in identifying controlfile, check alert log for more
info
SQL> shutdown immediate ;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> exit
Disconnected
oracle@CHESTNUT:~ >
alert.log file for above session
Mon Mar 19 20:48:38 2001
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
LICENSE_MAX_USERS = 0
Starting up ORACLE RDBMS Version: 8.1.6.1.0.
System parameters with non-default values:
processes = 50
shared_pool_size = 3500000
control_files = ora_control1, ora_control2
db_block_buffers = 100
log_buffer = 32768
log_checkpoint_interval = 10000
db_files = 80
db_file_multiblock_read_count= 8
global_names = TRUE
db_name = DEFAULT
parallel_max_servers = 5
max_dump_file_size = 10240
PMON started with pid=2
Load Indicator not supported by OS !
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
Mon Mar 19 20:48:58 2001
alter database mount
Mon Mar 19 20:48:58 2001
ORA-00202: controlfile: 'ora_control1'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Mon Mar 19 20:49:01 2001
ORA-205 signalled during: alter database mount
Mon Mar 19 20:49:12 2001
Shutting down instance (immediate)
License high water mark = 1
Mon Mar 19 20:49:12 2001
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
archiving is disabled
init.ora control files
# define two control files by default
control_files = (ora_control1, ora_control2)
Here are my control file questions:
I need to know several points:
1) What are control files susposed to
contain and how would I recognize them?
I used the
unix find /usr/oracle \*ctl* -print
command to locate files with a ctl extension.
This resulted in about a dozen such files in
different directories as shown below:
./bin/lsnrctl
./bin/extractlib
./bin/agtctl
./bin/oidctl
./bin/lsnrctl0
./bin/agtctlO
./rdbms/demo/ulcase1.ctl
./rdbms/demo/ulcase10.ctl
./rdbms/demo/ulcase2.ctl
./rdbms/demo/ulcase3.ctl
./rdbms/demo/ulcase4.ctl
./rdbms/demo/ulcase5.ctl
./rdbms/demo/ulcase6.ctl
./rdbms/demo/ulcase7.ctl
./rdbms/demo/ulcase8.ctl
./rdbms/demo/ulcase9.ctl
./ldap/load/dn.ctl
./ldap/load/attr_store.ctl
./ord/ts/demo/tsquick/tsquick.ctl
./ord/ts/demo/usageutl/utildat.ctl
./ord/ts/demo/usage/stockdat.ctl
./ord/ts/demo/usage/stockinc.ctl
./ord/ts/demo/retrofit/sales.ctl
./ord/ts/demo/retrofit/sales2.ctl
./ord/ts/demo/applet/indexdemo.ctl
./javavm/admin/libjox8com_sun_jndi_ldap_ctl.so
./md/demo/examples/migctl.h
./md/demo/examples/migctl.c
2) On page 100 in the book Oracle 8i A Beginners's
by Oracle Press mention is made of a
CREATE CONTROLFILE command that can under
circumstances be used to re-create a control-file.
but that is all that is said about it. Perhaps
you might know something more about it.
3) Would you recommend any good text for
Oracle DBA's, especially for the problem of the sort
that I am encountering?
[email protected]
nullIt's probably not supported on RHEL5/Centos5/etc., but...
You can get the installer to function using the following steps:
- extract the cal_linux_*.tar.gz, and cd into the OracleCalendar_inst directory
In there is the actual installer, cal_linux.
- the cal_linux is shell script wrapped around some binary blobs. The installer's
problem is that Oracle is setting the LD_ASSUME_KERNEL=2.2.5 environment
variable, which is a mistake on RHEL5. You need to make it not set that variable,
but you need to do so in a way that the size of the shell script does not change at all,
and none of the binary blobs are impacted.
- the approach I took was
mv cal_linux cal_linux.BAK
sed -e 's/LD_ASSUME_KERNEL=2.2.5/LD_ASSUME_KERNEL= /g' < cal_linux.BAK > cal_linux
chmod a+rx cal_linux
cal_linux -i gui
Note: you must have exactly 5 spaces in the substitution part of the sed command, because you're replacing 5 characters (2.2.5), and the size of the shell script must not change.
If you do that, the installer should run (one warning from awk still) and you should be able to install the product.
Tim -
How to take a Hot backup of Oracle database
1: put the db in archive log mode
2: set the db_sid to correct one
3: login to sqlplus
4: verify the name of the db that you are connected to
select name from v$database;
5: check if the db is in archive log made
select log_mode from v$database;
if not in archive log mode
another command to check
archive log list;
6: find where on disk oracle writes archive log when it is in archive log mode
sql> show parameter log_archive_dest_1;
if the value is found to be 0, that means no values will be recorded, so we need to change it
sql> alter system set log_archive_dest_1='LOCATION=c:\database\oradata\finance\archived_logs\'
scope=spfile;
7: shutdown immediate; < this is done just to prepare the db for hot backups >
8: startup the db in mount mode
startup mount;
( 3 startup types : nomount - just starts the instance, mount - locates the control files and open up according to the values, open - finds the datafiles from the control files and opens up the db )
9: put the db in archive log mode
alter database archivelog;
10: open the database
alter database open;
11: check the status of the db
select log_mode from v$database;
SQL> archive log list;
12: create a directory for archived log
check if its empty, if empty we need to switch
sql> alter system archive log current;
run it 5 times < need to put / and enter > , then check the archive log dir , we will find files
13: make a table in the database and insert data in it
create table employees (fname varchar(2));
check the table
desc employees;
insert values
insert into employees values ('Mica');
14: tablespace must be in hot backup mode
check the status
select * from v$backup;
if found not active, then we need to change
we cannot put the db in hot backup mode, unless it is archive log mode
change to hot backup mode
alter database begin backup;
check the status
select * from v$backup;
15: now we can only COPY DBF FILES
copy *dbf <distination location>
16: need to take the db out to hot backup mode
alter database end backup;
17: need to make another archive log switch
alter system archive log current;
18: need to copy control files now, need to do a binary bckup
alter database backup controlfile to '<location>\controlbackup';
19: insert more values to the table
insert into employess values ('NASH')
COMMIT;
make another archive log switch : alter system archive log current;
do the same process for more values
20 : backup all the archive logs to a new location
21: shutdown the db and simulate a hw error, delete all the files from the database folder
22: try to start the sqlplus and db ::: error
23: copy all the backups to the db dir
need to copy the control files, rename the binary backup of the control file and make the copies as needed
24: try to mount the db, error < must use reset logs or noreset logs >
25: need to do a recovering of the database
shutdown
restore the archive logs
startup mount;
recover database until cancel using backup controlfile;
it will ask for a log file :
yes for recovery
cancel for cancelling recovery
26: check status: open the database in readonly
alter database open read only;
check the tables to see the data
shutdown immediate
shartup mount;
recover again : recover database until cancel using backup controlfile;
if oracle is asking for a log that do nto exist , all we have to do is type cancel
27: open the database
alter database open;
need to do reset logs
alter database open resetlogs;
28: check the db that you are connected, check the tables
thanks and regards
VKN
site admin
http://www.nitrofuture.comA very long list ... let me make it shorter.
SQL> archive log list;If I see this:
Database log mode No Archive ModeI put the database into archivelog mode and leave it there forever.
If it is in archivelog mode:
RMAN> TARGET SYS/<password>@<service_name> NOCATALOG
RMAN> BACKUP DATABASE PLUS ARCHIVELOG;Though there are a lot of things one could do better such as incrementals with block change tracking, creating an RMAN catalog, etc.
Maybe you are looking for
-
Absence quota should not get generate in Time Evaluation
Hi All, For some employees we lock the payroll. But whenever we run the time evaluation every month employees who are under lock payroll their absence quota is getting generated every month. It should not happen.. Please provide solution for this...
-
ITunes will not start up, FAQ did not work
Hi, I have a problem with starting up iTunes. I first double clicked on the icon on my desktop and then it comes out with an error message, "iTunes has encountered a problem and needs to close." When I click on the error report it says, "AppName: itu
-
Appending in file using File Adapter
Hi, Can we use File Adapter to write in a file in append mode. i.e. a BPEL process opening a file appending some text and closing the file each time it called. Another query is can we create the file at run time with the supplied file name?
-
Push button signal to parallel port to trigger a process
I just need to connect a push button to the parallel port to set it as a trigger signal for a process. When push button is pressed, labview executes a process. Kindly help me how to do this, the wiring please Regards Grugh Mike Success is Everything
-
This is frustrating!!! Time Machine has lost its place three times. It can't find the backup disk. The only way to reconnect that I can find is to then choose "Change Disk". I then select the disk it could not find and Time Machine ignores the previo