Precautions and troubleshooting for connecting a single Oracle 11.2 instance to ASM

Source: Internet
Author: User

Precautions and troubleshooting for connecting a single Oracle 11.2 instance to ASM

Notes for accessing ASM from an Oracle 11.2 instance:

1. Oracle users and grid users must have the same group, and the ASM Disk group must be consistent with this group. Otherwise, the database cannot access the ASM Disk, and the ora 15081 error is returned.

For example, oracle and grid both belong to the asmdba group, and the owner of the asm disk is also asmdba.

[Root @ host rules. d] # id oracle

Uid = 1001 (oracle) gid = 1000 (oinstall) groups = 1000 (oinstall), 1001 (dba), 1002 (region), 1004 (asmdba)

[Root @ host rules. d] # id grid

Uid = 1000 (grid) gid = 1000 (oinstall) groups = 1000 (oinstall), 1001 (dba), 1003 (asmadmin), 1004 (asmdba), 1005 (asmoper)

[Root @ host rules. d] # ll/dev/sdb *

Brw-rw-r -- 1 grid asmdba 8, 16 Dec 19 13:44/dev/sdb

Brw-rw-r -- 1 grid asmdba 8, 17 Dec 19 17:58/dev/sdb1

Brw-rw-r -- 1 grid asmdba 8, 18 Dec 19 17:58/dev/sdb2

Brw-rw-r -- 1 grid asmdba 8, 19 Dec 19 17:58/dev/sdb3

Brw-rw-r -- 1 grid asmdba 8, 20 Dec 19 17:58/dev/sdb4

2. The correct owner of $ ORACLE_HOME/bin/oracle executable file should be oracle: asmadmin, and the permission must be shared by s, as shown below:

Oracle @ host: [/oracle/database/product/11.2.0/dbhome_1/bin] ll oracle

-Rwsr-s -- x 1 oracle asmadmin 232399473 Dec 19 14:51 oracle

If the oracle executable file permission is incorrect, run the following command:

$ {GI_HOME}/bin/setasmgidwrap-o $ {ORACLE_HOME}/bin/oracle

After the execution is complete, check the oracle executable file permissions:

Ls-l $ {ORACLE_HOME}/bin/oracle

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.