<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[bug - Svetoslav Gyurov technical blog]]></title><description><![CDATA[Technology and data]]></description><link>https://sve.to/</link><image><url>https://sve.to/favicon.png</url><title>bug - Svetoslav Gyurov technical blog</title><link>https://sve.to/</link></image><generator>Ghost 4.4</generator><lastBuildDate>Sat, 11 Oct 2025 03:26:02 GMT</lastBuildDate><atom:link href="https://sve.to/tag/bug/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Grid Infrastructure 12c installation fails because of 255 in the subnet ID]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>I was doing another GI 12.1.0.2 cluster installation last month when I got really weird error.</p>
<p>While root.sh was running on the first node I got the following error:</p>
<pre><code>2016/07/01 15:02:10 CLSRSC-343: Successfully started Oracle Clusterware stack
2016/07/01 15:02:</code></pre>]]></description><link>https://sve.to/2016/08/25/grid-infrastructure-12c-installation-fails-because-of-255-in-the-subnet-id/</link><guid isPermaLink="false">5e18e5398885e2151c055603</guid><category><![CDATA[bug]]></category><category><![CDATA[rac]]></category><category><![CDATA[oracle]]></category><category><![CDATA[12c]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Thu, 25 Aug 2016 09:15:18 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>I was doing another GI 12.1.0.2 cluster installation last month when I got really weird error.</p>
<p>While root.sh was running on the first node I got the following error:</p>
<pre><code>2016/07/01 15:02:10 CLSRSC-343: Successfully started Oracle Clusterware stack
2016/07/01 15:02:23 CLSRSC-180: An error occurred while executing the command &apos;/ocw/grid/bin/oifcfg setif -global eth0/10.118.144.0:public eth1/10.118.255.0:cluster_interconnect&apos; (error code 1)
2016/07/01 15:02:24 CLSRSC-287: FirstNode configuration failed
Died at /ocw/grid/crs/install/crsinstall.pm line 2398.
</code></pre>
<p>I was surprised to find the following error in the rootcrs log file:</p>
<pre><code>2016-07-01 15:02:22: Executing cmd: /ocw/grid/bin/oifcfg setif -global eth0/10.118.144.0:public eth1/10.118.255.0:cluster_interconnect
2016-07-01 15:02:23: Command output:
 &gt; PRIF-15: invalid format for subnet
&gt;End Command output
</code></pre>
<p>Quick MOS search suggested that my installation failed because I had 255 in the subnet ID:<br>
root.sh fails with CLSRSC-287 due to: PRIF-15: invalid format for subnet (Doc ID 1933472.1)</p>
<p>Indeed we had 255 in the private network (10.118.255.0). Fortunately this was in our private network which was easy to change but you will still hit this issue if you public network  has 255 subnet ID.</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Not able to update Web service process in APEX 4.1]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>Last month I created a simple APEX application with enabled mobile support and latest version of jQuery, which integrates with HP Service Manager through web services. The purpose was to give option for company engineers to open and update incidents through mobile in few easy steps.</p>
<p>The first step was</p>]]></description><link>https://sve.to/2012/03/21/not-able-to-update-web-service-process-in-apex-4-1/</link><guid isPermaLink="false">5e18e5398885e2151c0555d4</guid><category><![CDATA[apex]]></category><category><![CDATA[11.2]]></category><category><![CDATA[bug]]></category><category><![CDATA[patch]]></category><category><![CDATA[patchset]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Wed, 21 Mar 2012 14:10:31 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>Last month I created a simple APEX application with enabled mobile support and latest version of jQuery, which integrates with HP Service Manager through web services. The purpose was to give option for company engineers to open and update incidents through mobile in few easy steps.</p>
<p>The first step was to create form and report by using the web service. At this point web service request process is created where authentication and input parameter are described. The problem appears if you try to change any parameter and update the web service process. This is the error:</p>
<pre><code>Error error updating web service parameters
ORA-01403: no data found
</code></pre>
<p>To fix this, one option is to apply patch 12934733 on top of APEX 4.1. The other option is to apply latest patch set for APEX version 4.1.1, patch number 13331096.</p>
<p>At the time I got the error patch set wasn&apos;t released yet and I went with the patch only to fix this issue. Later I&apos;ve decided to update the APEX to latest version 4.1.1 and I&apos;ll review the update process at glance.</p>
<p>To upgrade to APEX 4.1.1 make sure first to review the release notes here. The process is really simple and takes few minutes.</p>
<p>Before applying the patch make sure to prevent access to the APEX. In my case I&apos;m using Oracle Database 11g Express Edition and I&apos;m using Embedded PL/SQL gateway. Then apply the patch using apxpatch.sql and update the images directory. Because I&apos;m using Express Edition, my images are stored in the XML DB repository and script apxldimg.sql has to be used to upload the new images within the repository.</p>
<p>Disabling Oracle XML DB HTTP Server:</p>
<pre><code>QL&gt; SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;

GETHTTPPORT
-----------
 0

SQL&gt; EXEC DBMS_XDB.SETHTTPPORT(0);

PL/SQL procedure successfully completed.

SQL&gt; COMMIT;

Commit complete.

SQL&gt; SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;

GETHTTPPORT
-----------
 0
</code></pre>
<p>Run apxpatch.sql to patch the system:</p>
<pre><code>SQL&gt; @apxpatch.sql

.......

timing for: Complete Patch
Elapsed: 00:06:25.48
</code></pre>
<p>Updating the Images Directory When Running the Embedded PL/SQL Gateway:</p>
<pre><code>@apxldimg.sql /tmp/patch

.......

Commit complete.

timing for: Load Images
Elapsed: 00:04:12.56

Directory dropped.
</code></pre>
<p>Enabling Oracle XML DB HTTP Server:</p>
<pre><code>SQL&gt; EXEC DBMS_XDB.SETHTTPPORT(8080);

PL/SQL procedure successfully completed.

SQL&gt; COMMIT;

Commit complete.
</code></pre>
<p>APEX is now updated to version 4.1.1</p>
<p>Regards,<br>
Sve</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Database 11.2 bug causes huge number of alert log entries]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>Few days ago I received a call from customer about problem with their EM console and messages about file system full. They run DB 11.2.0.2 on OEL 5.7 and had only binaries installation at that file system and the database itself was using ASM. I quickly</p>]]></description><link>https://sve.to/2011/12/22/database-11-2-bug-causes-huge-number-of-alert-log-entries/</link><guid isPermaLink="false">5e18e5398885e2151c0555d0</guid><category><![CDATA[11.2]]></category><category><![CDATA[bug]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Thu, 22 Dec 2011 11:25:15 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>Few days ago I received a call from customer about problem with their EM console and messages about file system full. They run DB 11.2.0.2 on OEL 5.7 and had only binaries installation at that file system and the database itself was using ASM. I quickly logged on to find out the file system was really full and after looking around I figure out that all the free space was eaten by alert and trace diagnostic directories. The trace directory was full of 10MB files and the alertlog file was quick growing with following messages:</p>
<pre><code>WARNING: failed to read mirror side 1 of virtual extent 2917 logical extent 0 of file 271 in group [1.2242406296] from disk DATA_0000 allocation unit 24394 reason error; if possible,will try another mirror side
Errors in file /oracle/app/oracle/diag/rdbms/baandb/baandb/trace/baandb_ora_17785.trc:
WARNING: Read Failed. group:1 disk:0 AU:24394 offset:1007616 size:8192
WARNING: failed to read mirror side 1 of virtual extent 2917 logical extent 0 of file 271 in group [1.2242406296] from disk DATA_0000 allocation unit 24394 reason error; if possible,will try another mirror side
Errors in file /oracle/app/oracle/diag/rdbms/baandb/baandb/trace/baandb_ora_17785.trc:
</code></pre>
<p>At first I though there is a storage problem, but looking at the ASM views everything seemed to be all right and these seemed to be false messages. I deleted all the trace files, but then few minutes later the file system became again full. It turned out that generated log per minute were more than 60MBor around 7GB for two hours, because of this huge number of messages the machine was already loaded.</p>
<p>Then after quick MOS search I found that this is a Bug 10422126: FAILED TO READ MORROR SIDE 1 and there is a 70KB patch for 11.2.0.2.</p>
<p>The following MOS notes are also useful:<br>
WARNING: &apos;Failed To Read Mirror Side 1&apos; continuously reported in the alert log [ID 1289905.1]<br>
Huge number of alert log entries: &apos;WARNING: IO Failed...&apos; &apos;WARNING: failed to read mirror side 1 of virtual extent ...&apos; [ID 1274852.1]</p>
<p>After applying the patch everything became normal and no more false messages appeared in the logs. The bug is fixed in 11.2.0.3.</p>
<p>Regards,<br>
Sve</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Cannot apply BP10 to Oracle Database 11.2.0.2 on Windows Server 2008 R2]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>This happened to be when I tryed to apply Bundle Patch 10 of Oracle Database 11.2.0.2 on Windows 2008, but I guess it could happen to any 11.x database version. I decided to apply this patch after I stepped the bug in which the heap memory</p>]]></description><link>https://sve.to/2011/11/09/cannot-apply-bp10-to-oracle-database-11-2-0-2-on-windows-server-2008-r2/</link><guid isPermaLink="false">5e18e5398885e2151c0555cb</guid><category><![CDATA[11.2]]></category><category><![CDATA[bug]]></category><category><![CDATA[patch]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Wed, 09 Nov 2011 14:25:10 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>This happened to be when I tryed to apply Bundle Patch 10 of Oracle Database 11.2.0.2 on Windows 2008, but I guess it could happen to any 11.x database version. I decided to apply this patch after I stepped the bug in which the heap memory is exhausted because of an CVU health checks (I described it here).</p>
<p>After running opatch apply I got that the following files are still active:</p>
<pre><code>d:\app\11.2.0\grid\bin\oraclient11.dll
d:\app\11.2.0\grid\bin\orageneric11.dll
d:\app\11.2.0\grid\bin\orapls11.dll
d:\app\11.2.0\grid\bin\oracommon11.dll
d:\app\11.2.0\grid\bin\oci.dll
d:\app\11.2.0\grid\bin\orahasgen11.dll
d:\app\11.2.0\grid\bin\oraocr11.dll
d:\app\11.2.0\grid\bin\oraocrb11.dll
d:\app\11.2.0\grid\bin\oraocrutl11.dll
d:\app\11.2.0\grid\bin\mDNSResponder.exe
d:\app\11.2.0\grid\bin\ocssd.exe
d:\app\11.2.0\grid\bin\cssdagent.exe
d:\app\11.2.0\grid\bin\cssdmonitor.exe
d:\app\11.2.0\grid\bin\evmd.exe
d:\app\11.2.0\grid\bin\evmlogger.exe
d:\app\11.2.0\grid\bin\gipcd.exe
d:\app\11.2.0\grid\bin\gpnpd.exe
d:\app\11.2.0\grid\bin\octssd.exe
</code></pre>
<p>It&apos;s unlikely to have something running, because I have stopped all GI processes. Again to find out which is the process holding the dll&apos;s I&apos;ve used ProcessExplorer. It seemed that process WmiPrvSE.exe had the dlls open:<br>
<img src="https://sve.to/content/images/2017/02/2011090705.png" alt loading="lazy"></p>
<p>Description of WMI:<br>
The wmiprvse.exe file is otherwise known as Windows Management Instrumentation. It is a Microsoft Windows-based component that provides control and information about management in an enterprise environment. Developers use the wmiprvse.exe file in order to develop applications used for monitoring purposes.</p>
<p>For some reason WMI is holding the CRS dlls. Stop the WMI service or kill the process and this should release the lock on the drivers and allow the opatch to proceed.</p>
<p>Regards,<br>
Sve</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Exhaust of Windows 2008 heap memory with Oracle Database 11.2.0.2]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>Recently I had an interesting setup for one of our customers. Because they got Oracle Standard Edition and Windows 2008 Server R2 Standard Edition licenses I was asked to create HA database installation. After looking around I found few docs about installing Standard Edition with Clusterware and I had some</p>]]></description><link>https://sve.to/2011/09/29/exhaust-of-windows-2008-heap-memory-with-oracle-database-11-2-0-2/</link><guid isPermaLink="false">5e18e5398885e2151c0555c5</guid><category><![CDATA[bug]]></category><category><![CDATA[crs]]></category><category><![CDATA[psu]]></category><category><![CDATA[patch]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Thu, 29 Sep 2011 10:51:34 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>Recently I had an interesting setup for one of our customers. Because they got Oracle Standard Edition and Windows 2008 Server R2 Standard Edition licenses I was asked to create HA database installation. After looking around I found few docs about installing Standard Edition with Clusterware and I had some ideas. Finally I installed Grid Infrastructure on both servers and Oracle Database binaries. Then created single instance database on the second server and replicated the configuration to the first one. Currently the relocation of the database is done manually, but one could create a start/stop/monitor scripts and integrate these with GI. Once the database starts it&apos;s registering at the scan listener so in theory it&apos;s running in HA (just the relocation is manual) :)</p>
<p>So during the weekend I received mail from my colleagues above error messages they received from the database: connect error, Socket read timed out. It wasn&apos;t a rush as the database is not yet in production, but it&apos;s ahead and this was the first task for the Monday. Next day I looked around and everything was up and running, except that I wasn&apos;t able to login through the listener and I also wasn&apos;t able to stop or relocate it. Looking at the logs I found at some point the following message: TNS-12531: TNS:cannot allocate memory which explains the previous message.</p>
<p>That was weird, the server on which error appeared was the first one and had only GI running and SCAN LISTENER. This really looked like a memory leak, it&apos;s a Windows so maybe that was obvious. I decided to look around the processes using the Resource Monitor when I found a lot of many cmd.exe processes. To confirm the problem I used <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653">Process Explorer</a> which is a very nice tool for Windows. As could be seen below I&apos;ve got plenty of cmd processes which were spawned, but not (obviously) closed after completion:<br>
<img src="https://sve.to/content/images/2017/02/2011090702.png" alt loading="lazy"></p>
<p>It turned out that this is a bug for 11.2.0.2 and Windows (64 bit). The Oracle CVU resource (ora.cvu), which by default is started on the first node in the cluster (this makes sense now) it&apos;s doing checks on every six hours (CHECK_INTERVAL=21600) and leaves process open. Because of this the heap memory is exhausted and that&apos;s the reason why the SCAN LISTENER is failing and giving the error message TNS-12531: TNS:cannot allocate memory</p>
<p>The following errors could be seen in Windows Eventlog, once the patch is applied the errors disappeared:</p>
<pre><code>Faulting application lsnrctl.exe, version 11.2.0.2, time stamp 0x4cea8f55, 	faulting module kernel32.dll, version 6.0.6001.18538, time stamp 0x4cb73957, exception code 0xc0000142, fault offset 0x00000000000b1b48, process id 0x1eac, application start time 0x01cc6ab588f992c0.

Faulting application cmd.exe, version 6.0.6001.18000, time stamp 0x47918bde, faulting module kernel32.dll, version 6.0.6001.18538, time stamp 0x4cb733e1, exception code 0xc0000142, fault offset 0x0006f1e7, process id 0x1004, application start time 0x01cc6af0fa982500.

Faulting application sclsspawn.exe, version 0.0.0.0, time stamp 0x4ce622a7, faulting module kernel32.dll, version 6.0.6001.18538, time stamp 0x4cb73957, exception code 0xc0000142, fault offset 0x00000000000b1b48, process id 0x1ca0, application start time 0x01cc6c0e5efd5380.
</code></pre>
<p>This is the bug at MOS:<br>
Bug 12529945: CVU HEALTH CHECKS EXHAUST WINDOWS HEAP MEMORY</p>
<p>The bug should have been fixed in BP8, but I applied the latest one BP10:<br>
Patch 12849789: ORACLE 11G 11.2.0.2 PATCH 10 BUG FOR WINDOWS (64-BIT AMD64 AND INTEL EM64)</p>
<p>Regards,<br>
Sve</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Unable to load Audit Vault console after login]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>Well, this is quick notice in case someone else got into this error. I&apos;m having Audit Vault server, patched up to 10.2.3.2.5 and its repository database to 10.2.0.7. The problem is that I&apos;m able to connect as av_admin</p>]]></description><link>https://sve.to/2011/09/07/unable-to-load-audit-vault-console-after-login/</link><guid isPermaLink="false">5e18e5398885e2151c0555c1</guid><category><![CDATA[bug]]></category><category><![CDATA[audit]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Wed, 07 Sep 2011 13:27:55 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>Well, this is quick notice in case someone else got into this error. I&apos;m having Audit Vault server, patched up to 10.2.3.2.5 and its repository database to 10.2.0.7. The problem is that I&apos;m able to connect as av_admin into the console, but not as av_auditor. When I try to login as av_auditor I&apos;ve got redirected to wrong URL, like this one:</p>
<p>*<a href="http://192.168.1.100:0/av/console/f?p=7700:100:::::">http://192.168.1.100:0/av/console/f?p=7700:100:::::</a><br>
*<br>
It&apos;s obvious that&apos;s wrong, port 0 does not exist and I&apos;m getting error Unable to connect in the browser.</p>
<p>Just to make sure whether this is the problem, check to see if the lsnrctl status is having line like this one:</p>
<pre><code>(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=5707))(Presentation=HTTP)(Session=RAW))
</code></pre>
<p>Also use dbms_xdb.gethttpport to get the port on which the console is listening at:</p>
<pre><code>SELECT DBMS_XDB.gethttpport() from dual;

DBMS_XDB.GETHTTPPORT()
----------------------
0
</code></pre>
<p>These tips are described at the documentation Oracle&#xC2;&#xAE; Audit Vault Administrator&apos;s Guide, in particular A.3.6.1 Oracle Audit Vault Reports Not Displaying</p>
<p>The correct port of Oracle Audit Vault Reports HTTP is 5707 and running the above query should return exactly this port.&#xC2;  If this is the case and you get port 0, then login as sysdba and set the correct port:</p>
<pre><code>SQL&gt; EXEC DBMS_XDB.SETHTTPPORT(5707);

PL/SQL procedure successfully completed.

SQL&gt; commit;

Commit complete.
</code></pre>
<p>Make sure the changes are applied:</p>
<pre><code>SQL&gt; SELECT DBMS_XDB.gethttpport() from dual;

DBMS_XDB.GETHTTPPORT()
----------------------
5707
</code></pre>
<p>And finally register the database:</p>
<pre><code>SQL&gt; ALTER SYSTEM REGISTER;
</code></pre>
<p>You&apos;re now happy Audit Vault auditor who can login successfully to the console.</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Oracle DB 10.2.0.3 LISTENER (VIP) goes down on HP-UX 11.23 without reason]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>Happy New Year!</p>
<p>For a long time I&apos;ve been receiving complains that the listener at one of the nodes in two node RAC is going offline from time to time. Without obvious reason the VIP of the second node fails, the listener is stopped and VIP is relocated</p>]]></description><link>https://sve.to/2011/01/05/oracle-db-10-2-0-3-listener-vip-goes-down-on-hp-ux-11-23-without-reason/</link><guid isPermaLink="false">5e18e5398885e2151c0555b6</guid><category><![CDATA[bug]]></category><category><![CDATA[crs]]></category><category><![CDATA[rac]]></category><category><![CDATA[vip]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Wed, 05 Jan 2011 15:57:07 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>Happy New Year!</p>
<p>For a long time I&apos;ve been receiving complains that the listener at one of the nodes in two node RAC is going offline from time to time. Without obvious reason the VIP of the second node fails, the listener is stopped and VIP is relocated to the first node. Since the VIP is relocated there are no problems if all the clients are configured correctly. In this case some of the clients were connecting explicitly to the second node and were unable to connect to the database. Database version is 10.2.0.3 RAC installed on two nodes running HP-UX 11.23 with December 2008 bundle patches.</p>
<p>The following can be observed in $CRS_HOME/log/$HOSTNAME/crsd/crsd.log:</p>
<pre><code>2010-10-25 06:11:12.492: [ CRSAPP][8336] CheckResource error for ora.db2.vip error code = 1
2010-10-25 06:11:12.522: [ CRSRES][8336] In stateChanged, ora.db2.vip target is ONLINE
2010-10-25 06:11:12.522: [ CRSRES][8336] ora.db2.vip on db2 went OFFLINE unexpectedly
2010-10-25 06:11:12.523: [ CRSRES][8336] StopResource: setting CLI values
2010-10-25 06:11:12.527: [ CRSRES][8336] Attempting to stop `ora.db2.vip` on member `db2`
2010-10-25 06:11:13.182: [ CRSRES][8336] Stop of `ora.db2.vip` on member `db2` succeeded.
2010-10-25 06:11:13.185: [ CRSRES][8336] ora.db2.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
2010-10-25 06:11:13.188: [ CRSRES][8336] ora.db2.vip failed on db2 relocating.
2010-10-25 06:11:13.231: [ CRSRES][8336] StopResource: setting CLI values
2010-10-25 06:11:13.235: [ CRSRES][8336] Attempting to stop `ora.db2.LISTENER_DB2.lsnr` on member `db2`
2010-10-25 06:12:31.183: [ CRSRES][8336] Stop of `ora.db2.LISTENER_DB2.lsnr` on member `db2` succeeded.
2010-10-25 06:12:31.211: [ CRSRES][8336] Attempting to start `ora.db2.vip` on member `db1`
2010-10-25 06:12:38.327: [ CRSRES][8336] Start of `ora.db2.vip` on member `db1` succeeded.
</code></pre>
<p>At alert log can be seen following:<br>
<code>ALTER SYSTEM SET service_names=&apos;&apos; SCOPE=MEMORY SID=&apos;oradb2&apos;;</code></p>
<p>There are couple of bugs logged about that. There is also MOS ID regarding this problem:<br>
HP-UX Itanium: RACGMAIN Received SIGSEGV On CheckResource Causing a Crash of a Resource [ID 763724.1]</p>
<p>The solution is to change the executable mode which uses shared library from &quot;delay binding&quot; to &quot;immediate binding&quot; using following bash script. It has to be applied on both CRS and DB homes, all Oracle processes should be stopped:</p>
<pre><code>cd $ORACLE_HOME/bin/
for i in crs_relocate.bin crs_start.bin crs_stop.bin crsd.bin evmd.bin racgons.bin racgeut racgevtf racgmain; do chatr -B immediate $i; done

cd $CRS_HOME/bin/
for i in crs_relocate.bin crs_start.bin crs_stop.bin crsd.bin evmd.bin racgons.bin racgeut racgevtf racgmain; do chatr -B immediate $i; done
</code></pre>
<p>For three months since implementing this solutions I haven&apos;t seen this problem again!</p>
<p>Regards,<br>
Sve</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Many open files on HP-UX after RAC upgrade to 10.2.0.4 - racgimon file handle leak]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>Two months after patching a customer database to 10.2.0.4 I&apos;ve received a call, telling me that the database is hanging. Usually this happens when they missed the backup of the archive logs and the database stops. This time there was enough space available and this</p>]]></description><link>https://sve.to/2010/07/23/many-open-files-on-hp-ux-after-rac-upgrade-to-10-2-0-4-racgimon-file-handle-leak/</link><guid isPermaLink="false">5e18e5398885e2151c0555b1</guid><category><![CDATA[bug]]></category><category><![CDATA[rac]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Fri, 23 Jul 2010 15:17:42 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>Two months after patching a customer database to 10.2.0.4 I&apos;ve received a call, telling me that the database is hanging. Usually this happens when they missed the backup of the archive logs and the database stops. This time there was enough space available and this was not the problem. I logged to the first node and start looking around, weird things were happening, some commands were failing and other were hanging. Then I realized that this is not an ordinary case and start looking deeper. It turns out that this is a bug of Oracle with HP-UX and there is a patch and work around too.</p>
<p>The customer was having HP-UX 11.23 (September 2006) with patch bundles from September 2008. The database was Oracle RAC Enterprise Edition 10.2.0.2.</p>
<p>This problem had very big impact on the database because although the database is running in RAC the database was not accessible and there were a lot of locks. Rebooting the node or killing the processes do the job</p>
<p>After some reading it figure out that this happens only on HP-UX, after patching the database to 10.2.0.4 and it happens only on the first node.</p>
<p>Here are some symptoms:</p>
<p>Executing sar -v show the current-size and maximum size of the system file table:</p>
<pre><code>12:00:00   N/A   N/A 328/4200  0  1374/286108 0  41906/65536 0
12:02:00   N/A   N/A 330/4200  0  1376/286108 0  41944/65536 0
12:04:00   N/A   N/A 336/4200  0  1390/286108 0  41999/65536 0
12:06:00   N/A   N/A 331/4200  0  1377/286108 0  41983/65536 0
12:08:00   N/A   N/A 330/4200  0  1376/286108 0  41976/65536 0
12:10:00   N/A   N/A 330/4200  0  1377/286108 0  41935/65536 0
</code></pre>
<p>With lsof the following open files are seen:</p>
<pre><code>racgimon   3506 oracle   14u   REG             64,0x9        1552   29678 /oracle/ora10g/dbs/hc_baandb1.dat
racgimon   3506 oracle   28u   REG             64,0x9        1552   29678 /oracle/ora10g/dbs/hc_baandb1.dat
racgimon   3506 oracle   30u   REG             64,0x9        1552   29678 /oracle/ora10g/dbs/hc_baandb1.dat
racgimon   3506 oracle   37u   REG             64,0x9        1552   29678 /oracle/ora10g/dbs/hc_baandb1.dat
</code></pre>
<p>The processes which is holding the open files:</p>
<pre><code>oracle  3506     1  0  Nov  5  ?        18:16 /oracle/ora10g/bin/racgimon startd baandb
</code></pre>
<p>At this log &quot;$ORACLE_HOME/log/{NodeName}/racg/imon_{InstanceName}.log&quot; every minute can be seen the following error:</p>
<pre><code>2009-12-02 12:12:35.454: [    RACG][73] [3506][73][ora.baandb.baandb1.inst]: GIMH: GIM-00104: Health check failed to connect to instance.
GIM-00090: OS-dependent operation:mmap failed with status: 12
GIM-00091: OS failure message: Not enough space
GIM-00092: OS failure occurred at: sskgmsmr_13

2009-12-02 12:13:35.474: [    RACG][73] [3506][73][ora.baandb.baandb1.inst]: GIMH: GIM-00104: Health check failed to connect to instance.
GIM-00090: OS-dependent operation:mmap failed with status: 12
GIM-00091: OS failure message: Not enough space
GIM-00092: OS failure occurred at: sskgmsmr_13
</code></pre>
<p>When the file table gets full weird things start to happen,&#xC2;  in the syslog the following can be seen:</p>
<pre><code>Nov  5 08:00:02 db1 vmunix: file: table is full
Nov  5 08:00:03 db1 vmunix: file: table...
Nov  5 08:00:03 db1 vmunix: file...
Nov  5 08:00:03 db1 vmunix: file...
Nov  5 08:01:13 db1 vmunix: file: table is full
Nov  5 08:11:15 db1  above message repeats 34260 times
</code></pre>
<p>Also in the alertlog file the following can be seen:</p>
<pre><code>ORA-00603: ORACLE server session terminated by fatal error
ORA-27544: Failed to map memory region for export
ORA-27300: OS system dependent operation:socket failed with status: 23
ORA-27301: OS failure message: File table overflow
ORA-27302: failure occurred at: sskgxpcre1
</code></pre>
<p>Solution:<br>
Base bug is 6931689 (SS10204-HP-PARISC64-080216.080324 HEALTH CHECK FAILED TO CONNECT TO INSTANCE), but it&apos;s not public. It&apos;s fixed in CRS 10.2.0.4 Bundle Patch #2, but the actual CRS bundle is PSU2 with Patch# 8705958: TRACKING BUG FOR 10.2.0.4.2 PSU FOR CRS which is around 41Mb big.<br>
This patch# 8705958 should be applied to all Oracle homes although the bug is in the database CRS should always be a higher version.</p>
<p>To apply this patch OPatch version must be at least 10.2.0.4.7, which can be downloaded with patch# 6880880. At the moment of writing this the latest version was 10.2.0.4.9 and its 34Mb. To install it, simply download it and unzip it under ORACLE_HOME.</p>
<p>I didn&apos;t went with the patch because I read some scary stuff at OTN and thanks to Ivan Kartik I integrated a dirty work around. He proposed very good script which is checking if opened files are more than 20000 just to kill the racgimon process:</p>
<p><a href="http://ivan.kartik.sk/index.php?show_article=42">http://ivan.kartik.sk/index.php?show_article=42</a></p>
<pre><code>13:56:00   N/A   N/A 307/4200  0  1352/286108 0  44102/65536 0
13:58:00   N/A   N/A 307/4200  0  1353/286108 0  44119/65536 0
14:00:01   N/A   N/A 309/4200  0  1355/286108 0  44135/65536 0
14:02:01   N/A   N/A 307/4200  0  1353/286108 0  44153/65536 0
14:04:01   N/A   N/A 301/4200  0  1336/286108 0  2583/65536 0
14:06:01   N/A   N/A 306/4200  0  1347/286108 0  2610/65536 0
14:08:01   N/A   N/A 299/4200  0  1333/286108 0  2583/65536 0
14:10:01   N/A   N/A 300/4200  0  1335/286108 0  2571/65536 0
</code></pre>
<p>The work around fixed the problem. This article was written half an year ago and reading MOS now they say that this bug is fixed in 10.2.0.5 which was released at the beginning of June.</p>
<p>Regards,<br>
Sve</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Oracle 11g R2 installer fails on HP-UX 11iv3]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>Running the installer of any of the products (client, grid, database) of Oracle Database 11g Release 2 on HP-UX 11iv3 (Itanium) fails with:<br>
&quot;An internal error occurred within cluster verification framework&quot;</p>
<p>After starting ./runInstaller the following error window pops-up:<br>
<img src="https://sve.to/content/images/2017/02/oracle11gr2_hpux_installer_error.png" alt loading="lazy"><br>
Also at the installAction$DATE.log the following error</p>]]></description><link>https://sve.to/2010/05/20/oracle-11g-r2-installer-fails-on-hp-ux-11iv3/</link><guid isPermaLink="false">5e18e5398885e2151c0555ae</guid><category><![CDATA[bug]]></category><category><![CDATA[installer]]></category><category><![CDATA[patch]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Thu, 20 May 2010 10:10:19 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>Running the installer of any of the products (client, grid, database) of Oracle Database 11g Release 2 on HP-UX 11iv3 (Itanium) fails with:<br>
&quot;An internal error occurred within cluster verification framework&quot;</p>
<p>After starting ./runInstaller the following error window pops-up:<br>
<img src="https://sve.to/content/images/2017/02/oracle11gr2_hpux_installer_error.png" alt loading="lazy"><br>
Also at the installAction$DATE.log the following error can be seen:</p>
<p>SEVERE: [FATAL] An internal error occurred within cluster verification framework<br>
Unable to get the current group.</p>
<p>This happens, because patch PHCO_40381 is not installed. There is a list of patches to be installed at <em>2.3.4 Patch Requirement</em> of the Database Installation guide for HP-UX.</p>
<p>The first one is:<br>
PHCO_40381 11.31 Disk Owner Patch</p>
<p>The patch is available from ITRC. It&apos;s 205Kb big and it fixes behavior of the command diskowner. The installation of the patch does not require reboot of the server.</p>
<p>After the installation of the patch, runInstaller starts succesfully.</p>
<p>There is also MOS Doc ID regarding this problem:<br>
HP-UX: 11gR2 runInstaller Fails with &quot;An internal error occurred within cluster verification framework&quot; [ID 983713.1]</p>
<p>Regards,<br>
Sve</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Constant cimprovagt daemon crashing and filling the /var directory]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>We installed two nodes with HP-UX 11.31 March 2009 BOE in a ServiceGuard environment and started test applications in two packets. Suddenly the /var directories on both nodes started to grow and respectively the cluster was crashing because of that and the syslog was never up to date. It</p>]]></description><link>https://sve.to/2009/11/23/constant-cimprovagt-daemon-crashing-and-filling-the-var-directory/</link><guid isPermaLink="false">5e18e5398885e2151c0555ab</guid><category><![CDATA[bug]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Mon, 23 Nov 2009 14:32:32 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>We installed two nodes with HP-UX 11.31 March 2009 BOE in a ServiceGuard environment and started test applications in two packets. Suddenly the /var directories on both nodes started to grow and respectively the cluster was crashing because of that and the syslog was never up to date. It turns out that some of the components (cimprovagt) of the OnlineDiagnostics were crashing. I reviewed few advisories and bugs about it, but none of them were having the same behaviour.</p>
<p>Executing file on the core dump file shows the following: core:</p>
<pre><code>ELF-64 core file - IA64 from &apos;cimprovagt&apos; - received SIGABRT
</code></pre>
<p>HP analyzed the core dump files and determined that the problem is already known and the fix is already implemented in September release of DASProvider, which is now part of the DiagProdCollection bundle and can be download from HP Software Depot portal.</p>
<p>After installing the bundle the daemon stopped crashing and the system is stable now.</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[HP-UX software bug hidden in cluster behaviour]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>I was called to check some strange behavior of two-node cluster and to see why the one of the nodes crashed unexpectedly.&#xC2;  The two nodes were HP Integrity servers installed with HP-UX 11.31 Base OE (March 2009). Well the node did not crashed it was just restarted from</p>]]></description><link>https://sve.to/2009/10/08/reboot-after-panic-fault-when-executing-in-kernel-mode/</link><guid isPermaLink="false">5e18e5398885e2151c0555aa</guid><category><![CDATA[bug]]></category><category><![CDATA[nfs]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Thu, 08 Oct 2009 14:12:57 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>I was called to check some strange behavior of two-node cluster and to see why the one of the nodes crashed unexpectedly.&#xC2;  The two nodes were HP Integrity servers installed with HP-UX 11.31 Base OE (March 2009). Well the node did not crashed it was just restarted from the ServiceGuard with safety timer expire for some reason. System log was not up to date because /var directory was full at some point and the syslog stopped writing. Console log showed standard messages INIT occurred and safety timer expire. Analyzing the crashdumps revealed that communication with cmcld was not possible and thats why the server was rebooted probably because /var directory was full.</p>
<p>Anyway few days later customer called again and said that the node was restarted again, I expected to see the same reason but this time the reboot reason was &quot;Reboot after panic: Fault when executing in kernel mode&quot;. The problem was not in the cluster this time and the reboot reason was talking about some problems in the the kernel.</p>
<p>What is crash anyway ? From HP documentation:<br>
An abnormal system reboot is called a crash. There are many reasons that can cause a system to crash; hardware malfunctions, software panics or even power failures. The crash even type panic refers to crashes initiated by the HP-UX operating system (software crash event). There are two types of panics: direct and indirect. A direct panic refers to a subsystem calling directly the panic() kernel routine upon detection of an unrecoverable inconsistency. An indirect panic refers to a crash event as a result of trap interruption which could not be handled by the operating system for example when the kernel accesses a non-valid address.</p>
<p>I analyzed the crash dumps,&#xC2;  reviewed all the advisories and release notes and was unable to figure out what is the cause of the crash. Finally Level 2 of the support of HP&#xC2;  confirmed that this is known issue with the ONCPlus bundle. ONC stands for Open Network Computing (priviously called NFS bundle in 11.23) and it consists of the following components: Network File System, AutoFS, CacheFS, and Network Information Service. We were told to implement workaround until the fix is released next month. The workaround was to add -o readdir to the mount options of the NFS share in the fstab. Well it was obvious that the problem is with the NFS component of the ONCPlus bundle.</p>
<p>Few days later (not month) the new product (with fixed bugs) appeared online. It can be seen from the release notes the following defect fix:<br>
Directory related operations on NFS client with ONCplus B.11.31.06 or B.11.31.07 installed and with file system mounted with read/write size greater than 8192 bytes, may result in system panic or data corruption.</p>
<p>Yes, the ONCPlus bundle was 11.31.06 and we had mounted NFS share with read/write size of 32768 bytes. Both workaround and the patch seemed to fix the problem and the crash never apeared again. Keep in mind that the installation of the new ONCPlus bundle needs restart and applying the workaround does not, BUT from the support adviced us to reboot the server just to make sure that the corruption is not loaded in the memory. So if you hit this bug consider applying the new bundle.</p>
<p>The latest ONCPlus bundle can be downloaded from HP Software Depot portal.</p>
<p>Just for reference the following stack trace is dumped on the consle when the server crashes:</p>
<pre><code>bad_kern_reference: 0xffff31.0x2c20486f6d65634f, fault = 0x8
</code></pre>
<p>Message buffer contents after system crash:</p>
<pre><code>panic: Fault when executing in kernel mode
Stack Trace:
IP                    Function Name
0xe000000001f887e0&#xC2;  bad_kern_reference+0xa0
0xe00000000076a3d0&#xC2;  $cold_vfault+0x3b0
0xe000000000c45a10&#xC2;  vm_hndlr+0x510
0xe000000001bd9780&#xC2;  bubbledown+0x0
0xe000000000d00da1&#xC2;  vx_iupdat_cluster+0xa1
0xe000000000d14830&#xC2;  vx_async_iupdat+0x160
0xe000000000d4a530&#xC2;  vx_iupdat_local+0x2c0
0xe000000000d8c020&#xC2;  vx_iupdat+0xb0
0xe000000002134ed0&#xC2;  vx_iflush_list+0x4d0
0xe000000000afa8c0&#xC2;  vx_iflush+0x1d0
0xe000000000cf2710&#xC2;  vx_worklist_thread+0x200
0xe000000000e65d70&#xC2;  kthread_daemon_startup+0x90
</code></pre>
<p>Regards,<br>
Sve</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Many racgmain(check) processes at HP-UX 11iv3]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p>I was called that some commands for controlling the cluster and the oracle are not working. This was two node cluster installed with Oracle 10.2.0.4 RAC on HP-UX 11.31 Data Center OE (December 2008) working for a month already.</p>
<p>Arriving at the customer site I noticed</p>]]></description><link>https://sve.to/2009/08/17/many-racgmaincheck-processes-at-hp-ux-11iv3/</link><guid isPermaLink="false">5e18e5398885e2151c0555a7</guid><category><![CDATA[bug]]></category><category><![CDATA[crs]]></category><dc:creator><![CDATA[Svetoslav Gyurov]]></dc:creator><pubDate>Mon, 17 Aug 2009 16:38:37 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p>I was called that some commands for controlling the cluster and the oracle are not working. This was two node cluster installed with Oracle 10.2.0.4 RAC on HP-UX 11.31 Data Center OE (December 2008) working for a month already.</p>
<p>Arriving at the customer site I noticed that there are a lot (around 500) of hanging racgmain(check) processes which obviously were blocking some of the cluster commands. Errors also can be seen at this log: $CRS_HOME/log/$HOSTNAME/crsd/crsd.log:</p>
<pre><code>2009-04-08 15:22:01.700: [CRSEVT][90801] CAAMonitorHandler :: 0:Action Script /oracle/ora10g/bin/racgwrap(check) timed
out for ora.ORCL.ORCL1.inst! (timeout=600)
2009-04-08 15:22:01.700: [CRSAPP][90801] CheckResource error for 	ora.ORCL.ORCL1.inst error code = -2
2009-04-08 15:25:42.180: [CRSEVT][90811] CAAMonitorHandler :: 0:Could not join /oracle/ora10g/bin/racgwrap(check)
category: 1234, operation: scls_process_join, loc: childcrash, OS error: 0, other: Abnormal termination of the child
</code></pre>
<p>There are a lot of bugs at metalink, but no documents or suggestions how to fix that.</p>
<p>Fortunately we found a solution:</p>
<ol>
<li>
<p>Stop CRS on all nodes.</p>
</li>
<li>
<p>Make a copy of racgwrap located under $ORACLE_HOME/bin and $CRS_HOME/bin on all nodes</p>
</li>
<li>
<p>Edit the file racgwrap and modify the last 3 lines from:</p>
<pre><code> $ORACLE_HOME/bin/racgmain &quot;$@&quot;
 status=$?
 exit $status
</code></pre>
</li>
</ol>
<p>to:</p>
<pre><code>	exec $ORACLE_HOME/bin/racgmain &quot;$@&quot;
</code></pre>
<ol start="4">
<li>Restart CRS and make sure that all the resources are starts.</li>
</ol>
<p>We were lucky that hit the bug just before the migration and restarting the instances/servers was easy enough. I don&apos;t know if this really solves the problem, but we never hit the bug again.</p>
<!--kg-card-end: markdown-->]]></content:encoded></item></channel></rss>