<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>《bbed 恢复 GLOBAL_NAME 为空故障》的评论</title>
	<atom:link href="https://www.xifenfei.com/2012/08/bbed-%e6%81%a2%e5%a4%8d-global_name-%e4%b8%ba%e7%a9%ba%e6%95%85%e9%9a%9c.html/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com/2012/08/bbed-%e6%81%a2%e5%a4%8d-global_name-%e4%b8%ba%e7%a9%ba%e6%95%85%e9%9a%9c.html</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Thu, 11 Dec 2025 02:46:14 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/08/bbed-%e6%81%a2%e5%a4%8d-global_name-%e4%b8%ba%e7%a9%ba%e6%95%85%e9%9a%9c.html/comment-page-1#comment-4159</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Tue, 18 Aug 2015 13:44:14 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3708#comment-4159</guid>
		<description><![CDATA[是指针，关于数据块的校验部分，自己慢慢去折磨，一句话讲不清楚
&lt;blockquote cite=&quot;comment-4157&quot;&gt;


&lt;strong&gt;&lt;a href=&quot;#comment-4154&quot; rel=&quot;nofollow&quot;&gt;惜分飞&lt;/a&gt;&lt;/strong&gt;, 


谢谢大神，受益非浅！还有点疑问：p kdbr中值最小的就是数据位置的指针么？ 还有数据校验这一块还有点不清楚。能给指点指点么 ?感谢感谢！


&lt;/blockquote&gt;]]></description>
		<content:encoded><![CDATA[<p>是指针，关于数据块的校验部分，自己慢慢去折磨，一句话讲不清楚</p>
<blockquote cite="comment-4157">
<p><strong><a href="#comment-4154" rel="nofollow">惜分飞</a></strong>, </p>
<p>谢谢大神，受益非浅！还有点疑问：p kdbr中值最小的就是数据位置的指针么？ 还有数据校验这一块还有点不清楚。能给指点指点么 ?感谢感谢！</p>
</blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>作者：san</title>
		<link>https://www.xifenfei.com/2012/08/bbed-%e6%81%a2%e5%a4%8d-global_name-%e4%b8%ba%e7%a9%ba%e6%95%85%e9%9a%9c.html/comment-page-1#comment-4157</link>
		<dc:creator><![CDATA[san]]></dc:creator>
		<pubDate>Tue, 18 Aug 2015 09:04:25 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3708#comment-4157</guid>
		<description><![CDATA[&lt;strong&gt;&lt;a href=&quot;#comment-4154&quot; rel=&quot;nofollow&quot;&gt;&#24796;&#20998;&#39134;&lt;/a&gt;&lt;/strong&gt;, 

谢谢大神，受益非浅！还有点疑问：p kdbr中值最小的就是数据位置的指针么？ 还有数据校验这一块还有点不清楚。能给指点指点么 ?  感谢感谢！]]></description>
		<content:encoded><![CDATA[<p><strong><a href="#comment-4154" rel="nofollow">&#24796;&#20998;&#39134;</a></strong>, </p>
<p>谢谢大神，受益非浅！还有点疑问：p kdbr中值最小的就是数据位置的指针么？ 还有数据校验这一块还有点不清楚。能给指点指点么 ?  感谢感谢！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/08/bbed-%e6%81%a2%e5%a4%8d-global_name-%e4%b8%ba%e7%a9%ba%e6%95%85%e9%9a%9c.html/comment-page-1#comment-4154</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Mon, 17 Aug 2015 14:21:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3708#comment-4154</guid>
		<description><![CDATA[对数据库启动过程进行跟踪，可以定位到sql，也可以定位到block，然后dump block分析
&lt;blockquote cite=&quot;comment-4153&quot;&gt;


请问大神，你怎么知道修改lock信息 时应该改为哪些值？


还有如果不知道global_name被改为空，怎么定位这个问题？


&lt;/blockquote&gt;]]></description>
		<content:encoded><![CDATA[<p>对数据库启动过程进行跟踪，可以定位到sql，也可以定位到block，然后dump block分析</p>
<blockquote cite="comment-4153">
<p>请问大神，你怎么知道修改lock信息 时应该改为哪些值？</p>
<p>还有如果不知道global_name被改为空，怎么定位这个问题？</p>
</blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>作者：san</title>
		<link>https://www.xifenfei.com/2012/08/bbed-%e6%81%a2%e5%a4%8d-global_name-%e4%b8%ba%e7%a9%ba%e6%95%85%e9%9a%9c.html/comment-page-1#comment-4153</link>
		<dc:creator><![CDATA[san]]></dc:creator>
		<pubDate>Mon, 17 Aug 2015 09:29:28 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3708#comment-4153</guid>
		<description><![CDATA[请问大神，你怎么知道修改lock信息 时应该改为哪些值？

还有如果不知道global_name被改为空，怎么定位这个问题？]]></description>
		<content:encoded><![CDATA[<p>请问大神，你怎么知道修改lock信息 时应该改为哪些值？</p>
<p>还有如果不知道global_name被改为空，怎么定位这个问题？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/08/bbed-%e6%81%a2%e5%a4%8d-global_name-%e4%b8%ba%e7%a9%ba%e6%95%85%e9%9a%9c.html/comment-page-1#comment-965</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Mon, 13 Aug 2012 06:02:54 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=3708#comment-965</guid>
		<description><![CDATA[Ora-00600 [18062] During Database Startup 
[shell]
Applies to:
Oracle Server - Enterprise Edition - Version: 11.2.0.2.0 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Symptoms
After updating the GLOBAL_NAME and setting it to NULL:
UPDATE GLOBAL_NAME SET GLOBAL_NAME = &#039;&#039;;
COMMIT;


The database is not starting up:
SQL&gt; shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL&gt; startup
ORACLE instance started.

Total System Global Area 422670336 bytes
Fixed Size 1344616 bytes
Variable Size 318770072 bytes
Database Buffers 96468992 bytes
Redo Buffers 6086656 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [18062], [], [], [], [], [], [], [],
[], [], [], []
Process ID: 3552
Session ID: 1 Serial number: 5

Cause
The steps that can cause the error:
SQL&gt; select * from global_name;

GLOBAL_NAME
--------------------------------------------------------------------------------
ORCL1.LOCALDOMAIN

SQL&gt; UPDATE GLOBAL_NAME SET GLOBAL_NAME = &#039;&#039;;

1 row updated.

SQL&gt; commit;

Commit complete.

SQL&gt; shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL&gt; startup
ORACLE instance started.

Total System Global Area 422670336 bytes
Fixed Size 1344616 bytes
Variable Size 318770072 bytes
Database Buffers 96468992 bytes
Redo Buffers 6086656 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [18062], [], [], [], [], [], [], [],
[], [], [], []
Process ID: 3552
Session ID: 1 Serial number: 5

Solution
Steps to resolve the error:

1) Mount the DB
SQL&gt; conn / as sysdba
Connected to an idle instance.
SQL&gt; startup mount;
ORACLE instance started.

Total System Global Area 422670336 bytes 
Fixed Size 1344616 bytes 
Variable Size 318770072 bytes 
Database Buffers 96468992 bytes 
Redo Buffers 6086656 bytes 
Database mounted.

2) Find the PID of the Oracle process

oracle@localhost:[oracle@localhost ~]$ ps -ef &#124; grep LOCAL &#124; grep -v grep
oracle 4030 3417 0 11:51 ? 00:00:00 oracleorcl1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))


3) Here the PID is 4030 which we will use in the GDB
oracle@localhost:[oracle@localhost ~]$ gdb $ORACLE_HOME/bin/oracle 4030


GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5_6.2)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type &quot;show copying&quot;
and &quot;show warranty&quot; for details.
This GDB was configured as &quot;i386-redhat-linux-gnu&quot;.
For bug reporting instructions, please see:
...
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/bin/oracle...(no debugging symbols found)...done.
Attaching to program: /home/oracle/app/oracle/product/11.2.0/dbhome_2/bin/oracle, process 4030
warning: .dynamic section for &quot;/lib/librt.so.1&quot; is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libodm11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libodm11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libcell11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libcell11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libskgxp11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libskgxp11.so
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libnnz11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libnnz11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libclsra11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libclsra11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libdbcfg11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libdbcfg11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libhasgen11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libhasgen11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libskgxn2.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libskgxn2.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocr11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocr11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocrb11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocrb11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocrutl11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocrutl11.so
Reading symbols from /usr/lib/libaio.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libnuma.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libnuma.so.1
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libnque11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libnque11.so
0x00d24402 in __kernel_vsyscall ()


4) Insert a breakpoint at kokiasg
(gdb) break kokiasg
Breakpoint 1 at 0x99f4d04


5) Continue the debugging
(Gdb) continue
Continuing.


6) Open the DB
SQL&gt; alter database open

The hang will happen at the following point in the alert log due to the above break point
Database Characterset is WE8MSWIN1252


The gdb output will show:
Breakpoint 1 , 0x0a3d404d in kokiasg ()


7) Open a new SQLPLUS session as the first one is currently hanging due to the 
     break-point and restore the GLOBAL_NAME to its original value:

SQLPLUS / as sysdba

SQL&gt; select status from v$instance;

STATUS
-----------
OPEN

SQL &gt; update global_name set global_name = &#039;ORCL1.LOCALDOMAIN&#039;;

1 row updated.

SQL &gt; commit;


8) In another session connect to SQLPLUS and check the GLOBAL_NAME:
SQL&gt; select * from global_name;

GLOBAL_NAME
----------------------
ORCL1.LOCALDOMAIN

9) Kill the GDB session which is currently suspending the database OPEN:
(Gdb) kill
Kill the program being debugged? (y or n) y
(Gdb) quit

At this moment, sqlplus will prompt:
alter database open
*
ERROR at line 1 :
ORA - 03113 : end - of - file on communication channel

10) Restart the DB.
[/shell]]]></description>
		<content:encoded><![CDATA[<p>Ora-00600 [18062] During Database Startup </p>
<pre class="brush: bash; title: ; notranslate">
Applies to:
Oracle Server - Enterprise Edition - Version: 11.2.0.2.0 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Symptoms
After updating the GLOBAL_NAME and setting it to NULL:
UPDATE GLOBAL_NAME SET GLOBAL_NAME = '';
COMMIT;


The database is not starting up:
SQL&gt; shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL&gt; startup
ORACLE instance started.

Total System Global Area 422670336 bytes
Fixed Size 1344616 bytes
Variable Size 318770072 bytes
Database Buffers 96468992 bytes
Redo Buffers 6086656 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [18062], [], [], [], [], [], [], [],
[], [], [], []
Process ID: 3552
Session ID: 1 Serial number: 5

Cause
The steps that can cause the error:
SQL&gt; select * from global_name;

GLOBAL_NAME
--------------------------------------------------------------------------------
ORCL1.LOCALDOMAIN

SQL&gt; UPDATE GLOBAL_NAME SET GLOBAL_NAME = '';

1 row updated.

SQL&gt; commit;

Commit complete.

SQL&gt; shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL&gt; startup
ORACLE instance started.

Total System Global Area 422670336 bytes
Fixed Size 1344616 bytes
Variable Size 318770072 bytes
Database Buffers 96468992 bytes
Redo Buffers 6086656 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [18062], [], [], [], [], [], [], [],
[], [], [], []
Process ID: 3552
Session ID: 1 Serial number: 5

Solution
Steps to resolve the error:

1) Mount the DB
SQL&gt; conn / as sysdba
Connected to an idle instance.
SQL&gt; startup mount;
ORACLE instance started.

Total System Global Area 422670336 bytes 
Fixed Size 1344616 bytes 
Variable Size 318770072 bytes 
Database Buffers 96468992 bytes 
Redo Buffers 6086656 bytes 
Database mounted.

2) Find the PID of the Oracle process

oracle@localhost:[oracle@localhost ~]$ ps -ef | grep LOCAL | grep -v grep
oracle 4030 3417 0 11:51 ? 00:00:00 oracleorcl1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))


3) Here the PID is 4030 which we will use in the GDB
oracle@localhost:[oracle@localhost ~]$ gdb $ORACLE_HOME/bin/oracle 4030


GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5_6.2)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type &quot;show copying&quot;
and &quot;show warranty&quot; for details.
This GDB was configured as &quot;i386-redhat-linux-gnu&quot;.
For bug reporting instructions, please see:
...
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/bin/oracle...(no debugging symbols found)...done.
Attaching to program: /home/oracle/app/oracle/product/11.2.0/dbhome_2/bin/oracle, process 4030
warning: .dynamic section for &quot;/lib/librt.so.1&quot; is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libodm11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libodm11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libcell11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libcell11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libskgxp11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libskgxp11.so
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libnnz11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libnnz11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libclsra11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libclsra11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libdbcfg11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libdbcfg11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libhasgen11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libhasgen11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libskgxn2.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libskgxn2.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocr11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocr11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocrb11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocrb11.so
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocrutl11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libocrutl11.so
Reading symbols from /usr/lib/libaio.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libnuma.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libnuma.so.1
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libnque11.so...(no debugging symbols found)...done.
Loaded symbols for /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libnque11.so
0x00d24402 in __kernel_vsyscall ()


4) Insert a breakpoint at kokiasg
(gdb) break kokiasg
Breakpoint 1 at 0x99f4d04


5) Continue the debugging
(Gdb) continue
Continuing.


6) Open the DB
SQL&gt; alter database open

The hang will happen at the following point in the alert log due to the above break point
Database Characterset is WE8MSWIN1252


The gdb output will show:
Breakpoint 1 , 0x0a3d404d in kokiasg ()


7) Open a new SQLPLUS session as the first one is currently hanging due to the 
     break-point and restore the GLOBAL_NAME to its original value:

SQLPLUS / as sysdba

SQL&gt; select status from v$instance;

STATUS
-----------
OPEN

SQL &gt; update global_name set global_name = 'ORCL1.LOCALDOMAIN';

1 row updated.

SQL &gt; commit;


8) In another session connect to SQLPLUS and check the GLOBAL_NAME:
SQL&gt; select * from global_name;

GLOBAL_NAME
----------------------
ORCL1.LOCALDOMAIN

9) Kill the GDB session which is currently suspending the database OPEN:
(Gdb) kill
Kill the program being debugged? (y or n) y
(Gdb) quit

At this moment, sqlplus will prompt:
alter database open
*
ERROR at line 1 :
ORA - 03113 : end - of - file on communication channel

10) Restart the DB.
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
