重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2011|回复: 0
打印 上一主题 下一主题

[转载] DBCA and Local SQL*Plus Connection Fails With: ORA-12547

[复制链接]
跳转到指定楼层
楼主
发表于 2018-4-30 11:02:59 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
[size=130%]DBCA and Local SQL*Plus Connection Fails With: ORA-12547: TNS:Lost Contact ORA-12753 (文档 ID 2206832.1)

                               
登录/注册后可看大图



                               
登录/注册后可看大图

In this Document
Symptoms
Changes
Cause
Solution
References


Applies to:   Oracle Database Configuration Assistant - Version 12.1.0.1 to 12.2 BETA1 [Release 12.1 to 12.2]
Information in this document applies to any platform.
SymptomsInstalling 12.1.0.1 binary and creating database option failed with below error
"Database configuration assistant failed to detect options for this Oracle installation. ORA - 12547: TNS: lost contact".

Changes This was a new server with fresh Oracle software installation.

CauseUsing the strace or DBCA or SQL*Plus following errors were identified:
17717 write(5, "ORA-12753: The Oracle home user "..., 131) = 131
17717 write(5, "\n", 1) = 1
17717 times(NULL) = 531051181
17717 write(5, "ORA-27300: OS system dependent o"..., 91) = 91
17717 write(5, "\n", 1) = 1
17717 times(NULL) = 531051181
17717 write(5, "ORA-27301: OS failure message: E"..., 38) = 38
17717 write(5, "\n", 1) = 1
17717 times(NULL) = 531051181
17717 write(5, "ORA-27302: failure occurred at: "..., 39) = 39
17717 write(5, "\n", 1) = 1
17717 times(NULL) = 531051181
17717 write(5, "ORA-27303: additional informatio"..., 92) = 92
In trace file you will find the full error message:
ORA-12753: The Oracle home user ID does not match the effective user ID of the local client which connected to the Oracle instance.
ORA-27300: OS system dependent operation:check $ORACLE_HOME ownership failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: spstp:4
ORA-27303: additional information: ORACLE_HOME uid does not match euid. uid: 237 euid: 145

The DBCA was launched with oracle user but the ORACLE_HOME was owned by another OS user, eg test.
The problem can also happen when the directory of $ORACLE_HOME itself (top directory of $ORACLE_HOME) owned by another OS user.
SolutionUse correct user to launch dbca ($ORACLE_HOME owner)

ReferencesBUG:18997967 - DBCA FAILS WITH ORA-12547: TNS: LOST CONTACT






分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-30 13:30 , Processed in 0.085151 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表