ITPub博客

首页 > 数据库 > Oracle > 关于linux as5配置RAC中的asm时遇到失败的情况

关于linux as5配置RAC中的asm时遇到失败的情况

原创 Oracle 作者:abp0109 时间:2010-10-17 19:53:37 0 删除 编辑

今天在vmware上搭建ORACLE 10G RAC环境,在配置asm的时候,执行/etc/sysconfig/oracleasm configure命令时遇到:

[root@node1 ~]# /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 without typing an

answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: oracle

Default group to own the driver interface []: dba

Start Oracle ASM library driver on boot (y/n) [n]: y

Scan for Oracle ASM disks on boot (y/n) [y]: y

Writing Oracle ASM library driver configuration: done

Initializing the Oracle ASMLib driver: [FAILED]

后来google了下,原来跟selinux有关系,关掉就可以了。怎么关掉呢?呵呵,记录如下:

[root@node1 ~]# vi /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

# enforcing - SELinux security policy is enforced.

# permissive - SELinux prints warnings instead of enforcing.

# disabled - SELinux is fully disabled.

#SELINUX=enforcing

SELINUX=disabled

# SELINUXTYPE= type of policy in use. Possible values are:

# targeted - Only targeted network daemons are protected.

# strict - Full SELinux protection.

SELINUXTYPE=targeted

修改成disabled即可,然后运行setenforce 0,重启服务器。

待重新启动完成之后,运行/usr/sbin/sestatus

[root@node1 ~]# /usr/sbin/sestatus

SELinux status: disabled

显示selinux为disables了,就OK了。

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23219371/viewspace-1039873/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 内部错误ORA-04301
请登录后发表评论 登录
全部评论

注册时间:2010-01-21

  • 博文量
    17
  • 访问量
    36615