部署rac 提示ORA-15018: diskgroup cannot be created解決辦法
[root@his2 soft]# /app/grid/product/11.2.0/grid/root.sh
Running Oracle 11g root script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /app/grid/product/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: /app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
OLR initialization - successful
Adding daemon to inittab
ACFS-9200: Supported
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9321: Creating udev for ADVM/ACFS.
ACFS-9323: Creating module dependencies - this may take some time.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9309: ADVM/ACFS installation correctness verified.
CRS-2672: Attempting to start 'ora.mdnsd' on 'his2'
CRS-2676: Start of 'ora.mdnsd' on 'his2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'his2'
CRS-2676: Start of 'ora.gpnpd' on 'his2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'his2'
CRS-2672: Attempting to start 'ora.gipcd' on 'his2'
CRS-2676: Start of 'ora.cssdmonitor' on 'his2' succeeded
CRS-2676: Start of 'ora.gipcd' on 'his2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'his2'
CRS-2672: Attempting to start 'ora.diskmon' on 'his2'
CRS-2676: Start of 'ora.diskmon' on 'his2' succeeded
CRS-2676: Start of 'ora.cssd' on 'his2' succeeded
Disk Group ORACRS creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification '/dev/oracleasm/disks/CRSVOL' matches no disks
ORA-15025: could not open disk "/dev/oracleasm/disks/CRSVOL"
ORA-15056: additional error message
Configuration of ASM ... failed
see asmca logs at /app/grid/grid_base/cfgtoollogs/asmca for details
Did not succssfully configure and start ASM at /app/grid/product/11.2.0/grid/crs/install/crsconfig_lib.pm line 6464.
/app/grid/product/11.2.0/grid/perl/bin/perl -I/app/grid/product/11.2.0/grid/perl/lib -I/app/grid/product/11.2.0/grid/crs/install /app/grid/product/11.2.0/grid/crs/install/rootcrs.pl execution failed
[root@his2 soft]#
Last login: Thu Apr 17 16:00:56 2014 from 10.0.0.254
[root@his2 ~]# ll -l /dev/oracleasm/disks/CRSVOL
brw------- 1 root root 8, 1 Apr 17 15:16 /dev/oracleasm/disks/CRSVOL
[root@his2 ~]# cd /dev/oracleasm/disks/
[root@his2 disks]# ls
CRSVOL DATVOL FRAVOL
[root@his2 disks]# ll
total 0
brw------- 1 root root 8, 1 Apr 17 15:16 CRSVOL 這邊許可權出了問題導致
brw------- 1 root root 8, 17 Apr 17 15:16 DATVOL
brw------- 1 root root 8, 33 Apr 17 15:16 FRAVOL
[root@his2 disks]# cd ./usr/sbin/oracleasm configure
-bash: cd: ./usr/sbin/oracleasm: No such file or directory
[root@his2 disks]# /usr/sbin/oracleasm configure
ORACLEASM_ENABLED=true
ORACLEASM_UID=grid
ORACLEASM_GID=onstall
ORACLEASM_SCANBOOT=true
ORACLEASM_SCANORDER=""
ORACLEASM_SCANEXCLUDE=""
[root@his2 disks]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [grid]: grid
Default group to own the driver interface [onstall]: oinstall
Start Oracle ASM library driver on boot (y/n) [y]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@his2 disks]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@his2 disks]# oracleasm listdisks;
CRSVOL
DATVOL
FRAVOL
[root@his2 disks]# cd /dev/oracleasm/disks/
[root@his2 disks]# ll
total 0
brw-rw---- 1 grid oinstall 8, 1 Apr 17 15:16 CRSVOL
brw-rw---- 1 grid oinstall 8, 17 Apr 17 15:16 DATVOL
brw-rw---- 1 grid oinstall 8, 33 Apr 17 15:16 FRAVOL
[root@his2 disks]# /app/grid/product/11.2.0/grid/root.sh
Running Oracle 11g root script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /app/grid/product/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: /app/grid/product/11.2.0/grid/crs/install/crsconfig_params
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node his1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
[root@his2 disks]# crsctl stat res -t
-bash: crsctl: command not found
[root@his2 disks]# su - grid
[grid@his2 ~]$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
[grid@his2 ~]$ crsstat -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ORACRS.dg
ONLINE ONLINE his1
ONLINE ONLINE his2
ora.asm
ONLINE ONLINE his1 Started
ONLINE ONLINE his2
ora.gsd
OFFLINE OFFLINE his1
OFFLINE OFFLINE his2
ora.net1.network
ONLINE ONLINE his1
ONLINE ONLINE his2
ora.ons
ONLINE ONLINE his1
ONLINE ONLINE his2
ora.registry.acfs
ONLINE ONLINE his1
ONLINE ONLINE his2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE his1
ora.cvu
1 ONLINE ONLINE his1
ora.his1.vip
1 ONLINE ONLINE his1
ora.his2.vip
1 ONLINE ONLINE his2
ora.oc4j
1 ONLINE ONLINE his1
ora.scan1.vip
1 ONLINE ONLINE his1
[grid@his2 ~]$ crsctk check crs
-bash: crsctk: command not found
[grid@his2 ~]$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
[grid@his2 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2368
Available space (kbytes) : 259752
ID : 1459065767
Device/File Name : +ORACRS
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check bypassed due to non-privileged user
[grid@his2 ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 11b2373f9bc94f17bfd8c7e39a386573 (/dev/oracleasm/disks/CRSVOL) [ORACRS]
Located 1 voting disk(s).
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29065182/viewspace-1144273/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Workspace in use or cannot be created, choose a different one.--錯誤解決辦法
- TypeError: Descriptors cannot not be created directly問題的解決Error
- ImportError: cannot import name ‘imresize‘解決辦法ImportError
- Cannot get a connection, pool exhausted解決辦法
- SAP錯誤提示解決辦法
- 解決 TypeError: Type aliases cannot be used with isinstance(). 辦法Error
- PHP提示Notice: Undefined variable的解決辦法PHPUndefined
- virtualbox中Cannot register the hard disk錯誤解決辦法
- (轉)RAC srvctl 命令報 libpthread.so.0 cannot open shared object file解決辦法threadObject
- oracle rac asm 問題的官方解決辦法OracleASM
- Typecho1.0Nginx提示accessdenied的解決辦法。Nginx
- Xamarin提示安裝包錯誤解決辦法
- Android Studio 出現“Cannot resolve symbol” 解決辦法AndroidSymbol
- nginx部署後常見問題解決辦法Nginx
- phpmyadmin 提示 PHP 5.2+ is required 的解決辦法PHPUI
- spring cvc-elt.1: Cannot find the declaration of element 'beans'解決辦法SpringBean
- IDEA提示failed to load JVM DLL的解決辦法IdeaAIJVM
- Win7安裝錯誤提示與解決辦法Win7
- eclipse自動提示功能沒了的解決辦法Eclipse
- 【git】Git commit時提示錯誤時 解決辦法GitMIT
- 在RAC建立資料庫報無法建立“/etc/oratab"解決辦法資料庫
- Navicat tnt版本提示“failed to save password error code”的解決辦法AIError
- 使用SVN提示“工作副本已經鎖定”的解決辦法 .
- 【收藏】win7開啟word每次提示配置解決辦法Win7
- IDEA、Pycharm提示解除安裝失敗的解決辦法IdeaPyCharm
- mongodb錯誤解決辦法-bash: ./mongod: cannot execute binary file: Exec format errorMongoDBORMError
- org.hibernate.exception.JDBCConnectionException: Cannot open connection 解決辦法ExceptionJDBC
- ORA-01102: cannot mount database in EXCLUSIVE mode 的解決辦法Database
- kubeadm 部署k8s 映象翻牆解決辦法K8S
- 10g rac下status經常有unknow的解決辦法
- Vue 之 多個路由繫結同一元件造成created不執行的解決辦法、created沒有執行的問題Vue路由元件
- Visual studio 2017中 Javascript無法智慧提示的解決辦法JavaScript
- 電腦提示“RPC伺服器不可用”解決辦法RPC伺服器
- 行動硬碟-行動硬碟提示格式化的解決辦法硬碟
- ssh 安裝及登入提示:connection refused的解決辦法
- PbootCMS提示未匹配到本域名有效授權碼解決辦法boot
- github慢解決辦法Github
- Grub Rescue解決辦法