<?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</title>
	<atom:link href="https://blog.developpez.com/mboubidi/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>Unregister Database RMAN</title>
		<link>https://blog.developpez.com/mboubidi/p12607/rman/unregister-database-rman</link>
		<comments>https://blog.developpez.com/mboubidi/p12607/rman/unregister-database-rman#comments</comments>
		<pubDate>Tue, 06 May 2014 13:29:56 +0000</pubDate>
		<dc:creator><![CDATA[mboubidi]]></dc:creator>
				<category><![CDATA[RMAN]]></category>

		<guid isPermaLink="false">http://blog.developpez.com/mboubidi/?p=17</guid>
		<description><![CDATA[Executez la requete suivante pour avoir le DBID : select dbid,name from v$database; &#160; &#160; &#160; DBID NAME ---------- --------- 1553258961 ORCL connectez a la base de donnée rman avec le user owner bakcup de ma base de donnée ORCL &#8230; <a href="https://blog.developpez.com/mboubidi/p12607/rman/unregister-database-rman">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Executez la requete suivante pour avoir le DBID :</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">select dbid,name from v$database;<br />
<br />
&nbsp; &nbsp; &nbsp; DBID NAME<br />
---------- ---------<br />
1553258961 ORCL</div></div>
<p>connectez a la base de donnée rman avec le user owner bakcup de ma base de donnée ORCL (RMAN_ORCL):</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">select db_key,dbid,name from rman_ORCL.rc_database &nbsp;where dbid ='1553258961'<br />
<br />
350 1553258961&nbsp; ORCL</div></div>
<p>lancez le script suivant pour unregister database :</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">dbms_rcvcat.unregisterdatabase(db_key,db_id);</div></div>
<p>dans notre cas :</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">exec dbms_rcvcat.unregisterdatabase(350,1553258961);<br />
<br />
PL/SQL procedure successfully completed.</div></div>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Erreur Agent GC 11g de type (ERROR = AGENT_TZ_MISMATCH)</title>
		<link>https://blog.developpez.com/mboubidi/p11287/grid-control/erreur-agent-gc-11g-de-type-error-agent_tz_mismatch</link>
		<comments>https://blog.developpez.com/mboubidi/p11287/grid-control/erreur-agent-gc-11g-de-type-error-agent_tz_mismatch#comments</comments>
		<pubDate>Sun, 09 Sep 2012 10:51:10 +0000</pubDate>
		<dc:creator><![CDATA[mboubidi]]></dc:creator>
				<category><![CDATA[Grid Control]]></category>

		<guid isPermaLink="false">http://blog.developpez.com/mboubidi/?p=8</guid>
		<description><![CDATA[Erreur de type dans OMS Alerte : datetime=&#34;2012-09-09T10:42:11+00:00&#34;&#38;gt;datetime=&#34;2012-09-09T10:42:11+00:00&#34;&#38;gt;2012-09-09 09:56:14,400 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR receiver.AbstractOMSHandshake logp.251 - OMSHandshake failed.(AGENT URL = https://hostname.domainame:3872/emd/main/)(ERROR = AGENT_TZ_MISMATCH) Si on essai de démarrer le service sur le nœud dans notre exemple &#8230; <a href="https://blog.developpez.com/mboubidi/p11287/grid-control/erreur-agent-gc-11g-de-type-error-agent_tz_mismatch">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Erreur de type dans OMS Alerte :</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">datetime=&quot;2012-09-09T10:42:11+00:00&quot;&amp;gt;datetime=&quot;2012-09-09T10:42:11+00:00&quot;&amp;gt;2012-09-09 09:56:14,400 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR receiver.AbstractOMSHandshake logp.251 - OMSHandshake failed.(AGENT URL = https://hostname.domainame:3872/emd/main/)(ERROR = AGENT_TZ_MISMATCH)</div></div>
<p>Si on essai de démarrer le service sur le nœud dans notre exemple (hostname):</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]/EMAgent/oracle/agent11g/bin # ./emctl start agent<br />
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 <br />
Copyright (c) 1996, 2010 Oracle Corporation. &nbsp;All rights reserved.<br />
Starting agent ....... failed.<br />
Consult the log files in: /EMAgent/oracle/agent11g/sysman/log</div></div>
<p>Dans ce cas la faut réinitialiser <strong>Time Zome</strong> comme suit :</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]/EMAgent/oracle/agent11g/bin # ./emctl resetTZ agent<br />
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 <br />
Copyright (c) 1996, 2010 Oracle Corporation. &nbsp;All rights reserved.<br />
Updating /EMAgent/oracle/agent11g/sysman/config/emd.properties...<br />
Successfully updated /EMAgent/oracle/agent11g/sysman/config/emd.properties.<br />
Login as the em repository user and run the &nbsp;script:<br />
exec mgmt_target.set_agent_tzrgn('hostname.domainame:3872:3872','+01:00')<br />
and commit the changes<br />
This can be done for example by logging into sqlplus and doing<br />
SQL&amp;gt; exec mgmt_target.set_agent_tzrgn('omu2.otalgerie.com:3872','+01:00')<br />
SQL&amp;gt; commit<br />
[oracle@hostname]/EMAgent/oracle/agent11g/bin #</div></div>
<p>Exécutez la commande donner par le service <strong>emctl </strong>sur <strong>OMS </strong>:</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">oracle@omshost:/home/oracle#sqlplus<br />
/as<br />
SQL*Plus: Release 11.2.0.1.0 Production on Sun Sep 9 10:06:43 2012<br />
<br />
Copyright (c) 1982, 2009, Oracle. &nbsp;All rights reserved.<br />
<br />
Enter user-name: &nbsp;sysdba<br />
<br />
Connected to:<br />
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production<br />
With the Partitioning, OLAP, Data Mining and Real Application Testing options<br />
<br />
SQL&amp;gt; exec mgmt_target.set_agent_tzrgn('hostname.domainame:3872','+01:00');<br />
<br />
PL/SQL procedure successfully completed.<br />
<br />
SQL&amp;gt; commit;<br />
<br />
Commit complete.<br />
<br />
SQL&amp;gt; exit<br />
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production<br />
With the Partitioning, OLAP, Data Mining and Real Application Testing options<br />
oracle@omshost:/home/oracle#</div></div>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
		<item>
		<title>Corruption du fichier OCR</title>
		<link>https://blog.developpez.com/mboubidi/p10796/rac-10g/corruption_du_fichier_ocr</link>
		<comments>https://blog.developpez.com/mboubidi/p10796/rac-10g/corruption_du_fichier_ocr#comments</comments>
		<pubDate>Wed, 07 Mar 2012 14:57:10 +0000</pubDate>
		<dc:creator><![CDATA[mboubidi]]></dc:creator>
				<category><![CDATA[RAC 10g]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Une des problème de crash CRS oracle 10g est la corruption du fichier OCR et dé-configuration du cluster, vous aurez des erreurs du type (dans notre cas le nœud 1 a été dé-configuré du cluster) : [root@node1 ~]# crsctl enable &#8230; <a href="https://blog.developpez.com/mboubidi/p10796/rac-10g/corruption_du_fichier_ocr">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Une des problème de crash CRS oracle 10g est la corruption du fichier OCR et dé-configuration du cluster, vous aurez des erreurs du type (dans notre cas le nœud 1 a été dé-configuré du cluster) :</p>
<p><ins><strong></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">[root@node1 ~]# crsctl enable crs <br />
Failure at scls_scr_setval with code 8 <br />
Internal Error Information: <br />
Category: 1234 <br />
Operation: scls_scr_search <br />
Location: search <br />
Other: id doesnt exist scls_scr_setval <br />
Dep: 2 <br />
[root@node1 ~]# crsctl start crs <br />
Attempting to start CRS stack <br />
The CRS stack will be started shortly <br />
[root@node1 ~]# crs_stat -t <br />
CRS-0184: Cannot communicate with the CRS daemon.</div></div>
<p></strong></ins></p>
<p>dans ce cas la on a 2 solutions, restaure du fichier OCR a partir d&#8217;un backup, ou reconfiguration de l&#8217;OCR a nouveau avec la note &#8220;399482.1&#8221;.</p>
<p>dans notre cas on va restauré le fichier, on va commencer par identification des fichiers:</p>
<p><ins><strong></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@node1 ~]$ ocrconfig -showbackup <br />
&nbsp;<br />
node2 &nbsp; &nbsp; 2012/03/07 14:38:54 &nbsp; &nbsp; /u01/app/oracle/product/10.2.0/crs/cdata/OTA <br />
&nbsp;<br />
node2 &nbsp; &nbsp; 2012/03/07 10:38:52 &nbsp; &nbsp; /u01/app/oracle/product/10.2.0/crs/cdata/OTA <br />
&nbsp;<br />
node2 &nbsp; &nbsp; 2012/03/07 06:38:49 &nbsp; &nbsp; /u01/app/oracle/product/10.2.0/crs/cdata/OTA <br />
&nbsp;<br />
node2 &nbsp; &nbsp; 2012/03/06 02:38:30 &nbsp; &nbsp; /u01/app/oracle/product/10.2.0/crs/cdata/OTA <br />
&nbsp;<br />
node2 &nbsp; &nbsp; 2012/02/23 02:35:37 &nbsp; &nbsp; /u01/app/oracle/product/10.2.0/crs/cdata/OTA</div></div>
<p></strong></ins></p>
<p>lancement du restaure avec la commande suivante:<br />
<ins><strong></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">[root@node1]# ocrconfig -restore backup00.ocr</div></div>
<p></strong></ins></p>
<p>après le restore le CRS démarre automatiquement, mais le nœud 1 reste toujours dé-configuré, la cause est le manque des fichier de configuration dans les chemins suivant:</p>
<p><ins><strong></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">/etc/oracle/* <br />
/etc/init.d/init.cssd <br />
/etc/init.d/init.crs <br />
/etc/init.d/init.crsd <br />
/etc/init.d/init.evmd <br />
/etc/rc2.d/K96init.crs <br />
/etc/rc2.d/S96init.crs <br />
/etc/rc3.d/K96init.crs <br />
/etc/rc3.d/S96init.crs <br />
/etc/rc5.d/S96init.crs <br />
/etc/inittab.crs <br />
/etc/inittab</div></div>
<p></strong></ins></p>
<p>Copiez les fichiers a partir du nœuds 2 et allouez les mêmes permissions et le même owner.<br />
Exécutez avec root <ins><strong><code class="codecolorer text default"><span class="text">init q</span></code></strong></ins> , cette commande provoque un &#8220;reload&#8221; inittab.<br />
Exécutez <ins><strong><code class="codecolorer text default"><span class="text">crsctl stop crs -f</span></code> </strong></ins>et <ins><strong><code class="codecolorer text default"><span class="text">crsctl start crs</span></code></strong></ins>. </p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Erreur durant upgrade Agent oracle Grid Control de 10.2.0.4 vers 10.2.0.5</title>
		<link>https://blog.developpez.com/mboubidi/p10795/grid-control/erreur_durant_upgrade_agent_oracle_grid__5</link>
		<comments>https://blog.developpez.com/mboubidi/p10795/grid-control/erreur_durant_upgrade_agent_oracle_grid__5#comments</comments>
		<pubDate>Wed, 07 Mar 2012 11:14:05 +0000</pubDate>
		<dc:creator><![CDATA[mboubidi]]></dc:creator>
				<category><![CDATA[Grid Control]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Durant upgrade Agent Grid Control de 10.2.0.4 vers 10.2.05 sous HP-UX, vous aurez ce genre d&#8217;erreur dans le logfile d&#8217;installation: Error in invoking target 'agent emsubagent' of makefile 'ins_emagent.mk' Avec erreur graphique du Dispaly: Solution: Note: It is a known &#8230; <a href="https://blog.developpez.com/mboubidi/p10795/grid-control/erreur_durant_upgrade_agent_oracle_grid__5">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Durant upgrade Agent Grid Control de 10.2.0.4 vers 10.2.05 sous HP-UX, vous aurez ce genre d&#8217;erreur dans le logfile d&#8217;installation:</p>
<p><ins><code class="codecolorer text default"><span class="text">Error in invoking target 'agent emsubagent' of makefile 'ins_emagent.mk'</span></code></ins></p>
<p>Avec erreur graphique du Dispaly:</p>
<p><img src="http://t0.gstatic.com/images?q=tbn:ANd9GcTmP8ymm8X9O0tspu5YlEpzuxlz9kRlPtsWNverY7ZpjGxPpK8_" alt="Error Installation" title="Error Agent" /></p>
<p><strong>Solution:</strong></p>
<p><strong>Note:</strong> It is a known bug and further information could be retreived from <strong>837072.1</strong> </p>
<p>1) modifier les fichiers suivant: </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">cd $AGENT_HOME/sysman/lib &nbsp;<br />
vi env_emagent.mk &nbsp;<br />
vi ins_emagent.mk</div></div>
<p></ins></p>
<p>2) effectuer les changements suivant ins_emagent.mk file: </p>
<p> &#8211; dans la line 29,: </p>
<p><ins><code class="codecolorer text default"><span class="text"># libnmevc \</span></code></ins></p>
<p>vers: </p>
<p><ins><code class="codecolorer text default"><span class="text"># libnmevc</span></code></ins></p>
<p>Enlever le slash, qui provoque &#8220;Syntax Error&#8221; durant le relink. </p>
<p>3) effectuer les changements suivants env_emagent.mk file: </p>
<p> &#8211; dans la ligne 2427, on trouve la ligne suivante: </p>
<p><ins><code class="codecolorer text default"><span class="text">NEW_LD_SHLIBS = $(EMAGENT_SHLIBS)</span></code></ins></p>
<p>Rajouter les variables suivantes EMAGENT_SHLIBS comme suit: </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">NEW_LD_SHLIBS = $(EMAGENT_SHLIBS) &nbsp;<br />
&nbsp;<br />
EMAGENT_SHLIBS= $(LIBURLDATAFETCHLET_SHARED) \ <br />
$(LIBDMSFETCHLET_SHARED) \ <br />
$(LIBOSFETCHLET_SHARED) \ <br />
$(LIBTNMECR_SHARED) \ <br />
$(LIBSPFETCHLET_SHARED) \ <br />
$(LIBOCI_SHARED) \ <br />
$(LIBWBEMFETCHLET_SHARED) \ <br />
$(LIB_UT_FETCHLET_SHARED) \ <br />
$(LIBPORTFETCHLET_SHARED) \ <br />
$(LIBTESTFETCHLET_SHARED) \ <br />
$(LIBVERFETCHLET_SHARED) \ <br />
$(LIBPROPFROMASSOCFETCHLET_SHARED) \ <br />
$(LIBSQLFETCHLET_SHARED) \ <br />
$(LIBSQLTFETCHLET_SHARED) \ <br />
$(LIBTNMECLU_SHARED) \ <br />
$(LIBTNMEVR_SHARED) \ <br />
$(LIBNMEVQ_SHARED) \ <br />
$(LIBNMEVC_SHARED) \ <br />
$(LIBNMEVSP_SHARED) \ <br />
$(LIBNMS_SHARED) \ <br />
$(LIBNMS0_SHARED) \ <br />
$(LIBNMSP_SHARED) \ <br />
$(LIB_NMADBG_SHARED) \ <br />
$(LIB_NMADM_SHARED) \ <br />
$(LIB_NMALK_SHARED) \ <br />
$(LIB_NMARL_SHARED) \ <br />
$(LIB_NMASF_SHARED) \ <br />
$(LIB_NMASTK_SHARED) \ <br />
$(LIBNMEPS_SHARED) \ <br />
$(LIB_OJMX_FETCHLET_SHARED) \ <br />
$(LIBNMECLURAC_SHARED) \ <br />
$(LIBHCFETCHLET_SHARED) \ <br />
$(LIBSGAFETCHLET_SHARED)</div></div>
<p></ins></p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link Oracle pour Netbackup nouvelle Installation</title>
		<link>https://blog.developpez.com/mboubidi/p10790/rman/link_oracle_pour_netbackup_nouvelle_inst</link>
		<comments>https://blog.developpez.com/mboubidi/p10790/rman/link_oracle_pour_netbackup_nouvelle_inst#comments</comments>
		<pubDate>Tue, 06 Mar 2012 10:41:42 +0000</pubDate>
		<dc:creator><![CDATA[mboubidi]]></dc:creator>
				<category><![CDATA[RMAN]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Après une nouvelle installation du Netbackup pour une nouvelle base de donnée (sous UNIX) il faut crée le link pour l’agent Oracle et l’installation de la Library dans le Oracle Home ($ORACLE_HOME/lib). Sans cette installation le RMAN va générer l’erreur &#8230; <a href="https://blog.developpez.com/mboubidi/p10790/rman/link_oracle_pour_netbackup_nouvelle_inst">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Après une nouvelle installation du Netbackup pour une nouvelle base de donnée (sous UNIX) il faut crée le link pour l’agent Oracle et l’installation de la Library dans le Oracle Home ($ORACLE_HOME/lib).<br />
Sans cette installation le RMAN va générer l’erreur suivante :</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">RMAN-00571: =========================================================== <br />
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== <br />
RMAN-00571: =========================================================== <br />
RMAN-03009: failure of allocate command on ch00 channel at 06/25/2010 15:40:02 <br />
ORA-19554: error allocating device, device type: SBT_TAPE, device name: &nbsp;<br />
ORA-27211: Failed to load Media Management Library</div></div>
<p></ins></p>
<p>Alors il faut exécuter la procédure suivante avec le user Oracle:</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: /appl/oracle/product/10.2.0.4 /lib &gt;#/usr/openv/netbackup/bin/oracle_link <br />
Fri Jun 25 15:53:05 WAT 2010 <br />
All Oracle instances should be shutdown before running this script. <br />
&nbsp;<br />
Please log into the Unix system as the Oracle owner for running this script <br />
&nbsp;<br />
Do you want to continue? (y/n) [n] y <br />
&nbsp;<br />
&nbsp;<br />
LIBOBK path: /usr/openv/netbackup/bin <br />
ORACLE_HOME: /appl/oracle/product/10.2.0.4 <br />
Oracle version: 10.2.0.4.0 <br />
Linking LIBOBK (64 bits): <br />
ln -s /usr/openv/netbackup/bin/libobk.sl64 /appl/oracle/product/10.2.0.4/lib/libobk.sl <br />
Done <br />
&nbsp;<br />
Please check the trace file located in /tmp/make_trace.27820 &nbsp;<br />
to make sure the linking process was successful. <br />
oracle@hostname: /appl/oracle/product/10.2.0.4/lib &gt;#</div></div>
<p></ins></p>
]]></content:encoded>
			<wfw:commentRss></wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
