你好,游客 登录 注册 搜索
背景:
阅读新闻

ORA-12547: TNS:lost contact错误解决方法

[日期:2014-04-21] 来源:Linux社区  作者:sunny_sailor [字体:大 中 小]

运行环境:Ubuntu+Oracle 11.2.0
 
在命令启动oracle时,出现ORA-12547: TNS:lost contact错误。中午好好的纳,下午就不管了。以为是链接失效,关机重启后还是不行。然后google了一把,找到了下面的解决方法。回想了一下,引起的原因是权限的问题,中午的时候不小心该了oracle安装目录的文件夹的权限,看来oracle的权限不能随便改动。

推荐阅读:

ORA-01172、ORA-01151错误处理 http://www.linuxidc.com/Linux/2013-06/86529.htm

ORA-00600 [2662]错误解决 http://www.linuxidc.com/Linux/2013-06/86528.htm

ORA-01078 和 LRM-00109 报错解决方法 http://www.linuxidc.com/Linux/2012-07/66044.htm

ORA-00471 处理方法笔记 http://www.linuxidc.com/Linux/2013-09/90017.htm

ORA-00314,redolog 损坏,或丢失处理方法 http://www.linuxidc.com/Linux/2013-09/90646.htm

ORA-00257 归档日志过大导致无法存储的解决办法 http://www.linuxidc.com/Linux/2013-09/90594.htm

Cause

1. This could be due to kernel parameters settings
2. Incorrect permissions on the ORACLE executable 
 
Solution
 
To implement the solution, please execute the following steps:
 
1.
 This could be due to kernel parameters settings
 Please check the notes below that provide the required settings for kernel parameters
 Note 169706.1 Oracle Database on AIX,HP-UX,Linux,MacOSX,Solaris,Tru64
 Note 201021.1 SOLARIS: Quick Start Guide - 9.2.0 RDBMS Installation
 
2.
 This could be due to Incorrect permissions on the ORACLE.exe
 The 'ls' command should show permissions 6751 (as follows)
 
Please check the following:
 
$ cd $ORACLE_HOME/bin
 $ ls -l oracle
 
The output should be
 -rwsr-s--x 1 oracle dba
 
If not then please execute the following
 $ chmod 6751 oracle
 
Please also verify if the following are correct
 
echo $ORACLE_HOME
 echo $ORACLE_SID
 echo $LD_LIBRARY_PATH
 echo $PATH
 
3.
 If the above does not resolve I suggest that you shutdown the database and listener and then
 "relink all"
 Note 131321.1 How to Relink Oracle Database Software on UNIX
 完成以上步骤,再次启动oracle就ok了

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-04/100540.htm

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款