Home » RDBMS Server » Server Administration » Startup error :ORA-24324 (Oracle 10g)
Startup error :ORA-24324 [message #503095] Tue, 12 April 2011 23:24 Go to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

Hi,

I cant startup my DB

SQL> startup;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist

SQL> select open_mode from v$database;
ERROR:
ORA-03114: not connected to ORACLE

SQL> shutdown immediate;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist

Please help Sad
Re: Startup error :ORA-24324 [message #503097 is a reply to message #503095] Tue, 12 April 2011 23:26 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
most likely environment is not correct

It would be helpful if you followed Posting Guidelines - http://www.orafaq.com/forum/t/88153/0/
Re: Startup error :ORA-24324 [message #503106 is a reply to message #503095] Wed, 13 April 2011 00:58 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Check ORACLE_HOME and ORACLE_SID environment variables.

Always post your OS, OS version and Oracle version (with 4 decimals).

Please read OraFAQ Forum Guide, especially "How to format your post?" section.
Make sure that lines of code do not exceed 80 characters when you format.
Indent the code, use code tags and align the columns in result.
Use the "Preview Message" button to verify.

Regards
Michel
Re: Startup error :ORA-24324 [message #503111 is a reply to message #503106] Wed, 13 April 2011 01:34 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

Oracle_Home = C:\oracle\product\10.2.0\db_1

Oracle SID =orcl


OS,
OS version Window XP Pro

Oracle version (with 4 decimals).
10.2.0.1
Re: Startup error :ORA-24324 [message #503112 is a reply to message #503111] Wed, 13 April 2011 01:38 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Are the environment variables set?
Open a DOS box, set the variables and try to start the database. Post result.

Regards
Michel

Re: Startup error :ORA-24324 [message #503114 is a reply to message #503112] Wed, 13 April 2011 01:41 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

sorry.. How to do that? Sad

Can you give me steps/code?

[Updated on: Wed, 13 April 2011 01:41]

Report message to a moderator

Re: Startup error :ORA-24324 [message #503121 is a reply to message #503114] Wed, 13 April 2011 02:13 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
What don't you know how to do in these steps?

Regards
Michel
Re: Startup error :ORA-24324 [message #503149 is a reply to message #503121] Wed, 13 April 2011 04:15 Go to previous messageGo to next message
babuknb
Messages: 1736
Registered: December 2005
Location: NJ
Senior Member

We're not sure about your database. Could you please post your last 100 lines alert log content

Babu
Re: Startup error :ORA-24324 [message #503168 is a reply to message #503149] Wed, 13 April 2011 05:58 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 13 18:37:00 2011

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup nomount;
ORACLE instance started.

Total System Global Area 595591168 bytes
Fixed Size 1250356 bytes
Variable Size 335547340 bytes
Database Buffers 255852544 bytes
Redo Buffers 2940928 bytes
SQL> alter database mount;

Database altered.

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-16038: log 3 sequence# 169 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1:
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'
Re: Startup error :ORA-24324 [message #503170 is a reply to message #503168] Wed, 13 April 2011 06:08 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
ORA-19809: limit exceeded for recovery files
*Cause: The limit for recovery files specified by the
        DB_RECOVERY_FILE_DEST_SIZE was exceeded.
*Action:The error is accompanied by 19804. See message 19804 for further
        details.

Increase DB_RECOVERY_FILE_DEST_SIZE or first backup+delete your archived logs.

Regards
Michel

[Updated on: Wed, 13 April 2011 06:12]

Report message to a moderator

Re: Startup error :ORA-24324 [message #503345 is a reply to message #503095] Thu, 14 April 2011 20:30 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

I just saw my archive log file:
there is number 97 -168, then 170
169 log is missing.. I think this is the cause of prob..
Please teach me how to find back. 169 archive log....
Re: Startup error :ORA-24324 [message #503346 is a reply to message #503345] Thu, 14 April 2011 20:40 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
19809, 00000, "limit exceeded for recovery files"
//*Cause: The limit for recovery files specified by the
//        DB_RECOVERY_FILE_DEST_SIZE was exceeded.
// *Action: There are five possible solutions:
//          1) Take frequent backup of recovery area using RMAN.
//          2) Consider changing RMAN retention policy.
//          3) Consider changing RMAN archived log deletion policy.
//          4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE.
//          5) Delete files from recovery area using RMAN.
bcm@bcm-laptop:~$ oerr ora 16038
16038, 00000, "log %s sequence# %s cannot be archived"
// *Cause:  An attempt was made to archive the named file, but the
//          file could not be archived. Examine the secondary error
//          messages to determine the cause of the error.
// *Action: No action is required.
bcm@bcm-laptop:~$ oerr ora 312
00312, 00000, "online log %s thread %s: '%s'"
// *Cause:  This message reports the filename for details of another message.
// *Action: Other messages will accompany this message. See the
//          associated messages for the appropriate action to take.
Re: Startup error :ORA-24324 [message #503354 is a reply to message #503346] Thu, 14 April 2011 21:25 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

*Cause: The limit for recovery files specified by the
// DB_RECOVERY_FILE_DEST_SIZE was exceeded.
// *Action: There are five possible solutions:
// 1) Take frequent backup of recovery area using RMAN.
// 2) Consider changing RMAN retention policy.
// 3) Consider changing RMAN archived log deletion policy.
// 4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE.
// 5) Delete files from recovery area using RMAN.


How to back up and delete? Please help me with the code...
Sorry.. Im newbie in ORACLE
Re: Startup error :ORA-24324 [message #503375 is a reply to message #503354] Fri, 15 April 2011 01:30 Go to previous messageGo to next message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Database Backup and Recovery Basics
Section 4.3 Backing Up Database Files and Archived Logs with RMAN

Database Backup and Recovery Reference
Section BACKUP

Regards
Michel

Re: Startup error :ORA-24324 [message #503661 is a reply to message #503375] Mon, 18 April 2011 20:40 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

C:\Documents and Settings\Nalini Rani>rman target

Argument Value Description
-----------------------------------------------------------------------------
target quoted-string connect-string for target database
catalog quoted-string connect-string for recovery catalog
nocatalog none if specified, then no recovery catalog
cmdfile quoted-string name of input command file
log quoted-string name of output message log file
trace quoted-string name of output debugging message log file
append none if specified, log is opened in append mode
debug optional-args activate debugging
msgno none show RMAN-nnnn prefix for all messages
send quoted-string send a command to the media manager
pipe string building block for pipe names
timeout integer number of seconds to wait for pipe input
checksyntax none check the command file for syntax errors
-----------------------------------------------------------------------------
Both single and double quotes (' or ") are accepted for a quoted-string.
Quotes are not required unless the string contains embedded white-space.

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00552: syntax error in command line arguments
RMAN-01009: syntax error: found "end-of-file": expecting one of: "double-quoted-
string, equal, identifier, single-quoted-string"
RMAN-01007: at line 0 column 0 file: command line arguments

C:\Documents and Settings\Nalini Rani>rman target/

Recovery Manager: Release 10.2.0.1.0 - Production on Tue Apr 19 09:40:53 2011

Copyright (c) 1982, 2005, Oracle. All rights reserved.

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12560: TNS:protocol adapter error

C:\Documents and Settings\Nalini Rani>
Re: Startup error :ORA-24324 [message #503662 is a reply to message #503661] Mon, 18 April 2011 20:58 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>I cant startup my DB
Did this problem get resolved?

do as below so we can know complete Oracle version & OS name.

Post via COPY & PASTE complete results of
SELECT * from v$version;

It would be helpful if you followed Posting Guidelines - http://www.orafaq.com/forum/t/88153/0/
Re: Startup error :ORA-24324 [message #503663 is a reply to message #503662] Mon, 18 April 2011 21:09 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

SQL> SELECT * from v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Release 10.2.0.1.0 - Production
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Re: Startup error :ORA-24324 [message #503664 is a reply to message #503663] Mon, 18 April 2011 21:11 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
It works for me
bcm@bcm-laptop:~$ rman target /

Recovery Manager: Release 11.2.0.1.0 - Production on Mon Apr 18 19:10:28 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

connected to target database: V112 (DBID=2232234187)


notice the space between "target" & the slash character
Re: Startup error :ORA-24324 [message #503665 is a reply to message #503664] Mon, 18 April 2011 21:15 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

C:\Documents and Settings\Nalini Rani>rman target /

Recovery Manager: Release 10.2.0.1.0 - Production on Tue Apr 19 10:14:49 2011

Copyright (c) 1982, 2005, Oracle. All rights reserved.

connected to target database: ORCL (DBID=1263619956, not open)

RMAN> BACKUP DATABASE;

Starting backup at 19-APR-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=149 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF

input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF

input datafile fno=00005 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DB
F
input datafile fno=00006 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST
input datafile fno=00007 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\INVENTORY
input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DB
F
input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 19-APR-11
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/19/2011 10:15:
17
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 52428800 bytes disk space from 2147483648 limit
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 19-APR-11
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/19/2011 10:15:
22
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 52428800 bytes disk space from 2147483648 limit

RMAN> SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';

sql statement: ALTER SYSTEM ARCHIVE LOG CURRENT
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 04/19/2011 10:15:59
RMAN-11003: failure during parse/execution of SQL statement: ALTER SYSTEM ARCHIV
E LOG CURRENT
ORA-01109: database not open

RMAN>
Re: Startup error :ORA-24324 [message #503666 is a reply to message #503665] Mon, 18 April 2011 21:17 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

RMAN> exit
SORRY...!



Recovery Manager complete.

C:\Documents and Settings\Nalini Rani>sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Tue Apr 19 10:17:18 2011

Copyright (c) 1982, 2005, Oracle. All rights reserved.


Connected to:
Oracle Database 10g Release 10.2.0.1.0 - Production

SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;

ALTER SYSTEM ARCHIVE LOG CURRENT
*
ERROR at line 1:
ORA-01109: database not open
Re: Startup error :ORA-24324 [message #503667 is a reply to message #503665] Mon, 18 April 2011 21:21 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
19809, 00000, "limit exceeded for recovery files"
//*Cause: The limit for recovery files specified by the
//        DB_RECOVERY_FILE_DEST_SIZE was exceeded.
// *Action: There are five possible solutions:
//          1) Take frequent backup of recovery area using RMAN.
//          2) Consider changing RMAN retention policy.
//          3) Consider changing RMAN archived log deletion policy.
//          4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE.
//          5) Delete files from recovery area using RMAN.
bcm@bcm-laptop:~$ oerr ora 19804
19804, 00000, "cannot reclaim %s bytes disk space from %s limit"
// *Cause: Oracle cannot reclaim disk space of specified bytes from the
//         DB_RECOVERY_FILE_DEST_SIZE limit.
// *Action: There are five possible solutions:
//          1) Take frequent backup of recovery area using RMAN.
//          2) Consider changing RMAN retention policy.
//          3) Consider changing RMAN archived log deletion policy.
//          4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE.
//          5) Delete files from recovery area using RMAN.
bcm@bcm-laptop:~$ 


Is free disk space a scarce commodity on this system?
Re: Startup error :ORA-24324 [message #503668 is a reply to message #503667] Mon, 18 April 2011 21:27 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

how to check?

Is free disk space a scarce commodity on this system?

Note: can you add me in Gmail?
angelrhani@gmail.com
Re: Startup error :ORA-24324 [message #503683 is a reply to message #503668] Tue, 19 April 2011 00:51 Go to previous messageGo to next message
ramoradba
Messages: 2457
Registered: January 2009
Location: AndhraPradesh,Hyderabad,I...
Senior Member
Quote:
V$FLASH_RECOVERY_AREA_USAGE
displays usage information about flashback recovery areas.

ind> desc V$FLASH_RECOVERY_AREA_USAGE
 Name                                                              Null?    Type
 ----------------------------------------------------------------- -------- ------------------------
 FILE_TYPE                                                                  VARCHAR2(12)
 PERCENT_SPACE_USED                                                         NUMBER
 PERCENT_SPACE_RECLAIMABLE                                                  NUMBER
 NUMBER_OF_FILES                                                            NUMBER


Quote:
// *Action: There are five possible solutions:
// 1) Take frequent backup of recovery area using RMAN.
// 2) Consider changing RMAN retention policy.
// 3) Consider changing RMAN archived log deletion policy.
// 4) Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE.
// 5) Delete files from recovery area using RMAN.
bcm@bcm-laptop:~$



Sriram
Re: Startup error :ORA-24324 [message #503688 is a reply to message #503683] Tue, 19 April 2011 01:00 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

Add disk space and increase DB_RECOVERY_FILE_DEST_SIZE.

how to increase?


SQL> desc V$FLASH_RECOVERY_AREA_USAGE
Name Null? Type
----------------------------------------- -------- ---------------
FILE_TYPE = VARCHAR2(12)
PERCENT_SPACE_USED = NUMBER
PERCENT_SPACE_RECLAIMABLE = NUMBER
NUMBER_OF_FILES = NUMBER

[Updated on: Tue, 19 April 2011 01:03]

Report message to a moderator

Re: Startup error :ORA-24324 [message #503694 is a reply to message #503688] Tue, 19 April 2011 01:12 Go to previous messageGo to next message
ramoradba
Messages: 2457
Registered: January 2009
Location: AndhraPradesh,Hyderabad,I...
Senior Member
For Ex:
ind> sho parameter db_recovery_file_dest

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest                string      D:\oracle\flash_recovery_area
db_recovery_file_dest_size           big integer 2G
ind> alter system set db_recovery_file_dest_size=3G scope=both;

System altered.

Elapsed: 00:00:00.11
ind> sho parameter db_recovery_file_dest

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest                string      D:\oracle\flash_recovery_area
db_recovery_file_dest_size           big integer 3G



Do your best.
You Better consult you DBA before doing it.
He will do it.

Sriram

[Updated on: Tue, 19 April 2011 01:14]

Report message to a moderator

Re: Startup error :ORA-24324 [message #503698 is a reply to message #503694] Tue, 19 April 2011 01:20 Go to previous messageGo to next message
angelrhani
Messages: 13
Registered: April 2011
Location: Malaysia (+60)
Junior Member

YES!
Thanks! I got it

SQL> sho parameter db_recovery_file_dest

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string C:\oracle\product\10.2.0/flash_recovery_area
db_recovery_file_dest_size big integer 3G
SQL>
Re: Startup error :ORA-24324 [message #503700 is a reply to message #503698] Tue, 19 April 2011 01:23 Go to previous message
ramoradba
Messages: 2457
Registered: January 2009
Location: AndhraPradesh,Hyderabad,I...
Senior Member
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim [b]52428800[/b] bytes disk space from [b]2147483648[/b] limit


Increase the value based on your need.

Sriram
Previous Topic: Create multiple database
Next Topic: Oracle Binary Cloning
Goto Forum:
  


Current Time: Fri Nov 29 06:35:24 CST 2024