Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

nohup rman in linux

afaltynoJan 23 2014 — edited Jan 23 2014

Morning Everyone,

Hope someone can help me out here.  I am working in a development env on a linux server.  I am trying to set up a backup that is repeating that occurs on Sat morning.  My nohup command is not working.  Could someone please look this over and tell me what is wrong with this? Right now I am grasping at straws to get this running.

Additional information. My oracle env includes  in the path:  $ORACLE_HOME/bin/rman

My Cron job is:    nohup  rman  target    /  log=lance.log    @lance_bk_scrpt    &

I have also tried it like this with no luck.

Nohup  rman  target  /    log=’/opt/u01/app/product/11.2.0/dbhome_1/bin/lance.log’  @lance_bk_srpt    &

With no luck.

From what I understand and please correct me if I am wrong.  When the operating system kicks off the cron job the first thing it is going to carry out is the “nohup”  command.  It will then read the rman as a executable and search the environmental path for this and execute it.  The “target  /”  will then execute to connect to rman.  Rman will then ID the location of the lance.log and ASSUME (I could be wrong here) that it is in the bin directory along with the rman.exe.  This is the part I am not sure of.    Rman also assumes that the lance_bk_script  is also in the bin directory along with the rman.exe. I executed the lance_bk_scrpt separately and it works fine. Where is my thinking wrong on this?? Any explanation on this process would be appreciated.

Thanks in advance.

Regards, Al

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2014
Added on Jan 23 2014
1 comment
4,307 views