ORA-27140: attach to post/wait facility failed

Following the update of the Oracle databse or running some oracle scripts, an error occurs ORA-27140: attach to post/wait facility failed

 

To resolve the problem, please check the 'Sticky bits' on the oracle binary ($ORACLE_HOME/bin/oracle)

How to:
# cd $ORACLE_HOME/bin
# ls -l oracle*
# chmod 6755 oracle
# chmod 6755 oracleO
After that check:
# ls -l oracle*
-rwsr-sr-x   1 orasd1   dba      102569240 Jul  7 10:03 oracle
-rwsr-sr-x   1 orasd1   dba      102372184 Jul  7 10:03 oracleO