<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Oracle DB Troubleshooting &#38; Administration &#187; Database</title>
	<atom:link href="https://blog.developpez.com/mboubidi/pcategory/database/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.developpez.com/mboubidi</link>
	<description>this site is intended for Oracle DBAs who encounters errors and bugs to achieve their objectives</description>
	<lastBuildDate>Tue, 06 May 2014 13:29:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>Packaging Critical errors a partir des alertes Oracle</title>
		<link>https://blog.developpez.com/mboubidi/p11213/database/packaging_critical_errors_a_partir_des_a</link>
		<comments>https://blog.developpez.com/mboubidi/p11213/database/packaging_critical_errors_a_partir_des_a#comments</comments>
		<pubDate>Fri, 10 Aug 2012 14:09:55 +0000</pubDate>
		<dc:creator><![CDATA[mboubidi]]></dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Grace a l’interface en ligne de commande adrci on peut manuellement récolter les erreurs critiques a partir d’une alerte et compresser le ficher dans un chemin bien précis. &#8211; Accéder a l’interfcae adrci : oracle@hostname:/home/oracle#adrci ADRCI: Release 11.2.0.3.0 - Production &#8230; <a href="https://blog.developpez.com/mboubidi/p11213/database/packaging_critical_errors_a_partir_des_a">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Grace a l’interface en ligne de commande <strong>adrci </strong>on peut manuellement récolter les erreurs critiques a partir d’une alerte et compresser le ficher dans un chemin bien précis.</p>
<p>     &#8211;	Accéder a l’interfcae <strong>adrci </strong>:</p>
<p><ins></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">oracle@hostname:/home/oracle#adrci <br />
ADRCI: Release 11.2.0.3.0 - Production on Wed Aug 8 12:07:44 2012 <br />
Copyright (c) 1982, 2011, Oracle and/or its affiliates. &nbsp;All rights reserved. <br />
ADR base = &quot;/oracle/appl&quot; <br />
adrci&gt;</div></div>
<p></ins><br />
     &#8211;	Afficher les différents homes <strong>(ADR homes)</strong> chemin que Oracle génère les alertes :</p>
<p><ins></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">adrci&gt; show home <br />
ADR Homes: &nbsp;<br />
diag/asm/+asm/+ASM <br />
diag/clients/user_oracle/host_3517654603_11 <br />
diag/clients/user_oracle/host_3517654603_80 <br />
diag/asmtool/user_oracle/host_3517654603_80 <br />
diag/tnslsnr/otafmsdb/date <br />
diag/tnslsnr/otafmsdb/listener_nikira <br />
diag/tnslsnr/otafmsdb/listener <br />
diag/rdbms/DBNAME/DBNAME</div></div>
<p></ins></p>
<p>     &#8211;	Exporter ORACLE_HOME de la base de données pour visualiser les alertes :</p>
<p><ins><code class="codecolorer text default"><span class="text">adrci&gt; set homepath diag/rdbms/DBNAME/DBNAME</span></code></ins></p>
<p>     &#8211;	Afficher la liste des erreurs groupées :</p>
<p><ins></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">adrci&gt; show problem <br />
&nbsp;<br />
ADR Home = /oracle/appl/diag/rdbms/DBNAME/DBNAME: <br />
************************************************************************* <br />
PROBLEM_ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PROBLEM_KEY &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LAST_INCIDENT &nbsp; &nbsp; &nbsp; &nbsp;LASTINC_TIME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
-------------------- ----------------------------------------------------------- -------------------- ---------------------------------------- &nbsp;<br />
5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORA 445 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1872427 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-03-12 06:08:46.986000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
7 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORA 600 [17112] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1896818 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-03-13 04:45:40.056000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
6 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORA 7445 [kghfrmrg()+143] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1896819 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-03-13 04:45:41.631000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORA 600 [kghfrmrg:nxt] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1901754 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-03-13 04:45:57.921000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
8 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORA 600 [qcsfbdnp:1] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1992763 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-04-19 13:02:35.505000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
9 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORA 600 [ORA-00600: internal error code, arguments: [kcblas 2000195 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-04-30 10:02:20.308000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORA 4031 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2016478 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-05-20 01:27:52.656000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORA 7445 [kglic0()+1075] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1992979 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-06-24 05:00:31.797000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
12 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORA 600 [kglobf0-bad-cdp] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2040749 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-07-09 17:25:35.704000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
11 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORA 7445 [kgldmp0()+20212] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2040750 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-07-09 17:25:35.801000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
13 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORA 600 [kglhdda-bad-free] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2045109 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-07-13 19:23:09.784000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
10 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORA 7445 [kglic0()+1124] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2046525 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-07-13 23:07:04.587000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
14 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORA 4030 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2088904 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-08-05 16:01:16.002000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
15 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORA 240 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2088877 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-08-06 04:42:27.630000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORA 7445 [kglic0()+1086] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2118403 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-08-07 05:00:37.989000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
16 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORA 600 [kcrpdv_noent] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2136955 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-08-07 05:12:36.765000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
17 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ORA 600 [ORA-00600: internal error code, arguments: [kcrpdv 2136859 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-08-07 05:12:37.676000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
17 rows fetched</div></div>
<p></ins></p>
<p>     &#8211;	Dans notre cas on prend un des plus récentes erreurs générées par la base :</p>
<p><ins></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">adrci&gt; show incident -p &quot;problem_key='ORA 600 [kcrpdv_noent]'&quot; <br />
ADR Home = /oracle/appl/diag/rdbms/DBNAME/DBNAME: <br />
************************************************************************* <br />
INCIDENT_ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PROBLEM_KEY &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CREATE_TIME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
-------------------- ----------------------------------------------------------- ---------------------------------------- &nbsp;<br />
2136955 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ORA 600 [kcrpdv_noent] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2012-08-07 05:12:36.765000 +01:00 &nbsp; &nbsp; &nbsp; &nbsp;<br />
1 rows fetched</div></div>
<p></ins><br />
     &#8211;	Regrouper tous les erreurs de type <strong>ORA 600</strong> dans un fichier donner le chemin et le compresser automatiquement :</p>
<p><ins></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">adrci&gt; ips pack incident 2136955 in /tmp <br />
Generated package 1 in file /tmp/ORA600kcr_20120808121018_COM_1.zip, mode complete</div></div>
<p></ins></p>
<p>     &#8211;	Le fichier est prêt a exploiter dans le chemin spécifier (/tmp):</p>
<p><ins><code class="codecolorer text default"><span class="text">-rw-r--r-- &nbsp;1 oracle dba &nbsp; &nbsp;27179740 aoÃ» &nbsp;8 12:12 ORA600kcr_20120808121018_COM_1.zip</span></code></ins></p>
<p>Merci.</p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>
