Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: run a shell script on red hat linux
On Aug 14, 8:21 am, vincent.r..._at_gmail.com wrote:
> Here is my environment : Oracle 10G release 2 on RED HAT LINUX
> ENTERPRISE.
> I have a shell script (.sh) with an Oracle export and a ftp command to
> transfer the file *.dmp to an other machine. When i execute this
> script with the user Oracle, it works perfectly.
> Now I try to launch it via OEM; Program,job, etc...it doesn't work
> because, perhaps, an environment trouble (the script is launch by ??
> with his environment ???)
> Sorry for my bad english, i'm french.
You probably need to dot in ( add to the current unix environment ) a set of changes ( new environment variables ORACLE_HOME etc ) and change your PATH and maybe LD_LIBRARY_PATH etc to include stuff. Received on Thu Aug 16 2007 - 08:22:16 CDT