The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-05-2008
manna manna is offline
Registered User
 

Join Date: Jan 2008
Posts: 40
My script is not running

I have wriiten the following scripts in UNIX. The file name is bk.ksh

rman target=/ << EOF
RUN {
SHUTDOWN IMMEDIATE
STARTUP MOUNT
ALLOCATE CHANNEL ch1 device TYPE
DISK FORMAT '/u01/oradata/ora/%U';
BACKUP DATABASE PLUS ARCHIVELOG;
SQL'ALTER DATABASE OPEN'
;}

EXIT;
EOF
when i try to run by chmod u+x /u01/oradata/ora/bk.ksh, i cant see if it ran successfully or not. i go to /u01/oradata/ora directory to see if the above scripts generated any output, i dont see nothing. How i can find out why my script is not running? Why it does not generated any output? Is there any way in UNIX to find out the mistakes? Please help.
Reply With Quote
Remove advertisements
!!
Forum Sponsor