Database Utilities (MOSC)

MOSC Banner

Facing ORA-27369: job of type EXECUTABLE failed with exit code: Operation not permitted

edited Oct 21, 2011 2:19AM in Database Utilities (MOSC) 7 commentsAnswered ✓
Hi,
I am trying to execute the below script through DBMS_SCHEDULER.RUN_JOB procedure:

curr_dt.ksh:


#!/usr/bin/ksh

export ORACLE_SID=tmcprod
export ORACLE_HOME=/data/app/oracle/product/10204/db
export PATH=/usr/local/bin:$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib

#####################################################################################
# Use Variables instead of Hard Coding. This should be the only section
# to change if the environment changes
#

BACKUP_DATE=`date +%b_%d_%Y_%H_%M_%S`                   # Date of backup
echo -e "$BACKUP_DATE \n" >> curr_date.log

But facing the ORA-27369: job of type EXECUTABLE failed with exit code: Operation not permitted

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center