Re: Auto-start Oracle on reboot problem

From: Pedro Espinoza <raindoctor_at_gmail.com>
Date: Wed, 9 Jan 2008 15:46:28 -0500
Message-ID: <b86c876f0801091246x7ee10bc5s17cbaf6c790cd632@mail.gmail.com>


Sorry, it has nothing to do with cron, as I thought this is abt cron. However, it is related to PATH. Just source the profile in init script.

On Jan 9, 2008 3:37 PM, Pedro Espinoza <raindoctor_at_gmail.com> wrote:
> It is more of PATH thing. Cron daemon's default PATH is /usr/bin.
> There are two ways to resolve the problem.
>
> -add PATH to /etc/default/cron; this one I don't recommend
> -source the profile in the script itself, so that cron daemon gets the
> required PATH.
>
>
>
>
>
> On Jan 9, 2008 2:36 PM, Mike Rothouse <mrothouse_at_gmail.com> wrote:
> > Thanks Pedro. Was able to find the error in
> > /var/svc/log/milestone-multi-user:default.log. Now to figure out why dbhome
> > is not found during reboot. Perhaps because dbhome is not found in
> > /usr/bin. Will begin investigation.
> >
> > Executing legacy init script "/etc/rc2.d/S99oracle".
> > Oracle Startup/Shutdown Begins
> > /etc/rc2.d/S99oracle: dbhome: not found
> > ORACLE_HOME = [] ? /etc/rc2.d/S99oracle: test: argument expected
> > Legacy init script "/etc/rc2.d/S99oracle" exited with return code 1.
> >
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jan 09 2008 - 14:46:28 CST

Original text of this message