Re: Backup script runs on AIX but not on Linux

From: Maria Gurenich <gurenich_at_gmail.com>
Date: Mon, 5 Jan 2009 19:49:05 -0500
Message-Id: <B6C88353-BD2B-4435-8BD3-406E7DB6B8B8_at_gmail.com>



Hi,

Try to do 'which rman' in the command line and you will see where it's coming from. You then can create an alias in .bashrc file like that:

alias rman='sh $ORACLE_HOME/bin/rman'

On Jan 5, 2009, at 19:39, "Jared Still" <jkstill_at_gmail.com> wrote:

> On Mon, Jan 5, 2009 at 3:45 PM, J. Dex <cemail_219_at_hotmail.com> wrote:
> I've got a backup script that runs fine on AIX. I copied it over to
> Linux, but it doesn't work and I get the following when trying to
> execute it which looks like something related to the shell:
>
> oracle:/u01/app/tools> ./Backup.sh sidname
> ksh: ./Backup.sh: No such file or directory
>
> ...
> Any ideas?
>
>
> Yes, try this:
>
> $> ksh Backup.sh sidname
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jan 05 2009 - 18:49:05 CST

Original text of this message