oracle9i rac for aix,AIX上安装Oracle 9i RAC出现Failed to start GSD on local node

2023-10-22 01:40

本文主要是介绍oracle9i rac for aix,AIX上安装Oracle 9i RAC出现Failed to start GSD on local node,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

最近做一个数据库迁移项目,安装Oracle 9i RAC在建库时,出现Failed to start GSD on local node,解决过程如下:

testa:/oracle/app/product/9.2.0/bin>gsdctl start

Failed to start GSD on local node

这个起不来通常是由于srvConfig没有在所有结点上创建或者是访问这个文件有问题造成的。

ls -lsa /dev/ro*

0 crw-rw----  1 oracle  dba        50, 13 Nov 28 15:02 /dev/ro9_srvconf

testb:/var/opt/oracle>ls -lsa

total 4

0 drwxr-xr-x  2 oracle  dba            256 Nov 29 17:02 .

0 drwxr-xr-x  6 bin    bin            256 Nov 29 16:58 ..

4 -rw-rw-r--  1 oracle  system          31 Nov 30 13:33 srvConfig.loc

testb:/var/opt/oracle>more srvConfig.loc

srvconfig_loc=

(发现这里是空的,没有内容),手工指定:

srvconfig_loc= /dev/ro9_srvconf

重新初始化,如下

testb:/var/opt/oracle>srvconfig -init

重启后正常:

testb:/var/opt/oracle>gsdctl start

Successfully started GSD on local node

此问题也算是一个bug,详细参考Oracle Metalink ID:Resolving PRKR-1064 ina RAC Environment [ID 212631.1],如下:

Fact(s)

~~~~~~~~

Attempting to set up a shared configuration file in a Real Application Clusters

environment.

Symptom(s)

~~~~~~~~~~

PRKR-1064 error in a RAC environment.

Change(s)

~~~~~~~~~~

Setting this up for the first time or changes on the srvConfig.loc file or

shared configuration file(s).

Cause

~~~~~~~

Shared configuration file is incorrectly configured.

Fix

~~~~

Verify that the shared configuration file has been correctly configured:

1. Get ls -l output of the /var/opt/oracle/srvConfig.loc file from each node to

verify permissions:

[rac1]/var/opt/oracle> ls -l /var/opt/oracle/srvConfig.loc

-rwxrwxrwx  1 oracle dba          75 Aug 27 18:35 /var/opt/oracle/srvConfig.loc*

Note: This file (srvConfig.loc) may also exist in /etc or $ORACLE_HOME/srvm/config

This file should be readable and writable by the Oracle user on all nodes.

2. Check the contents of srvConfig.loc file on each node to verify the shared

configuration file location:

[rac1]/var/opt/oracle> more /var/opt/oracle/srvConfig.loc

srvconfig_loc=/dev/vx/rdsk/srvm.dbf

Note: This file (srvConfig.loc) may also exist in /etc or $ORACLE_HOME/srvm/config

This should be pointing to a valid shared file or raw device.

3. If you are pointing to a raw device, confirm that the raw device was created

to be at least100M. If you are using CFS or NFS, ensure that the shared

configuration file has been precreated:

[rac1]/var/opt/oracle> touch /shared/srvm.dbf

4. Check the permissions on the shared configuration file being used to verify

permissions and ownership:

[rac1]/var/opt/oracle> ls -l /dev/vx/rdsk/srvm.dbf

crw-rw----  1 oracle  dba  201,37005 Sep 4 06:35 /dev/vx/rdsk/srvm.dbf

5. Make sure you can 'dd' the shared configuration file as the Oracle user:

$ dd if= f=/dev/null bs=

Example:

[rac1]/> dd if=/dev/vx/rdsk/srvm.dbf f=/dev/null bs=8192

20480+0 records in

20480+0 records out

6. Stop the GSD if it is running.

9.0:

$ ps -ef | grep jre

$ kill -9 Note: Make sure that this is the process in use by GSD

9.2:

$ gsdctl stop

7. Attemt to re-initialize the SRVM file:

[rac1]/var/opt/oracle> srvconfig -init -f

8. If this is successful, start the GSDs and add the databases and instances to

srvctl. If this still fails, trace srvconfig using the instructions in the

following note and provide output of steps 1-8 to Oracle Support:

The following are known bugs involving PRKR-1064 errors:

Bug 2861550

Description: GSD fails at startup with PRKR-1064

Versions Affected:9.2.0.3

Platforms Affected: Linux: SLE8 and United Linux

Fixed Version:9.2.0.3 with Patch 2861550

Bug 2400133

Description: PRKR-1064 : General Exception in OCR with CFS

Versions Affected:9.2.0.X

Platforms Affected: All that support CFS

Workaround: Pre-create the shared configuration file.

Bug 2656165

Description: Failed to get status of srvconfig on PRKR-1064 when used '#'

character in srvConfig.loc.

Versions Affected:9.2.0.X

Workaround: Do not put '#' signs in the srvConfig.loc

Bug 2660531

Description: Srvconfig Fails Due To Multiple Open Of Shared File Without Closing It On Ocfs.

Versions Affected:9.2.0.1

Fixed in9.2.0.30b1331709591d260c1c78e86d0c51c18.png

这篇关于oracle9i rac for aix,AIX上安装Oracle 9i RAC出现Failed to start GSD on local node的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/258288

相关文章

Zookeeper安装和配置说明

一、Zookeeper的搭建方式 Zookeeper安装方式有三种,单机模式和集群模式以及伪集群模式。 ■ 单机模式:Zookeeper只运行在一台服务器上,适合测试环境; ■ 伪集群模式:就是在一台物理机上运行多个Zookeeper 实例; ■ 集群模式:Zookeeper运行于一个集群上,适合生产环境,这个计算机集群被称为一个“集合体”(ensemble) Zookeeper通过复制来实现

CentOS7安装配置mysql5.7 tar免安装版

一、CentOS7.4系统自带mariadb # 查看系统自带的Mariadb[root@localhost~]# rpm -qa|grep mariadbmariadb-libs-5.5.44-2.el7.centos.x86_64# 卸载系统自带的Mariadb[root@localhost ~]# rpm -e --nodeps mariadb-libs-5.5.44-2.el7

Centos7安装Mongodb4

1、下载源码包 curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.2.1.tgz 2、解压 放到 /usr/local/ 目录下 tar -zxvf mongodb-linux-x86_64-rhel70-4.2.1.tgzmv mongodb-linux-x86_64-rhel70-4.2.1/

Centos7安装JDK1.8保姆版

工欲善其事,必先利其器。这句话同样适用于学习Java编程。在开始Java的学习旅程之前,我们必须首先配置好适合的开发环境。 通过事先准备好这些工具和配置,我们可以避免在学习过程中遇到因环境问题导致的代码异常或错误。一个稳定、高效的开发环境能够让我们更加专注于代码的学习和编写,提升学习效率,减少不必要的困扰和挫折感。因此,在学习Java之初,投入一些时间和精力来配置好开发环境是非常值得的。这将为我

安装nodejs环境

本文介绍了如何通过nvm(NodeVersionManager)安装和管理Node.js及npm的不同版本,包括下载安装脚本、检查版本并安装特定版本的方法。 1、安装nvm curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash 2、查看nvm版本 nvm --version 3、安装

计算机毕业设计 大学志愿填报系统 Java+SpringBoot+Vue 前后端分离 文档报告 代码讲解 安装调试

🍊作者:计算机编程-吉哥 🍊简介:专业从事JavaWeb程序开发,微信小程序开发,定制化项目、 源码、代码讲解、文档撰写、ppt制作。做自己喜欢的事,生活就是快乐的。 🍊心愿:点赞 👍 收藏 ⭐评论 📝 🍅 文末获取源码联系 👇🏻 精彩专栏推荐订阅 👇🏻 不然下次找不到哟~Java毕业设计项目~热门选题推荐《1000套》 目录 1.技术选型 2.开发工具 3.功能

SWAP作物生长模型安装教程、数据制备、敏感性分析、气候变化影响、R模型敏感性分析与贝叶斯优化、Fortran源代码分析、气候数据降尺度与变化影响分析

查看原文>>>全流程SWAP农业模型数据制备、敏感性分析及气候变化影响实践技术应用 SWAP模型是由荷兰瓦赫宁根大学开发的先进农作物模型,它综合考虑了土壤-水分-大气以及植被间的相互作用;是一种描述作物生长过程的一种机理性作物生长模型。它不但运用Richard方程,使其能够精确的模拟土壤中水分的运动,而且耦合了WOFOST作物模型使作物的生长描述更为科学。 本文让更多的科研人员和农业工作者

K8S(Kubernetes)开源的容器编排平台安装步骤详解

K8S(Kubernetes)是一个开源的容器编排平台,用于自动化部署、扩展和管理容器化应用程序。以下是K8S容器编排平台的安装步骤、使用方式及特点的概述: 安装步骤: 安装Docker:K8S需要基于Docker来运行容器化应用程序。首先要在所有节点上安装Docker引擎。 安装Kubernetes Master:在集群中选择一台主机作为Master节点,安装K8S的控制平面组件,如AP

Node.js学习记录(二)

目录 一、express 1、初识express 2、安装express 3、创建并启动web服务器 4、监听 GET&POST 请求、响应内容给客户端 5、获取URL中携带的查询参数 6、获取URL中动态参数 7、静态资源托管 二、工具nodemon 三、express路由 1、express中路由 2、路由的匹配 3、路由模块化 4、路由模块添加前缀 四、中间件

AI基础 L9 Local Search II 局部搜索

Local Beam search 对于当前的所有k个状态,生成它们的所有可能后继状态。 检查生成的后继状态中是否有任何状态是解决方案。 如果所有后继状态都不是解决方案,则从所有后继状态中选择k个最佳状态。 当达到预设的迭代次数或满足某个终止条件时,算法停止。 — Choose k successors randomly, biased towards good ones — Close