DBCA Creation DB in Oracle cannot find ASM Disk Group solution

Source: Internet
Author: User
Tags chmod


To create a database using DBCA is, select the ASM disk, but cannot discover the ASM disk Group

Because there are two scripts that need to be executed when the grid is installed, one of the scripts is/u01/app/orainventory/orainstroot.sh, which modifies permissions, which I think may be a matter of permissions.

My side asmcmd can view the ASM disk Group

[Grid@rac22 ~]$ Asmcmd
Asmcmd> ls
data/
data1/
data2/

Online See the following statement:

After installing the grid infrastructure and database, the owner of the installation directory may become root, reinstall or upgrade, and so on without modifying the owner of the installation directory or modifying the permissions on the directory and its files. If you modify the owner, for example, after you modify the owner of the directory from Root:oinstall to Grid:oinstall, or if you modify the read and write permissions for the directory and its files to 777, you may cause DBCA to create the database without finding the ASM disk group that was previously created

[Root@rhel1 bin]# Su–grid
[Grid@rhel1 ~]$ CD $GRID _home/bin
[Grid@rhel1 bin] $chmod +s Oracle

Chmod+s Meaning:
In order to facilitate ordinary users to execute some privileged commands, the Suid/sgid program allows ordinary users to temporarily execute the program as root and restore identity after execution. chmod +s is to give SUID permissions to a program or script.

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.