![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Facing issue in Solaris OS in crontab for running shell script | mabrar | Shell Programming and Scripting | 2 | 11-02-2007 06:32 AM |
| how to capture oracle export log while running as background process | hippo2020 | SUN Solaris | 4 | 07-03-2007 02:39 PM |
| Cannot running export database using bash script | tovohery | Linux | 5 | 03-23-2007 02:27 AM |
| Problem in running shell script | gammit | UNIX for Dummies Questions & Answers | 6 | 09-11-2006 01:42 AM |
| shell script- oracle connection problem | nattynatty | Shell Programming and Scripting | 4 | 08-14-2002 09:48 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
problem running shell script (for oracle export) in crontab
Hello Gurus,
I've been tasked with solving a problem at my new job and I'm stumped. We've got a script that dynamically builds an oracle export parameter files and then runs export from the shell. it runs fine when using the shell, but will NOT run (fails in one spot everytime) when entered into crontab. I have attached the script. It fails at line 94 every time (see below). $ORACLE_HOME/bin/exp PARFILE=$ORACLE_SCRIPT/temp.sql One thing that i've tried is to put direct paths to both the executable and parfile, but to no avail. I've got a feeling that it has to do with the environment variables, but I don't know for sure. I believe that this is running the KSH shell (but again i'm not sure). I just started here and this is my first adventure with AIX. Any assistance with this will be great! Thanks in advance, Jeremy Last edited by jsheehan223; 10-16-2008 at 03:01 PM.. Reason: more information! |
|
||||
|
More information
It says that the Oracle home is not set, but i'm certain it is in the script! I will continue digging, but will still welcome any assistance!
---------------------------------------------------- Message 206 not found; No message file for product=RDBMS, facility=EXP: Release 10.2.0.2.0 - Production on Thu Oc t 16 15:11:00 2008 Copyright (c) 1982, 2005, Orac Invalid format of Export utility name Verify that ORACLE_HOME is properly set Export terminated unsuccessfully EXP-00000: Message 0 not found; No message file for product=RDBMS, facility=EXP |
![]() |
| Bookmarks |
| Tags |
| aix, export, oracle, shell script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|