ORA-00354, ORA-00353 on RAC 11gR2
Hello All,
I have a database Oracle RAC 11gR2 on OEL linux 5.5 32bit.
When i am trying startup my database I am facing the below errors: this error is occuring on the startup of any node
ERROR at line 1:
ORA-00354: corrupt redo log block header
ORA-00353: log corruption near block 2651 change 1172351 time 10/12/2011
13:22:43
ORA-00312: online log 1 thread 1: '+DATA/orcl/onlinelog/group_1.261.761845161'It seems that my online redo log is corrupted. how can i solve that ?
knowing that my database is running in NOARCHIVELOG mode and i do not have any backup.
and why i am not able to start up any of the nodes? redo logs is not related to each node seperately ?
I tried: srvctl start instance -d orcl -i orcl1 or srvctl start instance -d orcl -i orcl2
but the same error, where is the High Availibilty in that case, the redo log file group_1 is for thread 1 only. SHould not be able to start Instance 2?
Regards,
Edited by: NB on Oct 13, 2011 5:12 PM
since my database is runing in NOARCHIVELOG mode and i have no backups and the current is logfile was the corrupted one and my database was not starting.
I solved that by ceating a pfile and adding the : allowresetlogs_corruption=TRUE
regards,
Similar Messages
-
ORA-00354: corrupt redo log block header..urgent
Hi All,
i am running into an issue when trying to recover a datafile.
1). Logs are being applied to the datafile to recover but RMAN is throwing this error:
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database reco
ver logfile 'H:\ORACLE_ARCHIVE_LOGS\RBS\ARCHIVELOG\2012_04_23\O1_MF_1_13174_7SC4
P56W_.ARC'
ORA-00283: recovery session canceled due to errors
ORA-00354: corrupt redo log block header
ORA-00353: log corruption near block 32768 change 6715041179 time 04/23/2012 13:
33:51
ORA-00334: archived log: 'H:\ORACLE_ARCHIVE_LOGS\RBS\ARCHIVELOG\2012_04_23\O1_MF
_1_13174_7SC4P56W_.ARC'
thanks in advancebcm@bcm-laptop:~$ oerr ora 353
00353, 00000, "log corruption near block %s change %s time %s"
// *Cause: Some type of redo log corruption has been discovered. This error
// describes the location of the corruption. Accompanying errors
// describe the type of corruption.
// *Action: Do recovery with a good version of the log or do incomplete
// recovery up to the indicated change or time.
bcm@bcm-laptop:~$ oerr ora 354
00354, 00000, "corrupt redo log block header"
// *Cause: The block header on the redo block indicated by the accompanying
// error, is not reasonable.
// *Action: Do recovery with a good version of the log or do time based
// recovery up to the indicated time. If this happens when archiving,
// archiving of the problem log can be skipped by clearing the log
// with the UNARCHIVED option. This must be followed by a backup of
// every datafile to insure recoverability of the database. -
ORA-00354: corrupt redo log block header
Hi Guys,
Need your support to resolve one of the oracle issues,
Below are errors visible in alert.log in oracle,
ORA-16038: log 24 sequence# 660467 cannot be archived
ORA-00354: corrupt redo log block header
ORA-00312: online log 24 thread 1: '/oracle/PRD/origlogB/log_g24_m1.dbf'...
2010-10-03 07:26:12.835 20195 kcrr.c
ORA-16014: log 24 sequence# 660467 not archived, no available
destinations
Below is o/p of archive log list seems to be bit strange,
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /oracle/PRD/saparch/PRDarch
Oldest online log sequence 660467
Next log sequence to archive 660467
Current log sequence 660576
And some more info,
SQL> SELECT GROUP#, STATUS, MEMBER FROM V$LOGFILE;
GROUP# STATUS MEMBER
28 /oracle/PRD/origlogB/log_g28_m1.dbf
28 /oracle/PRD/mirrlogB/log_g28_m2.dbf
27 /oracle/PRD/origlogA/log_g27_m1.dbf
27 /oracle/PRD/mirrlogA/log_g27_m2.dbf
26 /oracle/PRD/origlogB/log_g26_m1.dbf
26 /oracle/PRD/mirrlogB/log_g26_m2.dbf
25 /oracle/PRD/origlogA/log_g25_m1.dbf
25 /oracle/PRD/mirrlogA/log_g25_m2.dbf
24 /oracle/PRD/origlogB/log_g24_m1.dbf
24 /oracle/PRD/mirrlogB/log_g24_m2.dbf
23 /oracle/PRD/origlogA/log_g23_m1.dbf
23 /oracle/PRD/mirrlogA/log_g23_m2.dbf
22 /oracle/PRD/origlogB/log_g22_m1.dbf
22 /oracle/PRD/mirrlogB/log_g22_m2.dbf
21 /oracle/PRD/origlogA/log_g21_m1.dbf
21 /oracle/PRD/mirrlogA/log_g21_m2.dbf
16 rows selected.
SQL> SELECT GROUP#, SEQUENCE#, MEMBERS, ARCHIVED, STATUS, FIRST_CHANGE# FROM V$LOG;
GROUP# SEQUENCE# MEMBERS ARC STATUS FIRST_CHANGE#
21 660571 2 NO INACTIVE 2.9116E+10
22 660572 2 NO INACTIVE 2.9116E+10
23 660570 2 NO INACTIVE 2.9116E+10
24 660467 2 NO INACTIVE 2.9114E+10
25 660573 2 NO ACTIVE 2.9116E+10
26 660574 2 NO CURRENT 2.9116E+10
27 660568 2 NO INACTIVE 2.9116E+10
28 660569 2 NO INACTIVE 2.9116E+10
8 rows selected.
All file exists but still facing issue, no backup is running
Regards,
YashHi,
Instead of the logfile name, try the command with the logfile integer as mentioned below.
alter database clear unarchived logfile group <integer>;
You can get the logfile integer using the view, v$log.
select GROUP#,MEMBERS,STATUS from v$log;
The value for the parameter GROUP# is the logfile integer.
Hope this helps.
Regards,
Varadharajan M -
Questions on sqlnet.ora, listener.ora files in RAC environment.
Experts,
I've some confusion with below files in RAC environment.
sqlnet.ora
listener.ora
These files are available in two locations: <GRID_HOME> & <DB_HOME>.
My questions:
1. Why do we have two versions of files ?
2. When I query lsnrctl status from BOTH the homes, it says it is using listener.ora from <GRID_HOME> as shown below.
Listener Parameter File D:\app\11.2.0\grid\network\admin\listener.ora
3. What is the use of files which are in <DB_Home>
4. If you make some changes to listener using "Netmgr" tool, we expect it will update listener.ora in <GRID_HOME>. Interestingly, it is changing the contents of listener.ora in <DB_HOME> .
Can anyone please clarify it ?
Thanks in advance.859875 wrote:
1. Why do we have two versions of files ? In the past, the CRS s/w did not include ASM (ASM did not provide support for cluster voting and registration disks). Thus the networking components such as SQL*Net and the Listener were not part of the CRS installation.
With Grid Infrastructure, ASM supports cluster voting and registration disks and is recommended to be used for that (as oppose to the old style of raw disks or using an external cluster-based cooked file system like <i>ocfs</i>). And with ASM comes the SQL*Net networking layer and s/w (such as the Listener). As ASM ships with Grid Infrastructure, it now also includes the same networking layer as what the RDBMS installation will. Thus both <GRID_HOME> and <DB_HOME> will contain the same networking components.
However, only a single Listener is for example needed. And that can only run from a single base location. So for operational use, only one version will be actively in use. -
Urgent ora -00353 ora-354 ora-312 errors
hi All
we are getting following errors on one of our database
i found the following on metalink to resolve
TIP: Click help for a detailed explanation of this page.
Bookmark Go to End
Subject: Ora-354 Ora-353 And Ora-312 Reported On Mirrored Redo Log Files
Doc ID: Note:332672.1 Type: PROBLEM
Last Revision Date: 26-SEP-2005 Status: MODERATED
In this Document
Symptoms
Cause
Solution
References
Applies to:
Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 10.2.0.0
This problem can occur on any platform.
Symptoms
Following errors are reported in the alert log file:
ORA-354: corrupt redo log block header
ORA-353: log corruption near block 1892904 change 281470950178815
ORA-312: online log 5 thread 1: '/oracle/redo02/log_05_B.dbf'
ORA-312: online log 5 thread 1: '/oracle/redo01/log_05_A.dbf'
We see both the online redo log members are reported in the error.
Cause
This is corruption in online redo log.
But not conclusive that both the members are corrupt as we see from the alert log.
If oracle detects a corruption when archiving a log member, it will try to read the same redo block from the second member of the group. If the block is found corrupt in all the members of the group, archiving will not proceed.
In this case,
log_05_A.dbf was read first. Oracle detected corruption near block 1892904. (See Error description)
Oracle will now attempt to continue the archive operation from the second member, continuing from redo block 1892904.
There should be continuity of the redo information as we move and read from the second file.
But if Oracle cannot continue, ORA-312 is reported from second member also.
This could only happen due to an OS overwrite/missed write.
Error is because the archive processes will not start reading the second file from start by aborting the write made from the corrupted member. Instead it will try to continue from the block where the corruption was reported in first member.
Corruption of online redo log file should be checked as per Note 177559.1 in Metalink.
This Note applies to online redo log files also.
Solution
1. Issue the following command on both the redo log members.
SQL> ALTER SYSTEM DUMP LOGFILE 'filename'
2. If the redo log member is corrupt, then the dump command will fail with the same error as when doing a media recovery with the same file.
3. If the dump of any of the redo log member is successful then,
a. shutdown the database.
b. replace the bad member with a copy of the good redo log member using Operating system commands
c. startup the database
has anyone faced such a problem
Point 3b says replacing with good redo log, where can we get this good redo log file
thanks
kedarSAN drive is same and database is running in archive mode which are placed on share drive but the time when SAN issue ocurred the guy just stop OS level Oracle level services and restart the machine after coming up tried to start the database as startup command but database successfully mounted but fail to open it
when i issue command alter database open resetlogs i get error;
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'L:\ORACLE\LHECCDB\SYSTEM01.DBF'
this is the whole story. please guide -
ASM pfile lost in Oracle RAC 11gr2
Hello Gurus,
I am new to Oracle RAC 11gr2 and facing some issues. our spfile/pfile for asm instance is lost and I am not able to startup the asm instance.
Environment is as below:
RAC 2 nodes
Oracle RAC 11gr2
Enterprise Linux Server release 5.5 (Carthage)
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/db_1/dbs/init+ASM1.ora'
Is there any way to recover the spfile/pfile ?
Also getting following error while try to connect " sqlplus / as sysasm"
$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Sun Mar 27 11:26:02 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
Thanks and Regards,Hi,
Do we need to Set variable ORACLE_HOME properly (Grid Home) while starting RDBMS instance?
e.g ORACLE_HOME=/u01/app/11.2.0/grid*I recommend you set ORACLE_HOME properly for each Oracle Installation when you use SQLPLUS.
i.e: cat /etc/oratab
orcl:/u01/app/oracle/product/11.2.0/db_1
db10g:/u01/app/oracle/product/10.2.0/db_1
+ASM1:/u01/app/11.2.0/gridAlso you can startup/shutdown our database with SQLPLUS using ORACLE NET*, but it must be configured properly.
My recommendation <s>is always</s> use SRVCTL and CRSCTL to manage to your environment. Track all the process of initialization processes through the logs using ADRCI utility (only 11.1 or later).
When use SRVCTL or CRSCTL to manage I recomend you use (GRID HOME).
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-16038: log 3 sequence# 1067 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 2: '+FRA/yyy/onlinelog/group_3.259.738489481'
SQL>I give to you three options:
1° - Add more asmdisk on Diskgroup +FRA
2° - Make backup of all archivelog using RMAN and option delete input (i.e backup archivelog delete all input;)
3° - If this database is for TEST ONLY and you not need backup or recovery of then you can delete all archivelog using RMAN (i.e delete archivelog all;)
I recommend you create routine of backups of the database and archivelog to prevent this area becomes exhausted.
If you need the database in archivelog but it is only to test then create routine to delete archivelogs periodically.
If you dont need the database in archivelog, then just disable it.
Regards,
Levi Pereira -
Hi, Maclean,
can you explain RAC 11GR2 listener , and listener service relationship?
ora.LISTENER.lsnr ONLINE ONLINE on rac1
ora.LISTENER_SCAN1.lsnr ONLINE ONLINE on rac1
ora.rac1.LISTENER_RAC1.lsnr ONLINE ONLINE on rac1
ora.rac2.LISTENER_RAC2.lsnr ONLINE ONLINE on rac2explain RAC 11GR2 listener , and listener service relationship??
what do you really want to know? -
Errors-Ora-01157,ORA-01110,ORA-01033
HI all,
i am unable to login into database,i will explain clearly what has happened,please help me out...my /home directory was 100%,so i was unable to login,what i have did is i have not deleted
archive files but i have moved to other directory /ora_bkp,then i was able to login,today i have rebboted the system and later i have started database,started listener,but when i try to login
through sql*plus or toad i am getting this error.....ORA-01033 (ORACLE INITIALIZATION OR SHUTDOWN IN PROGRESS),and when i have tried to check from sql promt ....i am getting this
error....ORA-01157(CANNOT IDENTIFY/LOCK DATAFILE 6 -SEE DBWR TRACE FILE),& ORA-01110(DATA FILE 6: '/SAPDATA/SPO'...
HOW SHOULD I RECTIFY MY PROBLEM...AS I AM VERY NEW IAM TRYING TO EXPLAIN CLEARLY ...PLEASE HELP ME IN SOLVING THIS ISSUE....I HAVE EVEN TRIED ALTER DATABASE OPEN...I AM GETTING ERRORS OF ORA-01157,ORA-01110....WHAT IS MY PROBLEM HOW SHOULD I RECTIFY IT..PLEASE SORT THIS....
THANKS,
MIKEWell, did you check f.i. your alert.log and other dumps?
They will be on your server in the bdump, udump, cdump directories:
Where to Find Files for Analyzing Errors
Oracle records information about important events that occur in your Oracle RAC environment in trace files. The trace files for Oracle RAC are the same as those in single-instance Oracle databases. As a best practice, monitor and back up trace files regularly for all instances to preserve their content for future troubleshooting.
Information about ORA-600 errors appear in the alert_SID.log file for each instance where SID is the instance identifier. For troubleshooting, you may need to also provide files from the following bdump locations:
* $ORACLE_HOME/admin/db_name/bdump on UNIX-based systems
* %ORACLE_HOME%\admin\db_name\bdump on Windows-based systems
Some files may also be in the udump directory.
In addition, the directory cdmp_timestamp contains in-memory traces of Oracle RAC instance failure information. This directory is located in ORACLE_HOME/admin/db_name/bdump/cdmp_timestamp, where timestamp is the time at which the error occurred.
Trace dump files are stored under the cdmp directory. Oracle creates these files for each process that is connected to the instance. The naming convention for the trace dump files is same as for trace files, but with .trw as the file extension.
(http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/appsupport.htm#RACAD512) -
ORA-02068+ORA-03113 on database link
Hi all
I have the following scenario:
The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
The database is a 3-node RAC.
Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
The remote database is not located behind FW.
Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
From time to time we get these errors and we cant find the root cause.
Any ideas how to address this?
Thanks,
RudiRudi wrote:
Hi all
I have the following scenario:
The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
The database is a 3-node RAC.
Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
The remote database is not located behind FW.
Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
From time to time we get these errors and we cant find the root cause.
Any ideas how to address this?
Thanks,
RudiORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support -
When trying to create new DB ORA-01109 ORA-01092
Hi all,
When I try to create a new database on a two-node clustered machine using dbca and the "General Purpose" template, it returns ORA-01109 ORA-01092 errors.
Following is what I did:
1. Installed Oracle 10 Release 2 on the two Oracle Enterprise Linux 4.5 nodes
2. Installed patch set 3 (upgrade from 10.2.0.1 to 10.2.0.4)
3. Installed Oracle clusterware on both nodes
4. Installed ASM instance
5. when I used the dbca to create a new db, it returns DB ORA-01109 ORA-01092
I guess, the reason is that the seed of the "General Purpose" template was not upgraded by the patch set. If this is the case, my questions are:
*(1) Why the patchset didn't upgrade the template seeds? Is it a bug?*
*(2) How to upgrade the template seeds?*
Oracle 10g R2 (10.2.0.4) on Oracle EL 4.5
Following is a copy of a few last lines in the log generated by the dbca:
[Thread-158] [10:22:57:99] [CloneDBCreationStep.executeImpl:352] createCtl=Create
controlfile reuse set databa se "rac"
MAXINSTANCES 32
MAXLOGHISTORY 1
MAXLOGFILES 192
MAXLOGMEMBERS 3
MAXDATAFILES 1024
Datafile
'+DG1/rac/datafile/system.277.705320457',
'+DG1/rac/datafile/undotbs1.279.705320475',
'+DG1/rac/datafile/sysaux.278.705320469',
'+DG1/rac/datafile/users.280.705320477',
[Thread-158] [10:22:57:100] [CloneDBCreationStep.executeImpl:359] crtCtl=Create
controlfile reuse set database "rac"
MAXINSTANCES 32
MAXLOGHISTORY 1
MAXLOGFILES 192
MAXLOGMEMBERS 3
MAXDATAFILES 1024
Datafile
'+DG1/rac/datafile/system.277.705320457',
'+DG1/rac/datafile/undotbs1.279.705320475',
'+DG1/rac/datafile/sysaux.278.705320469',
'+DG1/rac/datafile/users.280.705320477'
[Thread-158] [CloneDBCreationStep.executeImpl:374] Length of OriginalRedoLogsGrNames=2
[Thread-158][CloneDBCreationStep.executeImpl:382] 0th redoLogText = GROUP 1 SIZE 51200K
[Thread-158][CloneDBCreationStep.executeImpl:382] 1th redoLogText = GROUP 2 SIZE 51200K
[Thread-158][CloneDBCreationStep.executeImpl:403] createCTLSql=Create controlfile reuse
set da tabase "rac"
MAXINSTANCES 32
MAXLOGHISTORY 1
MAXLOGFILES 192
MAXLOGMEMBERS 3
MAXDATAFILES 1024
Datafile
'+DG1/rac/datafile/system.277.705320457',
'+DG1/rac/datafile/undotbs1.279.705320475',
'+DG1/rac/datafile/sysaux.278.705320469',
'+DG1/rac/datafile/users.280.705320477'
LOGFILE GROUP 1 SIZE 51200K,
GROUP 2 SIZE 51200K RESETLOGS;
[Thread-158] [10:23:22:541] [CloneDBCreationStep.executeImpl:415] calling zerodbid
[Thread-158] [10:23:41:517] [CloneDBCreationStep.executeImpl:425] Shutdown database
[Thread-158] [10:23:41:717] [CloneDBCreationStep.executeImpl:447] Startup ......nomount......
[Thread-158] [10:23:57:523] [CloneDBCreationStep.executeImpl:455] deleting dummy control file from v$controlfi le: +DG1/rac/controlfile/current.281.705320591
[Thread-158] [10:24:1:293] [CloneDBCreationStep.executeImpl:455] deleting dummy control file from v$controlfil e: +DG2/rac/controlfile/current.265.705320595
[Thread-158] [10:24:24:628] [CloneDBCreationStep.executeImpl:466] Enabling restricted session.
[Thread-158] [10:24:29:60] [CloneDBCreationStep.executeImpl:468] alter database "rac" open resetlogs;
[Thread-156] [10:24:58:683] [BasicStep.handleNonIgnorableError:430] oracle.sysman.assistants.util.UIMessageHan dler@1b8099a:messageHandler
[Thread-156] [10:24:58:703] [BasicStep.handleNonIgnorableError:431] ORA-01092: ORACLE instance terminated. Dis connection forcedalertlog tail contents:
SMON: enabling cache recovery
Fri Dec 11 10:24:57 2009
Errors in file /u01/app/oracle/admin/rac/udump/rac1_ora_5482.trc:
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Fri Dec 11 10:24:57 2009
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Instance terminated by USER, pid = 5482
ORA-1092 signalled during: alter database "rac" open resetlogs... -
ORA-01114, ORA-29701, ORA-06512
I have got this errors. Can any experts help me to resolve this issue?
Due to this application users getting errors. Thanks.
Ora errors:
ORA-01114: IO error writing block to file 65 (block # 1956)
ORA-29701: unable to connect to Cluster Manager
ORA-06512: at "ERROR_PKG", line 151
ORA-06512: at "SET_SP", line 108
ORA-06512: at line 1Thanks for the suggestion. I did not think this errors related to db versions/os versions.
It is Oracle 10.2.0.4 running in Sun OS 5.10 and its running in ASM/RAC environment.
Since I have limited access(APP DBA) I have raised the ticket to SYSDBA to look in to this issue with my inputs.
My Inputs:
It seems like ORA-29701 error is related to ASM(css daemon)/RAC and all the remaining error is due to that.
Case 1:
Run the following batch files in the $ORACLE_HOME/bin directory as root
localconfig delete
localconfig add
Case 2:
The CSSD daemon uses /tmp/.oracle directory to establish a local socket for communication with local clients such as RDBMS instances. So you might want to ensure this was not removed by accident.
Solution:
Reboot the node.
Unfortually, the location of /tmp/.oracle cannot be changed (at least for 10g RAC) -
SQL Loader and Error ORA-01847/ORA-01839
Hi,
While using the direct loading in SQL-LOADER when we get the ORA-01847/ORA-01839 all the other records are getting errorred out. It goes fine with the conventional loading.
Should I use some parameters or anything to make sure that all the other records are not rejected when we get the ORA-01847/ORA-01839 error while going with the DIRECT loading.
Thanks
JibinIn internet I found this short message:
“AL32UTF8 is a multi-byte characterset,that means some characters are stored in more than 1 character, that's true for these special characters.
If you have same table definitions in both databases you likely face error ORA-12899.
This metalink note discusses this problem, it's also applicable to sqlloader:
Import reports "ORA-12899: Value too large for column" when using BYTE semantic
Doc ID: Note:563893.1”
By metalink, I can see the Note linked to a one Oracle Internal Bug for Oracle 11g.....
I'm waiting you suggestion... thanks very much in advance.
Regards.
Giovanni -
Hi,
I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
==========================================================
EXCEPTION
WHEN OTHERS THEN
WF_CORE.context (
'WFCustCheck',
'MisCustDataFromTableDoc',
document_id,
display_type,
document,
document_type,
SQLERRM
RAISE_APPLICATION_ERROR (-20006, SQLERRM);
==========================================================
But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
Please let me know.
ThanksHi,
Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
Are you using documents to send the notification, or are they purely defined in the .wft file?
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com -
Difference between ORA-00018 & ORA-00020
Hi experts,
I am confused about ORA-00018 & ORA-00020, it easier to understand how number of session increased [ora-18],
but what are the special causes that increase number of oracle processes [ora-20] ?
Thanks in advance.There is a relationship between sessions on a database and the
number of
processes. What happens if we increase the number of sessions without
increasing the number of processes???
The parameters SESSIONS and PROCESSES determine the
size of two arrays in the SGA.
If you try to create more sessions on an instance than specified
by the SESSIONS parameter, you will get an ORA-00018: maximum
number of sessions exceeded.
If you try to create more processes on an instances than specified
by the PROCESSES prameter, you wil get an ORA-00020: maximum
number of processes exceeded.
The number of sessions and processes on your instance can been
seen using a COUNT(*) against V$PROCESS and V$SESSION.
Your job is to determine resonable values, so your users can continue
to work without getting neither ORA-18 nor ORA-20 during normal
conditions. (A run away job, that keeps starting new sessions is not
a normal condition, and it should be stopped by ORA-18 or ORA-20
whichever happens first).
You can join the two V$-views using the columns V$SESSION.PADDR
and V$PROCESS.ADDR.
It is quite normal to see a 1:1 relationship between processes
and sessions. However one OCI-program can create multiple
sessions belonging to one process. Users of Oracle Portal
will experience this behaviour.
The default value for SESSIONS is 1.1*PROCESSES + 5.
It is appropriate for some databases and inappropriate for
others (e.g. Oracle Portal).
Also, I remember a limit on the OS regarding the number of processes
allowed per Oracle user - also I know there is a semaphore
relationship.
On HP-UX there is a kernel parameter called NPROC. Like
PROCESSES and SESSIONS it should have a reasonable
value.
answered by
Jesper Haure Norrevangsource:-http://ora-00020.ora-code.com/msg/40800.html -
Errors - ORA-01034, ORA-27101 & Linux-x86_64 Error: 2: No such file or dir
I have installed Oracle 10g database and AS 10g on SUSE linux EE 10 (SP2)
When I try to log in as system/system using sqlplus locally on the server, it works fine. However, when I try the following I get error messages:
SQL> conn system/system@botsdb
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
I tried the same from my laptop through sqlplus and the error message is the same.
I checked if the database was up and to check this I executed follwing commands whicle still being logged as system/system:
SQL>Select * from v$database;
SQL>Select * from v$instance;
SQL>Select * from tab;
These do bring results. Also if I try to start up the database again, it gives error message that the database is already up. I have restarted the db number of times, checked if my listener was listening on the service BOTSDB and these all seem fine.
It is very intriguing that when @BOTSDB is attached while connecting, the connection fails.
Can someone please guide me to sort this error?
Thanks and kind regards,
AparnaHi
I am answering all the three questions here.
1) No of instances on the machine, I understand it is 1.
2) Results of lsnrctl status
oracle@linuxserver:~> lsnrctl status
LSNRCTL for Linux: Version 10.1.0.4.2 - Production on 28-JUL-2010 09:19:33
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linuxserv.dcdm.mu)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.1.0.4.2 - Production
Start Date 27-JUL-2010 11:24:12
Uptime 0 days 21 hr. 55 min. 20 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/app/ora10ginfra/network/admin/listener.ora
Listener Log File /oracle/app/ora10ginfra/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linuxserver.dcdm.mu)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "metarep.dcdm.mu" has 1 instance(s).
Instance "metarep", status READY, has 3 handler(s) for this service...
The command completed successfully
--Note that lsnrctl status command was issued after loading 10ginfra.env file.
Please note that the listener for the database is set as DBLISTENER and lsnrctl status DBLISTENER was executed after loading 10gdb.env file. The results of lsnrctl status DBLISTENER are as follows:
oracle@linuxserver:~> . ./10gdb.env
oracle@linuxserver:~> lsnrctl status DBLISTENER
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 28-JUL-2010 09:24:44
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.107.123)(PORT=1650)))
STATUS of the LISTENER
Alias DBLISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 27-JUL-2010 15:11:28
Uptime 0 days 18 hr. 13 min. 15 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/app/ora10gdb/network/admin/listener.ora
Listener Log File /oracle/app/ora10gdb/network/log/dblistener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.107.123)(PORT=1650)))
Services Summary...
Service "BOTSDB" has 1 instance(s).
Instance "BOTSDB", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
3) The output of ps -ef |grep pmon is
oracle@linuxserver:~> ps -ef |grep pmon
oracle 12524 12091 0 09:16 pts/1 00:00:00 grep pmon
oracle 12525 1 0 Jul27 ? 00:00:00 ora_pmon_metarep
oracle 25776 1 0 Jul27 ? 00:00:00 ora_pmon_BOTSDB
The contents of listener.ora in two different Oracle Homes (one for AS infrastrcuture and another one for database) are as follows:
oracle@linuxserver:/oracle/app/ora10ginfra/network/admin> vi listener.ora
# listener.ora Network Configuration File: /oracle/app/ora10ginfra/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/ora10ginfra)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = linuxserv.dcdm.mu)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
oracle@linuxserver:/oracle/app/ora10gdb/network/admin> vi listener.ora
# Generated by Oracle configuration tools.
SID_LIST_DBLISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/ora10gdb/)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = BOTSDB)
(ORACLE_HOME = /oracle/app/ora10gdb/)
DBLISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.107.123)(PORT = 1650))
Kind regards,
Aparna
Maybe you are looking for
-
Document or report for assessment and reversed assessment?
Hi guyz, Is there any document or report for assessment and reversed assessment? I need to find documentation as a proof for any execution and reversal of assessment, such as journal entry or report line items that is showing debit or credit for the
-
well as the topic says I get an access denied exception. This is when I try to connect to the database java.sql.SQLException: Access denied for user 'Java'@'localhost' (using password: YES) I get the same problem when I try to connect with the root u
-
Address book entries in different language / alphabets
as a foreigner living in Greece I find it useful to have local names addresses written in greek characters. I have entered names in Latin characters and phonetic option in Greek, later the opposite. Some entries appear in alphabetical order, others a
-
Hi everybody !!! I would like to know how I can get the complete path of the JTree. I use the getLastSelectedPathComponent()) but it display only the folder. Do you know a method that can display the path of the folder? tree.addMouseListener(new Mous
-
BB curve 9220 problemsssssssss
could you get me a help on these. 1. my new blackberry 9220 always hangs up. 2. whenever i log-out on facebook, all of my appointments disappear. and i also dont have any other options for mny calendar instead facebook, no other choices. 3. it heats