Re: Auto-start Oracle on reboot problem
Date: Fri, 11 Jan 2008 13:47:27 -0500
Message-ID: <a8b029870801111047w72a10221g5b8054c5897f0e54@mail.gmail.com>
Just sending a final e-mail on the resolution to my Oracle auto-start on
reboot problem. I actually copied dbhome to /usr/bin and that resolved the
problem. I think some of the other suggestions may have worked as well and
I will try them on a test server when I more time.
Thanks again to all who responded. And special thanks to Pedro for providing the location of the Solaris 10 log files containing the results of the server reboot.
Mike
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.
>
>
>
> On Jan 9, 2008 1:32 PM, Pedro Espinoza <raindoctor_at_gmail.com> wrote:
>
> > Given it is solaris 10, the whole rc scripts are legacy services,
> > which in turn are controlled by svc.startd. Definitely, there should
> > be logs in /var/svc/log/*.
> >
> > You should get something like the following:
> >
> > milestone-multi-user-server:default.log:Executing legacy init script
> > "/etc/rc3.d/S911oracle".
> > milestone-multi-user-server:default.log:Legacy init script
> > "/etc/rc3.d/S911oracle" exited with return code 0.
> >
> >
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Jan 11 2008 - 12:47:27 CST