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

Home -> Community -> Usenet -> c.d.o.server -> oracle V7 rc startup files for Solarix x86

oracle V7 rc startup files for Solarix x86

From: Christine R Cooper <Christine_Cooper_at_bigfoot.com>
Date: Thu, 22 Jul 1999 13:59:04 -0600
Message-ID: <37977808.FBF31D75@bigfoot.com>


Hello,

I inherited a Solaris 2.6 server running Oracle version 7.3.2. The Oracle documentation has long since been lost and the DBA doesn't know how to code the proper rc startup file. When I arrived no startup file was in existence for Oracle. Each time the system started it was down until the dba could bring up all the various oracle processes.

I have extracted from him the commands he uses but I am having trouble putting them into start form. I have created a S99dbstart file in the /etc/rc2.d file but keep having trouble with things failing. In particular, I don't seem to be able to get the ntspxctl command automated. We are on an IPX network and need this to run. Here is what I have today and the results on startup:

su - oracle -c /opt/app/oracle/product/7.3.2/bin/dbstart  --> this works OK and the databases start up fine.

su - oracle -c /opt/app/oracle/product/7.3.2/bin/ntspxctl startup

---> this fails with an "unknown command" error. I am able to run su - oracle -c /opt/app/oracle/product/7.3.2/bin/ntspxctl which puts me into an interactive tool. I then type startup and all goes well. I just cannot seem to feed it a parameter and get it to start up without manual itnervention.

su - oracle -c /opt/app/oracle/product/7.3.2/bin/ntspxctl register ips2_spx

---> again this fails with an unknown command because it doesn't know what to do with the "register ips2_spx" part.

su - oracle -c /opt/app/oracle/product/7.3.2/bin/lsnrctl start

--> fails because it needs to have the ntspxctl process finished before
it starts.

su - oracle -c /opt/app/product/7.3.2/bin/lsnrctl start LISTENER

--> fails because it needs ntspxtcl and the lsnrctl start to complete.

In summary, does anyone out there have the correct syntax for starting up the ntspxctl portion of oracle (ipx) and registering? I think If I can solve that problem the rest will work.

Also, is the order right? does ntspxctl need to start before the lsnrctl processes?

Thank You

My shell script is:

#!/usr/bin/ksh
set -x
sleep 10
su - oracle -c /opt/app/oracle/product/7.3.2/bin/dbstart sleep 10
sleep 10
su - oracle -c "/opt/app/oracle/product/7.3.2/bin/ntspxctl startup" su - oracle -c "/opt/app/oracle/product/7.3.2/bin/ntspxctl register ips2_spx"
su - oracle -c "/opt/app/oracle/product/7.3.2/bin/lsnrctl start" su - oracle -c "/opt/app/oracle/product/7.3.2/bin/lsnrctl start LISTENER" Received on Thu Jul 22 1999 - 14:59:04 CDT

Original text of this message

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