Scheduler job for external job error ORA-27300 ORA-27301
I wrote a couple of database 'before shutdow' and 'after startup' trigger where a shell script is executed. They work just fine when I shut down and start up database in SQLPLUS, but do not work via srvctl or crsctl. I am seeing this error in alert log when srvctl stop database -d db_name.
This scheduler job is owned by SYS and the shell script is owned by oracle:dba and its file permission is 755.
-------------------
ORA-00604: error occurred at recursive SQL level 1
ORA-27370: job slave failed to launch a job of type EXECUTABLE
ORA-27300: OS system dependent operation:accessing extjob wrapper failed with status: 13