- 最后登录
- 2014-11-7
- 在线时间
- 7 小时
- 威望
- 0
- 金钱
- 50
- 注册时间
- 2012-12-11
- 阅读权限
- 10
- 帖子
- 8
- 精华
- 0
- 积分
- 0
- UID
- 809
|
1#
发表于 2012-12-21 17:07:22
|
查看: 4549 |
回复: 7
这次是真没辙了,我发誓我是google了好多还是没结果以后才来问的。
OS:RHEL6.3 x86_64
GI:11.2.0.1 x86_64
第二节点执行root.sh时报错Timed out waiting for the CRS stack to start.- [grid@test4 ~]$ ocrcheck
- Status of Oracle Cluster Registry is as follows :
- Version : 3
- Total space (kbytes) : 262120
- Used space (kbytes) : 1976
- Available space (kbytes) : 260144
- ID : 111267860
- Device/File Name : +DATA
- 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
复制代码 查看crsd.log- [grid@test4 crsd]$ tail -30 crsd.log
- 2012-12-21 16:30:49.462: [ GPnP][2339292960]clsgpnp_getCK: [at clsgpnp0.c:1950] <Get gpnp security keys (wallet) for id:1,typ;4. (2 providers - fatal if all fail)
- 2012-12-21 16:30:49.462: [ GPnP][2339292960]clsgpnpkwf_getWalletPath: [at clsgpnpkwf.c:498] req_id=1 ck_prov_id=1 wallet path: /home/grid/app/11.2.0/grid/gpnp/test4/wallets/peer/
- 2012-12-21 16:30:49.472: [ GPnP][2339292960]clsgpnpwu_walletfopen: [at clsgpnpwu.c:494] Opened SSO wallet: '/home/grid/app/11.2.0/grid/gpnp/test4/wallets/peer/cwallet.sso'
- 2012-12-21 16:30:49.473: [ GPnP][2339292960]clsgpnp_getCK: [at clsgpnp0.c:1965] Result: (0) CLSGPNP_OK. Get gpnp wallet - provider 1 of 2 (LSKP-FSW(1))
- 2012-12-21 16:30:49.473: [ GPnP][2339292960]clsgpnp_getCK: [at clsgpnp0.c:1982] Got gpnp security keys (wallet).>
- 2012-12-21 16:30:49.473: [ GPnP][2339292960]clsgpnp_Init: [at clsgpnp0.c:837] GPnP client pid=29801, tl=3, f=0
- 2012-12-21 16:30:49.488: [GIPCXCPT][2339292960] gipcShutdownF: skipping shutdown, count 2, from [ clsinet.c : 1732], ret gipcretSuccess (0)
- 2012-12-21 16:30:49.489: [GIPCXCPT][2339292960] gipcShutdownF: skipping shutdown, count 1, from [ clsgpnp0.c : 1021], ret gipcretSuccess (0)
- 2012-12-21 16:30:49.532: [ OCRASM][2339292960]proprasmo: Error in open/create file in dg [DATA]
- [ OCRASM][2339292960]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=27103, loc=kgfokge
- ORA-27103: internal error
- Linux-x86_64 Error: 13: Permission denied
- Additional information: 101
- 2012-12-21 16:30:49.564: [ OCRASM][2339292960]proprasmo: kgfoCheckMount returned [7]
- 2012-12-21 16:30:49.564: [ OCRASM][2339292960]proprasmo: The ASM instance is down
- 2012-12-21 16:30:49.565: [ OCRRAW][2339292960]proprioo: Failed to open [+DATA]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
- 2012-12-21 16:30:49.565: [ OCRRAW][2339292960]proprioo: No OCR/OLR devices are usable
- 2012-12-21 16:30:49.565: [ OCRASM][2339292960]proprasmcl: asmhandle is NULL
- 2012-12-21 16:30:49.565: [ OCRRAW][2339292960]proprinit: Could not open raw device
- 2012-12-21 16:30:49.565: [ OCRASM][2339292960]proprasmcl: asmhandle is NULL
- 2012-12-21 16:30:49.566: [ OCRAPI][2339292960]a_init:16!: Backend init unsuccessful : [26]
- 2012-12-21 16:30:49.566: [ CRSOCR][2339292960] OCR context init failure. Error: PROC-26: Error while accessing the physical storage ASM error [SLOS: cat=7, opn=kgfoAl06, dep=27103, loc=kgfokge
- ORA-27103: internal error
- Linux-x86_64 Error: 13: Permission denied
- Additional information: 101
- ] [7]
- 2012-12-21 16:30:49.566: [ CRSD][2339292960][PANIC] CRSD exiting: Could not init OCR, code: 26
- 2012-12-21 16:30:49.566: [ CRSD][2339292960] Done.
复制代码 我注意到了那个权限问题。。没有看出来是哪的权限。。看着像存储的权限有问题。但是:- [root@test4 grid]# ls -al /dev/asm*
- brw-rw---- 1 grid asmadmin 8, 1 Dec 21 17:00 /dev/asm-crs01
- brw-rw---- 1 grid asmadmin 8, 2 Dec 21 16:56 /dev/asm-disk01
- brw-rw---- 1 grid asmadmin 8, 17 Dec 21 16:56 /dev/asm-disk02
- [root@test4 grid]# ps -ef |grep asm
- grid 775 1 0 16:56 ? 00:00:00 asm_o000_+ASM2
- grid 777 1 0 16:56 ? 00:00:00 oracle+ASM2_o000_+asm2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
- root 1420 28020 0 17:01 pts/0 00:00:00 grep asm
- grid 29549 1 0 16:30 ? 00:00:00 asm_pmon_+ASM2
- grid 29551 1 0 16:30 ? 00:00:05 asm_vktm_+ASM2
- grid 29555 1 0 16:30 ? 00:00:00 asm_gen0_+ASM2
- grid 29557 1 0 16:30 ? 00:00:01 asm_diag_+ASM2
- grid 29559 1 0 16:30 ? 00:00:00 asm_ping_+ASM2
- grid 29561 1 0 16:30 ? 00:00:00 asm_psp0_+ASM2
- grid 29563 1 0 16:30 ? 00:00:10 asm_dia0_+ASM2
- grid 29565 1 0 16:30 ? 00:00:05 asm_lmon_+ASM2
- grid 29567 1 0 16:30 ? 00:00:04 asm_lmd0_+ASM2
- grid 29572 1 0 16:30 ? 00:00:04 asm_lms0_+ASM2
- grid 29576 1 0 16:30 ? 00:00:00 asm_lmhb_+ASM2
- grid 29578 1 0 16:30 ? 00:00:00 asm_mman_+ASM2
- grid 29580 1 0 16:30 ? 00:00:00 asm_dbw0_+ASM2
- grid 29582 1 0 16:30 ? 00:00:00 asm_lgwr_+ASM2
- grid 29584 1 0 16:30 ? 00:00:00 asm_ckpt_+ASM2
- grid 29586 1 0 16:30 ? 00:00:00 asm_smon_+ASM2
- grid 29588 1 0 16:30 ? 00:00:00 asm_rbal_+ASM2
- grid 29590 1 0 16:30 ? 00:00:00 asm_gmon_+ASM2
- grid 29592 1 0 16:30 ? 00:00:00 asm_mmon_+ASM2
- grid 29594 1 0 16:30 ? 00:00:00 asm_mmnl_+ASM2
- grid 29600 1 0 16:30 ? 00:00:00 asm_lck0_+ASM2
- grid 32279 1 0 16:48 ? 00:00:00 asm_asmb_+ASM2
- grid 32281 1 0 16:48 ? 00:00:00 oracle+ASM2_asmb_+asm2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
- [grid@test4 ~]$ sqlplus / as sysasm
- SQL*Plus: Release 11.2.0.1.0 Production on Fri Dec 21 17:01:51 2012
- Copyright (c) 1982, 2009, Oracle. All rights reserved.
- Connected to:
- Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
- With the Real Application Clusters and Automatic Storage Management options
- SQL> alter diskgroup all mount;
- alter diskgroup all mount
- *
- ERROR at line 1:
- ORA-15032: not all alterations performed
- ORA-15017: diskgroup "DATA" cannot be mounted
- ORA-15013: diskgroup "DATA" is already mounted
-
- SQL>
- SQL> select status from v$instance;
- STATUS
- ------------
- STARTED
复制代码- [grid@test4 ~]$ crsctl stat res -t -init
- --------------------------------------------------------------------------------
- NAME TARGET STATE SERVER STATE_DETAILS
- --------------------------------------------------------------------------------
- Cluster Resources
- --------------------------------------------------------------------------------
- ora.asm
- 1 ONLINE ONLINE test4 Started
- ora.crsd
- 1 ONLINE OFFLINE
- ora.cssd
- 1 ONLINE ONLINE test4
- ora.cssdmonitor
- 1 ONLINE ONLINE test4
- ora.ctssd
- 1 ONLINE ONLINE test4 OBSERVER
- ora.diskmon
- 1 ONLINE ONLINE test4
- ora.evmd
- 1 ONLINE ONLINE test4
- ora.gipcd
- 1 ONLINE ONLINE test4
- ora.gpnpd
- 1 ONLINE ONLINE test4
- ora.mdnsd
- 1 ONLINE ONLINE test4
复制代码 只知道crs没起来。。但是不知道为什么。。。。求指教。。。
|
|