Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-27369: job of type EXECUTABLE failed with exit code: No such file or di

629628Apr 27 2011 — edited Sep 23 2011
I am receiving the error "ORA-27369: job of type EXECUTABLE failed with exit code: No such file or directory" when trying to run a job.

begin

DBMS_SCHEDULER.CREATE_JOB (
job_name => 'BrianTest',
job_type => 'EXECUTABLE',
job_action => '/usr/bin/ksh /u01/appfiles/billdev/bhjob.ksh',
repeat_interval => 'FREQ=YEARLY',
enabled => TRUE
);

dbms_scheduler.run_job('BrianTest');

end;

Results:
ORA-27369: job of type EXECUTABLE failed with exit code: No such file or directory
ORA-06512: at "SYS.DBMS_ISCHED", line 185
ORA-06512: at "SYS.DBMS_SCHEDULER", line 486
ORA-06512: at line 12


My executable (/u01/appfiles/billdev/bhjob.ksh) is very basic.
/bin/echo BHTEST >> /u01/appfiles/billdev/bh.txt
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 21 2011
Added on Apr 27 2011
13 comments
11,306 views