Re: Auto-start Oracle on reboot problem

From: Pedro Espinoza <raindoctor_at_gmail.com>
Date: Wed, 9 Jan 2008 15:37:53 -0500
Message-ID: <b86c876f0801091237i45c4a99du2599da4094a13f07@mail.gmail.com>


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:37:53 CST

Original text of this message