当前位置:网站首页>目录权限错误导致 Oracle 11g rac 集群数据库无法启动的问题
目录权限错误导致 Oracle 11g rac 集群数据库无法启动的问题
2022-06-24 22:54:00 【睿思达DBA_WGX】
目录权限错误导致 Oracle 11g rac 集群监听无法启动的问题
目录
一、问题描述
在 CentOS7 中安装两节点 Oracle 11g rac 集群,grid 和 oracle 软件安装完成后,创建数据库时提示没有监听,无法创建数据库。错误代码为:RPCR-1071,PRCR-1066,CRS-2566。
二、问题的原因
正常情况下,grid 用户下的 $ORACLE_HOME/bin/oracle 文件和 oracle 用户下的 $ORACLE_HOME/bin/oracle 正常权限应为-rwsr-s–x(6751)。查看这两个文件的权限:
1、grid 用户
[[email protected] bin]$ pwd
/u01/app/11.2.0/grid/bin
[[email protected] bin]$ ls -al oracle
-rwsr-s--x 1 grid oinstall 209854152 Jun 13 20:22 oracle
# 文件的权限没有问题
2、oracle 用户
[[email protected] ~]$ cd $ORACLE_HOME/bin
[[email protected] bin]$ pwd
/u01/app/oracle/product/11.2.0/db_1/bin
[[email protected] bin]$ ls -al oracle
-rwxr-xr-x 1 oracle oinstall 239520784 Jun 13 22:43 oracle
# 该文件权限有问题,正确的文件权限应为:-rwsr-s--x 1 oracle asmadmin
三、解决办法
1、修改 oracle 用户下的 /u01/app/oracle/product/11.2.0/db_1/bin/oracle 文件权限
两个节点同时修改:
[[email protected] bin]$chown oracle:asmadmin oracle
[[email protected] bin]$chmod 6751 oracle
[[email protected] bin]# ls -al oracle
-rwsr-s--x 1 oracle asmadmin 239520784 Jun 13 22:43 oracle
2、添加并启动监听
-- 添加 listener 到 crs 服务
[grid@rac1 ~]$ srvctl add listener
-- 查看监听状态
[grid@rac1 ~]$ srvctl status listener
Listener LISTENER is enabled -- 已添加
Listener LISTENER is not running -- 没有启动
-- 启动监听
[grid@rac1 ~]$ srvctl start listener
-- 查看监听状态
[grid@rac1 ~]$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): oel11g
边栏推荐
- 华泰证券如何开户能做到万分之一?证券开户安全可靠吗
- 【Proteus仿真】Arduino UNO+数码管显示4x4键盘矩阵按键
- beescms网站渗透测试和修复意见「建议收藏」
- Sumati GameFi生态纵览,神奇世界中的元素设计
- EasyCVR国标协议接入的通道,在线通道部分播放异常是什么原因?
- Application of TSDB in civil aircraft industry
- LINQ 查询(3)
- js正则匹配数字、大小写字母、下划线、中线和点[通俗易懂]
- Do you know your ABC
- Is GF futures safe? What do I need to open an account?
猜你喜欢

The role of software security testing, how to find a software security testing company to issue a report?

【直播回顾】战码先锋第七期:三方应用开发者如何为开源做贡献

背了八股文,六月赢麻了……

Sumati GameFi生态纵览,神奇世界中的元素设计

华为、阿里等大厂程序员真的好找对象吗?

DDD concept is complex and difficult to understand. How to design code implementation model in practice?

3 years of testing experience. I don't even understand what I really need on my resume. I need 20K to open my mouth?

qt打包exe文件,解决“无法定位程序输入点_ZdaPvj于动态链接库Qt5Cored.dll”

做软件安全测试的作用,如何寻找软件安全测试公司出具报告?

Folding screen will become an important weapon for domestic mobile phones to share the apple market
随机推荐
Of the seven levels of software testers, it is said that only 1% can achieve level 7
Use of hashcat
都2022年了,你还不了解什么是性能测试?
【FPGA】串口以命令控制温度采集
计算机三级(数据库)备考题目知识点总结
测试/开发程序员,30而立,你是否觉得迷茫?又当何去何从......
|How to analyze bugs? Professional summary and analysis
如何选择正规安全的外汇交易平台?
It's 2022, and you still don't know what performance testing is?
jwt
Sumati gamefi ecological overview, element design in the magical world
常用的软件测试工具清单,请查收。
Experience of epidemic prevention and control, home office and online teaching | community essay solicitation
LINQ query (3)
How to quickly familiarize yourself with the code when you join a new company?
华泰证券如何开户能做到万分之一?证券开户安全可靠吗
内网学习笔记(7)
The role of software security testing, how to find a software security testing company to issue a report?
【Proteus仿真】Arduino UNO+数码管显示4x4键盘矩阵按键
Chinese address and English address