[Solved] Issue: Oracle Clusterware infrastructure error in CRSCTL (OS PID 56727): Error in an OS-dependent function or service

Ao tentar subir os serviços do Cluster de um Node do Oracle RAC, acabei recebendo a seguinte mensagem de erro:

[grid@oel7 ~]$ cd $ORACLE_HOME
[grid@oel7 12.2.0]$ cd bin
[grid@oel7 bin]$ pwd
/grid/product/12.2.0/bin
[grid@oel7 bin]$ sudo /grid/product/12.2.0/bin/crsctl start crs
Oracle Clusterware infrastructure error in CRSCTL (OS PID 57352): Error in an OS-dependent function or service
Error category: -8, operation: access failed, location: SlfAccess, OS error: 30
OS error message: Read-only file system
Oracle Clusterware infrastructure error in CRSCTL (OS PID 57352): Unable to determine usability of ADR home path /grid/base/diag/crs/oel7/crs - error -8
^C
[grid@oel7 bin]$

A mensagem que mais me chama a atenção é um retorno da camada de Sistema Operacional, dizendo que algum File System está em read-only:

OS error message: Read-only file system

Desse modo, entro no file system que abriga os binários do CRS, e tento criar um arquivo para teste. Logo vejo que não é possível:

[grid@oel7 bin]$ cd /grid
[grid@oel7 grid]$ ll
total 36
drwxr-xr-x 11 grid dba   4096 Sep 19  2020 base
drwx------  2 root    root 16384 Apr 27  2018 lost+found
drwxr-xr-x 11 grid dba   4096 May 18  2018 orachk
drwxr-xr-x  3 root    root  4096 Sep 19  2020 oracle.ahf
drwxrwx---  7 grid dba   4096 Sep  3 23:40 oraInventory
drwxr-xr-x  3 root    dba   4096 Aug  6  2018 product
-rw-r--r--  1 root    root     0 Sep 13  2018 readonly.txt
[grid@oel7 grid]$ touch teste.ora
touch: cannot touch ‘teste.ora’: Read-only file system
[grid@oel7 grid]$

Aciono o time de Sys Admin, para que possam colocar o File System em read write novamente. Após isso, consigo subir o meu node sem problemas:

[grid@oel7 bin]$ sudo /grid/product/12.2.0/bin/crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
[grid@oel7 bin]$ sudo /grid/product/12.2.0/bin/crsctl enable crs
CRS-4622: Oracle High Availability Services autostart is enabled.
[grid@oel7 bin]$

Leave a Comment

Your email address will not be published.