Error "ORA-27369: job of type EXECUTABLE failed with exit code: Not owner" When Using dbms_scheduler (Doc ID 337005.1)

Last updated on JULY 31, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.3 and later
Information in this document applies to any platform.


Symptoms

When trying to call a shell script from dbms_scheduler as follows:
   BEGIN
      dbms_scheduler.create_job(job_name => 'myjob',
       job_type => 'executable',
       job_action =>
       '/usr/users/oracle/admin/bin/test.bash',
       enabled => TRUE,
       auto_drop => TRUE);
   END;
/
exec dbms_scheduler.run_job('myjob');

The following errors are occurring in the alert.log file:
Errors in file /dev_app/oracle/admin/DEV/bdump/dev_j000_1194159.trc:
ORA-12012: error on auto execute of job 11212220
ORA-27369: job of type EXECUTABLE failed with exit code: Not owner

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms