| Monu |
Posted: May 01, 2008 04:13:06 AM |
Total Post: 21
Joined: Jan, 2008
|
Hi all,
When I run RMAN script for database backup(Oracle 9i) it works fine but whenever I schedule the same through crontab it shows an error.
"/home/oracle/rman_amrdb.sh: line 5: rman: command not found"
In script I have set PATH,ORACLE_HOME and ORACLE_SID env variables.
My crontab entry is :
35 13 * * * sh /home/oracle/rman_amrdb.sh >> /data1/amrdb/rma_amrdb.log 2>&1
|
|
|
Murtuja |
| Posted: May 01, 2008 04:49:34 AM | |
|
Total Post: 814
Joined: Jan, 2006
|
In rman_amrdb.sh script
go to line no 5
You have to put $ORACLE_HOME/bin before rman command
so it will look like...
$ORACLE_HOME/bin/rman....
|
|
|
|
|
Murtuja |
| Posted: May 02, 2008 01:43:02 AM | |
|
Total Post: 814
Joined: Jan, 2006
|
Hi,
Do you have any updates regarding this issue ?
|
|
|
|
|
Monu |
| Posted: May 02, 2008 02:42:53 AM | |
|
Total Post: 21
Joined: Jan, 2008
|
It's working. Thanks a lot dear.
|
|
|
|
|
Monu |
| Posted: May 02, 2008 02:56:03 AM | |
|
Total Post: 21
Joined: Jan, 2008
|
Thanks dear... Now its working
|
|
|
|
|
Murtuja |
| Posted: May 02, 2008 08:41:13 AM | |
|
Total Post: 814
Joined: Jan, 2006
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |