当前位置:网站首页>The Oracle 11g RAC cluster database cannot be started due to directory permission errors
The Oracle 11g RAC cluster database cannot be started due to directory permission errors
2022-06-25 02:23:00 【Rsda DBA_ WGX】
Directory permission error caused Oracle 11g rac Cluster listening fails to start
One 、 Problem description
stay CentOS7 Install two nodes in Oracle 11g rac colony ,grid and oracle After the software is installed , When creating a database, you will be prompted that you are not listening , Unable to create database . The error code is :RPCR-1071,PRCR-1066,CRS-2566.
Two 、 The cause of the problem
Under normal circumstances ,grid Under the user $ORACLE_HOME/bin/oracle Document and oracle Under the user $ORACLE_HOME/bin/oracle Normal permissions should be -rwsr-s–x(6751). Permission to view these two files :
1、grid user
[[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
# There is no problem with the file permissions
2、oracle user
[[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
# There is a problem with the file permissions , The correct file permissions should be :-rwsr-s--x 1 oracle asmadmin
3、 ... and 、 terms of settlement
1、 modify oracle Under the user /u01/app/oracle/product/11.2.0/db_1/bin/oracle File permissions
Two nodes are modified at the same time :
[[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、 Add and start listening
-- add to listener To crs service
[grid@rac1 ~]$ srvctl add listener
-- Check the listening status
[grid@rac1 ~]$ srvctl status listener
Listener LISTENER is enabled -- Have been added
Listener LISTENER is not running -- Has not started
-- Start listening
[grid@rac1 ~]$ srvctl start listener
-- Check the listening status
[grid@rac1 ~]$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): oel11g
边栏推荐
- Please run IDA with elevated permissons for local debugging.
- 【直播回顾】战码先锋第七期:三方应用开发者如何为开源做贡献
- Kaggle 专利匹配比赛金牌方案赛后总结
- 数据库系统概论必背知识
- 左手梦想 右手责任 广汽本田不光关注销量 还有儿童安全
- 把 Oracle 数据库从 Windows 系统迁移到 Linux Oracle Rac 集群环境(3)—— 把数据库设置为归档模式
- 分布式事务解决方案和代码落地
- beescms网站渗透测试和修复意见「建议收藏」
- 疫情防控,居家办公,网上授课之心得 | 社区征文
- What is the reason for the disconnection of video playback due to the EHOME protocol access of easycvr platform?
猜你喜欢

常用的软件测试工具清单,请查收。
![[analysis of STL source code] functions and applications of six STL components (directory)](/img/f2/872fd93ef52b1424343ba634be24f6.png)
[analysis of STL source code] functions and applications of six STL components (directory)

数据库系统概论必背知识

Hashcat 的使用

折叠屏将成国产手机分食苹果市场的重要武器

疫情防控,居家办公,网上授课之心得 | 社区征文

Experience of epidemic prevention and control, home office and online teaching | community essay solicitation

Are programmers from Huawei, Alibaba and other large manufacturers really easy to find?

当他们在私域里,掌握了分寸感

高速缓存Cache详解(西电考研向)
随机推荐
高速缓存Cache详解(西电考研向)
psql 列转行
会自动化—10K,能做自动化—20K,你搞懂自动化测试没有?
把 Oracle 数据库从 Windows 系统迁移到 Linux Oracle Rac 集群环境(4)—— 修改 oracle11g rac 集群的 scanIP
LINQ 查询(3)
Convert string array to list collection
内网学习笔记(7)
都2022年了,你还不了解什么是性能测试?
获取图片外链的方法–网易相册[通俗易懂]
Dirvish Chinese document of vim
Intranet learning notes (6)
[STL source code analysis] configurator (to be supplemented)
入职一家新公司,如何快速熟悉代码?
Redis
MOS tube related knowledge
[analysis of STL source code] functions and applications of six STL components (directory)
【STL源码剖析】STL六大组件功能与运用(目录)
分布式事务解决方案和代码落地
How can Huatai Securities open an account to achieve one in ten thousand? Are securities accounts safe and reliable
数据库系统概论必背知识