- From: Bryan McLellan <
>
- To:
- Subject: [chef] Re: Bash problem? with oracle 11gr2 install
- Date: Wed, 25 Jan 2012 22:06:48 -0500
On Wed, Jan 25, 2012 at 7:14 PM, Braden
<
>
wrote:
>
***The Problem***
>
When I fire off oracles install script it returns successful midway but
>
continues to run after that (and you have to press enter at the very end) so
>
when the first part returns zero chef thinks its all good and reports that
>
its
>
done, but really chef needs to wait another 15+ mins while oracle finishes
>
installing.
Yup. Unfortunately this sort of "automated installation" is more of an
"answer script" than anything else.
Five years ago I created a build system for putting Oracle in a debian
package for internal use.
http://blog.loftninjas.org/2007/10/12/putting-oracle-database-in-a-deb-package-for-ubuntu/
The Oracle installer forks from the shell script, so the script exits
before the installer is finished. Maaaaybe you could prevent this, but
I suspect you're going to want to create some kind of a wrapper script
that runs the installer script and then watches for something, like
something indicating success in the installers log file, or the
installer process existing, or a service starting up.
Bryan
Archive powered by MHonArc 2.6.16.