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 -> Re: oracle start up script on solaris

Re: oracle start up script on solaris

From: Chuck Hamilton <chuckh_at_safeaccess.net>
Date: Tue, 12 Jan 1999 15:28:26 GMT
Message-ID: <369c695e.6987602@news.axs2000.net>


You need to su to the oracle owner to run the script.

Try adding the following to your rc2.d script:

	# Remember to set ORACLE_HOME and ORACLE_SID before this
        su - oracle -c "${ORACLE_HOME}/bin/dbstart" &
        su - oracle -c "${ORACLE_HOME}/bin/lsnrctl start" &


On Tue, 12 Jan 1999 14:40:10 GMT, arahman_at_iimage.com wrote:

>I am having trouble getting a start up script running under the /etc/rc2.d
>directory that will start oracle
>and lsnrctl for the database on boot.
>
>the start up script executes the /$ORACLE_HOME/dbstart, and
>/$ORACLE_HOME/lsnrctl start commands.
>
>During boot, oracle attempts to start but gives back the message that their
>are insufficient priveleges.
>
>The owner of the resources is a user called oracle in a group called dba.
>
>The permissions on the directories for oracle home are rwxrwxr-x for
>(owner-group-other).
>
>Since the machine boots as root, i would like the database to start on boot.
>
>All comments are welcomed, i need details.
>
>Thanks in advance.
>
>Warmest regards,
>
>
>A. Rahman
>Net Admin
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

--
Chuck Hamilton
chuckh_at_safeaccess.net

Never share a foxhole with anyone braver than yourself! Received on Tue Jan 12 1999 - 09:28:26 CST

Original text of this message

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