Re: Auto-start Oracle on reboot problem

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@xxxxxxxxx> 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@xxxxxxxxx> 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


Other related posts: