ORA-17635: failure in obtaining physical sector size for ‘+DATA’
November 4, 2018 Leave a comment
Action:
I was trying to create a spfile on asm diskgroup from standby database.
SYS @ shcat > create spfile='+DATA' from pfile='/tmp/initshcat_stby.ora'; create spfile='+DATA' from pfile='/tmp/initshcat_stby.ora' * ERROR at line 1: ORA-17635: failure in obtaining physical sector size for '+DATA' ORA-12547: TNS:lost contact ORA-12547: TNS:lost contact
Troubleshooting:
I’ve checked the sector size and it was ok:
SQL> select name,sector_size from v$asm_diskgroup; NAME SECTOR_SIZE ---------- ------------ DATA 512
I’ve checked if oracle account was able to see ASM diskgroups in DBCA and it was not. The diskgroup list was empty.
Causes:
There are several causes:
1) File permissions in <Grid_home>/bin/oracle executable not set properly.
2) Oracle user is not a part of asmdba group
Solution:
1) Change permissions:
[root@stbycat ~]# chmod 6751 /u01/app/18.3.0/grid/bin/oracle
2) Add oracle to asmdba group
[root@stbycat ~]# usermod -g oinstall -G oper,dba,asmdba oracle
In my case it was 1st.
My permissions:
$ ll /u01/app/18.3.0/grid/bin/oracle -rwxr-x--x 1 grid oinstall 413844056 Nov 4 09:14 /u01/app/18.3.0/grid/bin/oracle
Must be:
$ ll /u01/app/18.3.0/grid/bin/oracle -rwsr-s--x 1 grid oinstall 413844056 Nov 4 08:45 /u01/app/18.3.0/grid/bin/oracle