Re: Auto-start Oracle on reboot problem

  • From: "Pedro Espinoza" <raindoctor@xxxxxxxxx>
  • To: "Mike Rothouse" <mrothouse@xxxxxxxxx>
  • Date: Wed, 9 Jan 2008 15:37:53 -0500

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.
>
--
//www.freelists.org/webpage/oracle-l


Other related posts: