<?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>惜分飞 &#187; sqlplus ORA-12547</title>
	<atom:link href="https://www.xifenfei.com/tag/sqlplus-ora-12547/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Sun, 22 Nov 2026 15:21:14 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>ORA-12547: TNS:lost contact故障一例</title>
		<link>https://www.xifenfei.com/2022/11/ora-12547-tnslost-contact.html</link>
		<comments>https://www.xifenfei.com/2022/11/ora-12547-tnslost-contact.html#comments</comments>
		<pubDate>Wed, 16 Nov 2022 04:22:56 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[dbca ORA-12547]]></category>
		<category><![CDATA[ORA-12547]]></category>
		<category><![CDATA[sqlplus ORA-12547]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=10030</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2022/11/ora-12547-tnslost-contact.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2022/11/ora-12547-tnslost-contact.html" target="_blank">ORA-12547: TNS:lost contact故障一例</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>一个朋友安装好aix平台11.2.0.4 rac，dbca创建库报ORA-12547错误.<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2022/11/ORA-12547.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2022/11/ORA-12547.jpg" alt="ORA-12547" width="772" height="479" class="alignnone size-full wp-image-10031" /></a><br />
<hr />
尝试sqlplus 登录数据库</p>
<pre class="brush: sql; title: ; notranslate">
$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Thu Nov 17 11:45:33 2022

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

ERROR:
ORA-12547: TNS:lost contact


Enter user-name: 


ERROR:
ORA-12547: TNS:lost contact


Enter user-name: ERROR:
ORA-12547: TNS:lost contact


SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
</pre>
<p>使用truss跟踪sqlplus 执行过程,卡在kfork上面<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2022/11/20221116121953.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2022/11/20221116121953.jpg" alt="20221116121953" width="668" height="297" class="alignnone size-full wp-image-10032" /></a><br />
<hr />
检查oracle二进制文件权限,正常</p>
<pre class="brush: bash; title: ; notranslate">
$ ls -l $ORACLE_HOME/bin/oracle
-rwsr-s--x    1 oracle   oinstall  309671362 Nov 17 03:13 /u01/app/oracle/product/11.2.0/db/bin/oracle
</pre>
<p>经过分析确认是oracle home权限异常</p>
<pre class="brush: bash; title: ; notranslate">
$ ls -ld $ORACLE_HOME
drwxrwxr-x   74 grid     oinstall       4096 Nov 17 02:59 /u01/app/oracle/product/11.2.0/db
$ exit
# chown oracle:oinstall /u01/app/oracle/product/11.2.0/db
</pre>
<p>sqlplus和dbca都正常</p>
<pre class="brush: sql; title: ; notranslate">
$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Thu Nov 17 11:46:32 2022

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to an idle instance.

SQL&gt; exit
Disconnected

</pre>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2015/07/%e8%af%af%e4%bf%ae%e6%94%b9u01%e6%9d%83%e9%99%90%e6%89%80%e6%9c%89%e8%80%85%e7%9a%84%e6%95%85%e9%9a%9c%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">误修改/u01权限/所有者的故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/07/delete-partition-oracle-recovery.html" rel="bookmark" class="crp_title">误删除分区oracle数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/05/os-error-os-23-recovery.html" rel="bookmark" class="crp_title">O/S-Error: (OS 23) 数据错误(循环冗余检查) 数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/06/ora-01110-ora-17070-osd-04006.html" rel="bookmark" class="crp_title">ORA-01110 ORA-17070 OSD-04006 故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/07/ora-702_recovery-tool.html" rel="bookmark" class="crp_title">ORA-00702一键恢复工具</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/12/crs-2674-root-sh-failed.html" rel="bookmark" class="crp_title">RAC节点时间间隔过大导致执行root.sh不成功</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/03/tns-12518.html" rel="bookmark" class="crp_title">TNS-12518: TNS:listener could not hand off client connection</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/01/mallox-db-recovery.html" rel="bookmark" class="crp_title">.mallox加密数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/02/decrypt20firemail-cc-eking.html" rel="bookmark" class="crp_title">.[decrypt20@firemail.cc].eking 数据库勒索恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/07/makop-ora-recovery.html" rel="bookmark" class="crp_title">oracle文件勒索恢复工具&#8212;.makop病毒恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/04/win-fs-corruption-recovery.html" rel="bookmark" class="crp_title">win文件系统损坏oracle恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/11/sql-error-5172.html" rel="bookmark" class="crp_title">数据库附加失败 错误5172</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2022/11/ora-12547-tnslost-contact.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
