Skip to content

ORA-27300: OS system dependent operation:invalid_egid failed with status: 1

When i’m trying to create new database for RAC environment using DBCA,  It shows the error about invalid gid and diskgroup not mounted.

ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 501 (oinstall), current egid = 502 (dba)

yes I’m realized, the problem may happen for permission issues of oracle binary execute file in grid home.

I check the permission for Grid Home/bin/oracle binary file

[oracle@racnode1 ~]$ ls -l /u01/app/11.2.0/grid/bin/oracle
-rwxrwxr-x oracle dba 210824714 Sep 14 07:58 /u01/app/11.2.0/grid/bin/oracle
[oracle@racnode1 ~]$

Stop ASM instance and then execute following command

[oracle@racnode1 ~]$ chmod 6751 /u01/app/11.2.0/grid/bin/oracle
[oracle@racnode1 ~]$ ls -l /u01/app/11.2.0/grid/bin/oracle
-rwsr-s--x 1 oracle dba 210824714 Sep 14 07:58 /u01/app/11.2.0/grid/bin/oracle
[oracle@racnode1 ~]$

Change the permission on second node grid home oracle binary file also If it was modified before.

Start ASM instance again and then now you try to create database using DBCA. It will successful.

4 Comments Post a comment
  1. Hai Mai #

    Can you explain this. I don’t understand why. I have same error and It’s fixed by your solution.
    Pls, help me to understand.
    soidamientrung@gmail.com

    July 31, 2012
  2. Danny Parra #

    Hey man!! Thanks!! You saved my day 😉
    I was looking for a solution for this problem and you’ve got the best one in all Internet. I was looking for this solution by the last 3 days, searching and searching and I didn’t think that the problem could be resolved so easy…

    Greetings!!

    October 7, 2012
  3. Najeeb #

    Thanks man…..

    You Helped to solve my problem

    I was facing the same problem. My scenario is…….

    I set up grid infra structure first and then database for 11g. When installing database got the error message as below

    ORA-19624: operation failed, retry possible
    ORA-19870: error while restoring backup piece /u01/app/oracle/product/11.2.0/dbhome_1/assistants/dbca/templates/Seed_Database.dfb
    ORA-19504: failed to create file “+DATA”
    ORA-17502: ksfdcre:4 Failed to create file +DATA
    ORA-15001: diskgroup “DATA” does not exist or is not mounted
    ORA-15055: unable to connect to ASM instance
    ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 54321 (oinstall), current egid = 54324 (asmadmin)
    ORA-06512: at “SYS.X$DBMS_BACKUP_RESTORE”, line 5816
    ORA-06512: at line 20

    (hope helpful to some one who google search for the same error message )

    December 22, 2015
  4. PErez #

    Thanks man…..
    I can
    chown grid home to oracle:asmadmin, and
    chown rdbms home to oracle:oinstall ?

    May 23, 2020

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: