oracle rac启动报错,oracle 11g RAC asm无法启动

oracle 11g RAC  asm无法启动,报错:ASMCMD-8102: no connection to ASM; command requires ASM to run

环境变量如下:

[grid@rac1 ~]$ cat .bash_profile

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

. ~/.bashrc

fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

export TMP=/tmp;

export TMPDIR=$TMP;

export ORACLE_SID=+ASM1;

export ORACLE_BASE=/u01/app/grid;

export ORACLE_HOME=/u01/app/11.2.0/grid;

export NLS_DATE_FORMAT="yy-mm-dd HH24:MI:SS";

export PATH=$ORACLE_HOME/bin:$PATH;

export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;

PS查看asm进程,结果如下,不知道为什么有这么多root用户启动的grid相关进程。

[grid@rac1 ~]$ ps -auxH |grep asm*

Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ

root       277  0.0  0.0      0     0 ?        S    Jun25   0:00 [khungtaskd]

root      2617  0.0  0.0      0     0 ?        S

root      3105  0.0  0.0  66064  1524 pts/1    Ss   05:41   0:00 -bash

grid      3131  0.0  0.0  66064  1552 pts/1    S+   05:41   0:00 -bash

grid      4050  0.0  0.0  66064  1584 pts/5    S    05:56   0:00 -bash

grid      4131  0.0  0.0  61172   724 pts/5    R+   05:57   0:00 grep asm*

grid      6105  0.0  0.0  66064  1560 tty1     Ss   Jun25   0:00 -bash

grid      6305  0.0  0.6 323940 13388 ?        S    Jun25   0:00 /usr/libexec/trashapplet --oaf-activate-iid=OAFIID:GNOME_Panel_TrashApplet_Factory --oaf-ior-fd=42

grid      6372  0.0  0.0  70320  1664 pts/2    Ss+  Jun25   0:00 bash

root      8405  0.0  0.0  66064  1552 pts/3    Ss   02:49   0:00 -bash

root     10836  0.0  0.0  66064  1576 pts/4    Ss   03:02   0:00 -bash

grid     12495  0.0  0.0  66064  1556 pts/3    S+   03:15   0:00 -bash

grid     15483  0.0  0.5  91120 10460 ?        S    03:45   0:00 kfod OraInstall2015-06-26_03-20-00AM/ext/bin/kfod nohdr=true verbose=true disks=all status=true op=disks asm_diskstring='/dev/*'

root     26780  0.0  0.0  10812  1164 ?        Ss   04:27   0:00 /bin/sh /etc/init.d/init.ohasd run

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:02 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:27   0:01 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:28   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:28   0:03 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:28   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     26810  0.0  2.5 266676 51556 ?        Ssl  04:28   0:00 /u01/app/11.2.0/grid/bin/ohasd.bin reboot

root     27336  0.0  0.0      0     0 ?        S

root     27337  0.0  0.0      0     0 ?        S

root     27338  0.0  0.0      0     0 ?        S

root     27339  0.0  0.0      0     0 ?        S

root     27340  0.0  0.0      0     0 ?        S

root     27341  0.0  0.0      0     0 ?        S

root     27342  0.0  0.0      0     0 ?        S

root     27343  0.0  0.0      0     0 ?        S

grid     31450  0.0  0.0  66064  1536 pts/4    S+   04:39   0:00 -bash

root     32147  0.0  0.0  66064  1600 pts/5    Ss   04:51   0:00 -bash

grid     32334  0.0  0.9 499120 19524 ?        Ss   04:51   0:00 asm_pmon_+ASM2

grid     32338  0.0  0.7 496740 15404 ?        Ss   04:51   0:00 asm_psp0_+ASM2

grid     32345  0.1  0.7 496740 15252 ?        Ss   04:51   0:05 asm_vktm_+ASM2

grid     32351  0.0  0.8 498160 17556 ?        Ss   04:51   0:00 asm_gen0_+ASM2

grid     32355  0.0  1.1 503004 23444 ?        Ss   04:51   0:00 asm_diag_+ASM2

grid     32359  0.0  0.7 496740 15956 ?        Ss   04:51   0:00 asm_ping_+ASM2

grid     32363  0.0  1.5 507164 31288 ?        Ss   04:51   0:03 asm_dia0_+ASM2

grid     32367  0.0  1.3 505200 27704 ?        Ss   04:51   0:02 asm_lmon_+ASM2

grid     32371  0.0  1.6 513044 33268 ?        Ss   04:51   0:01 asm_lmd0_+ASM2

grid     32375  0.0  1.6 511844 34868 ?        Ss   04:51   0:02 asm_lms0_+ASM2

grid     32381  0.0  0.8 497424 17800 ?        Ss   04:51   0:00 asm_lmhb_+ASM2

grid     32390  0.0  0.7 496740 15424 ?        Ss   04:51   0:00 asm_mman_+ASM2

grid     32394  0.0  0.9 498844 19672 ?        Ss   04:51   0:00 asm_dbw0_+ASM2

grid     32398  0.0  1.0 498380 20856 ?        Ss   04:51   0:00 asm_lgwr_+ASM2

grid     32402  0.0  0.8 496740 18264 ?        Ss   04:51   0:00 asm_ckpt_+ASM2

grid     32406  0.0  0.7 496740 15360 ?        Ss   04:51   0:00 asm_smon_+ASM2

grid     32410  0.0  1.2 500164 26364 ?        Ss   04:51   0:01 asm_rbal_+ASM2

grid     32414  0.0  1.0 499376 21568 ?        Ss   04:51   0:00 asm_gmon_+ASM2

grid     32418  0.0  0.8 496740 16696 ?        Ss   04:51   0:00 asm_mmon_+ASM2

grid     32422  0.0  0.8 496740 17368 ?        Ss   04:51   0:00 asm_mmnl_+ASM2

grid     32427  0.0  0.9 497948 19760 ?        Ss   04:51   0:00 asm_lck0_+ASM2

grid     32465  0.0  0.8 498272 18008 ?        Ss   04:52   0:00 asm_asmb_+ASM2

grid     32469  0.0  0.9 498500 19876 ?        Ss   04:52   0:00 oracle+ASM2_asmb_+asm2 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))

3,ASM查看磁盘组,报错如下:

[grid@rac1 ~]$ asmcmd

Connected to an idle instance.

ASMCMD> ls

ASMCMD-8102: no connection to ASM; command requires ASM to run

ASMCMD>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值