Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Error while running export backup shell script
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
![]() |
![]() |