Hi.
I write a shell script for import data to oracle using sql loader.
I set permission 755 or 777 for that script. I can run that script in the consol okay.
When I call it from PHP using system command. I got return value 126 this value when don't have permission right ?
I check step by step and dicover this line fail : /home/oracle/app/oracle/product/11.1.0/db_2/bin/sqlldr testing/testing@orcl control=$1 bad=$2 log=$3 discard=$4 data=$5 direct=TRUE.
Can anyone help me. this is urgent. Thanks so much.