当前位置:网站首页>目录权限错误导致 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
边栏推荐
- Is the compass reliable? Is it safe to open a securities account?
- jwt
- MOS tube related knowledge
- How to open a stock account? Is it safe to open a mobile account?
- [I.MX6UL] U-Boot移植(六) 网络驱动修改 LAN8720A
- Please run IDA with elevated permissons for local debugging.
- DDD concept is complex and difficult to understand. How to design code implementation model in practice?
- Intranet learning notes (6)
- 2022-06-24:golang选择题,以下golang代码输出什么?A:1;B:3;C:4;D:编译失败。 package main import ( “f
- 转行软件测试2年了,给还在犹豫的女生一点建议
猜你喜欢
随机推荐
FTP协议讲解
Experience of epidemic prevention and control, home office and online teaching | community essay solicitation
Post competition summary of kaggle patent matching competition
实战攻防演练中的四大特点
I've been doing software testing for two years. I'd like to give some advice to girls who are still hesitating
ida中交叉引用的解析
Intranet learning notes (6)
如何通过EasyCVR接口监测日志观察平台拉流情况?
Redis 那些事
Investigation on key threats of cloud computing applications in 2022
云原生数据库VS传统数据库
多模态情感识别_多模态融合的情感识别研究「建议收藏」
[day 26] given the ascending array nums of n elements, find a function to find the subscript of target in nums | learn binary search
Application of TSDB in civil aircraft industry
Test / development programmers, 30, do you feel confused? And where to go
Computing service network: a systematic revolution of multi integration
折叠屏将成国产手机分食苹果市场的重要武器
2022-06-24:golang选择题,以下golang代码输出什么?A:1;B:3;C:4;D:编译失败。 package main import ( “f
Is the compass reliable? Is it safe to open a securities account?
write a number of lines to a new file in vim








