Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Error while running export backup shell script

Re: Error while running export backup shell script

From: Charles Hart <cchart3_ol_at_hotmail.com>
Date: Sat, 22 Mar 2003 09:55:44 -0600
Message-Id: <24748.322791@fatcity.com>


I am not sure if you got a answer to your question. I read a few answers and they looked like they were pointing you in wrong direction. The file mknod should be executable by everyone of the system as a defualt. The problem with mknod is that it is located in the /usr/sbin directory. This directory is not normally in your PATH, unless you have a very liberal UNIX Admin. Just include this is the PATH

PATH=${ORACLE_HOME}/bin:/usr/sbin:${PATH}

I am not sure if you are running this through Oracle's crontab. But a good practice when you are running from cron is to assume that you get no path. Set every path even /bin and /usr/bin. Then 99% of all cron problems usually go away.

The other problem I saw was that you have a few lines that are being split into multiple lines, I will assume that this is a email problem only. Another good practice is to keep lines below 80 characters. This way you can print your scripts and even pass them on to evil operating system like micosoft without them being affected. Received on Sat Mar 22 2003 - 09:55:44 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US