oracle asm 安装报错,oracle 单机ASM 安装GRID

---第一次执行/u01/11.2.0/grid/root.sh 脚本

[root@test ~]# /u01/app/oraInventory/orainstRoot.sh

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

[root@test ~]#

[root@test ~]#

[root@test ~]# /u01/11.2.0/grid/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:

Copying dbhome to /usr/local/bin ...

Copying oraenv to /usr/local/bin ...

Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params

Creating trace directory

LOCAL ADD MODE

Creating OCR keys for user 'grid', privgrp 'oinstall'..

Operation successful.

LOCAL ONLY MODE

Successfully accumulated necessary OCR keys.

Creating OCR keys for user 'root', privgrp 'root'..

Operation successful.

CRS-4664: Node test successfully pinned.

Adding Clusterware entries to inittab

ohasd failed to start

Failed to start the Clusterware. Last 20 lines of the alert log follow:

2019-09-12 10:06:30.499:

[client(43175)]CRS-2101:The OLR was formatted using version 3.

2019-09-12 10:06:30.743:

[client(43281)]CRS-1001:The OCR was formatted using version 3.

2019-09-12 10:08:35.643:

[ohasd(43452)]CRS-2112:The OLR service started on node test.

2019-09-12 10:08:35.646:

[ohasd(43452)]CRS-1301:Oracle High Availability Service started on node test.

ohasd failed to start at /u01/11.2.0/grid/crs/install/roothas.pl line 377, line 8.

/u01/11.2.0/grid/perl/bin/perl -I/u01/11.2.0/grid/perl/lib -I/u01/11.2.0/grid/crs/install /u01/11.2.0/grid/crs/install/roothas.pl execution failed

[root@test ~]#

---报错ohasd failed to start at /u01/11.2.0/grid/crs/install/roothas.pl line 377, line 8.

系统环境:Linux Server release 7.3

数据库环境:11.2.0.4.0

解决方案:

第一步,回退root.sh脚本操作

/u01/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force

[root@test ~]# /u01/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force

Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params

Usage: srvctl []

commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config|upgrade

objects: database|service|asm|diskgroup|listener|home|ons

For detailed help on each command and object and its options use:

srvctl -h or

srvctl -h

PRKO-2012 : nodeapps object is not supported in Oracle Restart

CRS-4013: This command is not supported in a single-node configuration.

CRS-4000: Command Stop failed, or completed with errors.

################################################################

# You must kill processes or reboot the system to properly #

# cleanup the processes started by Oracle clusterware #

################################################################

Successfully deconfigured Oracle clusterware stack on this node

第二步:

在执行root.sh脚本时出现Adding daemon to inittab的时候,在另一个窗口使用root立即执行以下命令:

dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1(等待root.sh成功执行完毕后可以ctrl+c取消这里的命令)

OK,此时Grid 安装通过。

---第二次执行成功

[root@test ~]# /u01/11.2.0/grid/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /u01/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:

The contents of "dbhome" have not changed. No need to overwrite.

The contents of "oraenv" have not changed. No need to overwrite.

The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params

LOCAL ADD MODE

Creating OCR keys for user 'grid', privgrp 'oinstall'..

Operation successful.

LOCAL ONLY MODE

Successfully accumulated necessary OCR keys.

Creating OCR keys for user 'root', privgrp 'root'..

Operation successful.

CRS-4664: Node test successfully pinned.

Adding Clusterware entries to inittab

test 2019/09/12 10:12:46 /u01/11.2.0/grid/cdata/test/backup_20190912_101246.olr

Successfully configured Oracle Grid Infrastructure for a Standalone Server

--取消另一个窗口

[root@test ~]# /bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1

^C0+0 records in

0+0 records out

0 bytes (0 B) copied, 398.8 s, 0.0 kB/s

[root@test ~]#

[grid@test ~]$ crs_stat -t

Name Type Target State Host

------------------------------------------------------------

ora.DATA.dg ora....up.type ONLINE ONLINE test

ora....ER.lsnr ora....er.type ONLINE ONLINE test

ora.asm ora.asm.type ONLINE ONLINE test

ora.cssd ora.cssd.type ONLINE ONLINE test

ora.diskmon ora....on.type OFFLINE OFFLINE

ora.evmd ora.evm.type ONLINE ONLINE test

ora.ons ora.ons.type OFFLINE OFFLINE

[grid@test ~]$

来源:博客园

作者:钱若梨花落

链接:https://www.cnblogs.com/ss-33/p/11510506.html

Oracle DBCA工具图形化方式检测不到ASM磁盘组(解决各种报错) 这里想要提醒大家,有些DBA有意无意中看到这样的目录权限,发现所属主是root,以为出了问题,理所应当地通过命令去更改,如果只更改该目录权限问题也不大,回退方法很简单,但一旦加上-R参数递归方式把子目录、子文件的权限一并更改,那故障就发生了。所以,大家在操作的时候不要盲目去做没有把握的事情,掌握每个操作后面的原理以及其带来的后果,以至于充分准备好回退方法.ORACLE_HOME不能直接赋予775的权限,查询grid和oracle $ORACLE_HOME/bin/oracle下的权限,都变成了775权限。 阅读详情

相关推荐

11g 单实例重新安装GRID报ASM已经存在

问题描述 11g单实例,删除了已经安装的软件,dd 了相关磁盘,并删除了rc.d中的相关链接,/etc/init.d/下的2个启动文件。 但还是报错:错误日志如下: [root@OEL63 ~]# tail -f /u01/oraInventory/logs/installActions2014-06-18_09-16-15AM.log INFO: Automatic

DATA 4366

安装11.2.0.3 asm,grid 执行root脚本报错/u01/app/oraInventory/orainstRoot.sh

这是很久之前的脚本,贴出来凑个数 --下面是执行root脚本报错 [root@localhost app]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing re

老农民挖数据 1万+

oracle asm - ORA-01034: ORACLE not available

在安装GI 12.2或更高版本GIs时遇到ORA-17635 ORA-01034 ORA-27101报错 适用于Oracle 12.2.0.1及更高数据库版本 问题场景 使用OUI安装12.2或更高版本Grid Infrastructure。 在运行root.sh时,磁盘组成功建立但ASM spfile创建失败。 asmca-<dateTimeStamp>.log中显示相关建立...

ORACLE数据库数据恢复、性能优化、故障诊断来问问MACLEAN 2480

Oracle 11gR2构建RAC之(4)--安装GI

Oracle 11gR2构建RAC之(4)--安装GI系统环境:操作系统:RedHat EL5Cluster: Oracle GI(Grid Infrastructure)Oracle: Oracle 11.2.0.1.0如图所示:RAC 系统架构四、安装并配置GI以grid用户的身份登录系统,安装GI.安装并配置GI配置scan ip(注意要和hosts文件一致)添...

weixin_34124651的博客 282

告别昂贵硬件!用Unity3D 2023 + ROS2 Humble搭建你的第一个SLAM仿真实验室(保姆级教程)

本文提供了一份详细的教程,介绍如何使用Unity3D 2023和ROS2 Humble搭建SLAM仿真实验室,无需昂贵硬件即可实现虚拟传感器模拟和算法测试。通过Docker容器配置、ROS2安装优化及Unity插件集成,开发者可以快速构建高精度的仿真环境,适用于自主导航、多传感器标定等场景。

weixin_42526353的博客 434

Tessy学习系列(三):单元测试——官方例程isValueInRange

注意:工程名称以及路劲不能包含空格和中文

不吃鱼的猫的博客 2347

安装完clusterware执行root.sh脚本结果

[root@rac01 by-path]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. ...

weixin_34248705的博客 141

内网穿透-frp二层隧道搭建

环境: weblogic: 192.168.0.133 10.10.20.12 win7 : 10.10.20.7 10.10.10.7go语言、跨平台的 可以分为frpc和frps frpc—>请求----->frps frps:放到黑客公网上 1.需要出网 2.配置: frpc:放到肉鸡上,请求frps 2.端口转发 2.1frpc传到肉鸡(weblogic) 利用工具,传入内存马到weblogic,然后使用冰蝎进行连接 然后在文件管理中上传frpc.exe和frpc.ini文件 fr

yyytaotao的博客 2103

oracle 11g rac vipca脚本,Configure Oracle 11gR2 RAC 一节点执行root.sh脚本报错

在搭建11gR2 RAC过程中,在db01节点执行root.sh脚本成功,却在db02节点执行root.sh脚本未成功,见下文红色部分:[root@db02 app]# /u01/app/oraInventory/orainstRoot.shChanging permissions of /u01/app/oraInventory.Adding read,write permissions for...

weixin_32559133的博客 549

深入CRSF协议数据包:手撕STM32代码,教你像调试串口一样分析ELRS遥控数据流

本文深入解析CRSF协议数据包,通过手撕STM32代码,教你如何像调试串口一样分析ELRS遥控数据流。从硬件准备到数据包捕获状态机设计,再到高级数据分析技巧和实战应用,全面覆盖CRSF协议的解析与优化,帮助开发者构建稳定可靠的通信系统。

weixin_29194693的博客 337

CD-SSB和NCD-SSB相关内容

NR中,PSS/SSS 和PBCH总是绑定的,因此也称为SSB block。频域由下往上,第121个SC(k = 120)的中心频率,就是SSB的GSCN对应的SSREF(同步参考频率)的出处如上,同步栅格映射到SSB 的RE位置是10个PRB的位置,然后指向RE index 0,即第121个子载波的中心频率;UE获得N_offset_GSCN后,即可结合当前SSB的GSCN推算下一个SSB的GSCN =N_Reference_GSCN(当前SSB的GSCN) + N_offset_GSCN。

asd199086的博客 3429

RAC11安装节点2执行脚本root.sh错误 crs-4000错误

节点1 rac1执行两个脚本都是success, 节点2rac2执行最后一个脚本root.sh 出现错误。 错误的原因是因为节点1 和节点2 防火墙没有关闭,关闭防火墙安装成功 节点1: [oracle@rac1 gri...

csb47658的博客 732

图神经网络实战(1)——图神经网络(Graph Neural Networks, GNN)基础

本节全面介绍了图神经网络 (Graph Neural Network, GNN) ,包括其在数据分析和机器学习中的重要性。首先探讨了图作为数据表示的相关概念及其在各个领域的广泛应用;然后深入探讨图学习的重要性,包括不同的应用和技术。最后,重点介绍了 GNN 架构,并对比了它与其他方法之间的原理和性能差异。

盼小辉丶的博客 15万+

oracle 单机ASM 安装GRID 报错

---第一次执行/u01/11.2.0/grid/root.sh 脚本[root@test ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,e...

weixin_30779691的博客 377

Transformer 跨界物理建模:探索模拟动态物理系统方法与实践(PINN、流体力学、有限元)

是一个由 Nicholas Zabaras 团队开发的开源项目,托管于 GitHub,旨在将 Transformer 模型(最初在自然语言处理领域大获成功)应用于物理系统的建模与预测。该项目基于论文 ​*“Transformers for Modeling Physical Systems”*​(Neural Networks, 2022),探索了深度学习中的 Transformer 架构如何通过自注意力机制和 Koopman 嵌入来模拟动态物理系统。

源代码杀手的博客 1191

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

单机grid oracle,oracle 单机ASM 安装GRID

---第一次执行/u01/11.2.0/grid/root.sh 脚本[[emailprotected] ~]# /u01/app/oraInventory/orainstRoot.shChanging permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,...

weixin_39520869的博客 397

Devexpress16.2.6破解工具

Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具

在安装 Oracle Grid 前配置 ASMFD 步骤

1、检查 kmod 版本是否为:kmod-20-21.el7.x86_64 and later versions。查看 ASMFD 核心模块 oracleafd 是否存在。5、修改磁盘属主( 允许 grid 用户进行磁盘操作 )2、检查 OS 版本是否在 ASMFD 支持列表中。4、设置 ASMFD 标签( 用于固定磁盘 )在安装过程中显示的有关 ASMFD 内容。查看当前 Disk String。即该问题对安装无影响,可忽略。查看 ASMFD 搜索磁盘路径。验证 ASMFD 状态。

weixin_51412155的博客 1236

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

IMSL CNL 7.0.0 (x86-64)Crack

IMSL CNL 7.0.0 (x86-64)Crack intel的算法库破解文件,这是C++版本的破解文件

Oracle 19c Grid Infrastructure安装

概述 本文描述在单个主机上(不是RAC)GI 12.2.0.1的安装。 Oracle数据库软件12.2.0.1已安装,但未创建任何数据库。 主机为Oracle Linux 7,主机上已安装先决条件包(oracle-database-server-12cR2-preinstall RPM包),数据库使用oracle用户安装,GI准备用grid用户安装。 安装GI要求主机内存至少8G。 Grid In...

In-Memory Computing Technology 1万+

ASM磁盘组创建Grid Infrastructure 12安装图解(二)

装ASM和grid Infrastructure 12C 相关软件的信息如下 名称 版本号 RedHat  rhel-server-6.7-x86_64-dvd Oracle VM VirtualBox 5.0.2 Grid Infrastructure

moscot_wu的博客 4198

ASMCA needs Oracle Grid Infrastructure to configure ASM.

Redhat 5.5 上安装11.2.0.3 Grid Infrastructure 的时候,安装的时候选择的是“ Install Grid Infrastructure Software Only”。安装完之后,使用asmca配置 (或者: asmca -silent -configureASM -sysAsmPassword oracle -asmsnmpPassword oracle -

Joyce 5071

oracle 单节点 asm,oracle 单机ASM 安装GRID

---第一次执行/u01/11.2.0/grid/root.sh 脚本[[emailprotected] ~]# /u01/app/oraInventory/orainstRoot.shChanging permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,...

weixin_28972031的博客 464

oracle rac重建grid,oracle 11g rac安装之grid报错解决

1.在rac2节点使用oracleasm找不到共享磁盘[root@rac2 ~]# oracleasm scandisksReloading disk partitions: doneCleaning any stale ASM disks...Scanning system for ASM disks...[root@rac2 ~]#是因为在rac1节点格式化磁盘没有使用partprobe命令,...

weixin_39702714的博客 450

Oracle RAC 集群的安装(保姆级教程)

RAC集群在Linux上的搭建,保姆级教程

DBA成长之路 1万+

Oracle c asm单机OPatch补丁报错“checkSystemCommandAvailable“ failed.

Oracle的ASM最初是为RAC(Real Application Clusters)设计的,但在单机环境下,它也被广泛使用。中,但多节点RAC也可能出现,只是概率较低。有趣的是,Oracle在19c以后的版本中已经部分修复了这个问题,但如果你使用的是较早的补丁集(如19.3、19.6等),仍然可能遇到。以下是三种常见的处理方法:### 方法一:修改opatch的检查配置文件(推荐)OPatch的检查逻辑是可配置的。它的本质是OPatch的检查逻辑过于严格,要求执行一个在单机ASM中不起作用的集群命令。

zvsENxrZD的博客 201

oracle++卸载grid,GRID卸载及重新安装

由于之前错误安装或者其他问题需要重新安装GRID,出现以下报错安装orace grid infrastructure 提示“[INS-40404] The installer has detected a configured instance of1、卸载GRID软件su - gridcd /u01/app/11.2.0/grid/deinstall/或者cd /u01/app/grid/pro...

weixin_33239721的博客 1556
上一篇: oracle change user password,Change Weblogic admin password in Oracle EBS R12.2
下一篇: oracle表名的管理规则,Oracle管理规则与完全关系型
shudaoguli
博客等级 码龄7年 31粉丝 79原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值