Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> OCI prg on Solaris boot failure

OCI prg on Solaris boot failure

From: Mauro Macchi <mmacchi_at_ais.it>
Date: Tue, 19 May 1998 10:30:40 +0200
Message-ID: <35614330.6D89@ais.it>


Hello everybody,

I have a problem running an OCI program (Oracle 7.3) on Solaris 2.5.1 at boot time.
I am trying to run the program from within a shell script in /etc/rc2.d directory,
which gets executed after the oracle boot sequence. I am catching an error in the olog() routine, whatever delay I use into the script
in order to be sure that oracle processes are up and running. BUT, if I run the same script (say 'S99script start') from an xterm, everything
works fine. The only difference I see between the two runs is that in the second case
the process has an associated terminal (the pts of the shell running into the xterm)
while in the first case (at boot time) no terminal is associated to the process.
I tried to redirect /dev/console as input file for the script and the process, but
nothing changes. I also tried to execute from inittab, possibly applying the same
redirections, but still nothing changes.

Does anybody knows if the problem I am experiencing really depends on the missing
terminal assignment to the process ?
Does anybody knows a technique to startup an OCI program at boot time so that it works?

Any help will be warmly appreciated, thanks a lot for the attention

                                        Mauro Received on Tue May 19 1998 - 03:30:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US