温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

centos7怎么安装grid并启用oracle restart

发布时间:2021-08-17 21:12:06 来源:亿速云 阅读:208 作者:chen 栏目:关系型数据库

本篇内容主要讲解“centos7怎么安装grid并启用oracle restart”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“centos7怎么安装grid并启用oracle restart”吧!

[root@yue ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core) 

图形界面安装,对话框显示不完全的问题

默认我们安装的时候都是: ./runInstaller 也就是直接运行安装文件,但是这种默认安装的方式就会出现上述错误,为了避免上述情况出现可以通过指定参数安装:

./runInstaller -jreLoc /usr/lib/jvm/jre-1.8.0


安装到86%时报错

解决方法:

在makefile中添加链接libnnz11库的参数

修改/app/data/oracle/product/11g/sysman/lib/ins_emagent.mk文件

将:$(MK_EMAGENT_NMECTL)修改为:$(MK_EMAGENT_NMECTL) -lnnz11

然后点击Retry继续安装,就可以安装成功了


centos7  pmap 要加上-p  参数才能看到完整路径
安装root.sh脚本时,报错,
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2016-01-01 02:14:46.806:
[client(11401)]CRS-2101:The OLR was formatted using version 3.
2016-01-01 02:14:49.572:
[client(11424)]CRS-1001:The OCR was formatted using version 3.

查相关资料需安装补丁包18370031,参考下面链接:
https://fatdba.com/2016/01/06/oracle-gi-11-2-installation-on-rhel-7-error-ohasd-failed-to-start-failed-to-start-the-clusterware-last-20-lines-of-the-alert-log-follow-ohasd-failed-to-start-at-u01app11-2-0gridcrsinstallr/
安装补丁后,执行ROOT.SH
[oracle@localhost bin]$ ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.cssd ora.cssd.type OFFLINE OFFLINE
ora.diskmon ora....on.type OFFLINE OFFLINE
ora.evmd ora.evm.type ONLINE ONLINE localhost
ora.ons ora.ons.type OFFLINE OFFLINE

linux7下,root.sh脚本没有正确安装,可能是BUG造成OHASD服务没有开机启动,6之前是在/etc/inittab添加启动目录,7改变了,需在下面目录创建软连接,设置开机启动
[root@yue multi-user.target.wants]# ln -s /etc/systemd/system/oracle-ohasd.service /usr/lib/systemd/system/multi-user.target.wants/oracle-ohasd.service

http://www.lunar2013.com/2016/01/linux7%EF%BC%88centosrheloel%EF%BC%89%E5%92%8Coracle-rac%E7%8E%AF%E5%A2%83%E7%B3%BB%E5%88%97-7-%E7%BD%91%E7%BB%9C%E7%AE%A1%E7%90%86%E4%B9%8B%E6%B7%BB%E5%8A%A0%E7%BD%91%E5%8D%A1.html


srvctl start database -d devdb 报ORA-01031: insufficient privileges 

将GRID添加到DBA组即可

usermod -a -G dba grid
http://blog.itpub.net/23135684/viewspace-689072

到此,相信大家对“centos7怎么安装grid并启用oracle restart”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI