rc3.d scripts

2007-12-24 20:37:00

Hi All,
I am using an Ultra 10 running solaris 8 and I am having problems writing a
bootup script to launch Oracle. In order to try and debug the problem I have
the following written into /etc/init.d/dbora:

.
.
.
case $1 in

"start") su - ${ORACLE_OWNER} -c pwd >> /log 2>&1
echo "" >> /log
echo "" .. /log
echo "--------------------------" >> /log
echo "" >> /log
echo "" >> /log
su - ${ORACLE_OWNER} -c ${ORACLE_HOME}/bin/dbstart >> /log 2>&1
;;
.
.
.
I have linked this file to S100dbora in /etc/rc3.d. When I reboot the
machine (using init6) the following can be seen in the log file:

Sun Microsystems Inc. SunOS 5.8 Generic February 2000

Starting OpenWindows in 5 seconds (type Control-C to interrupt)

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't
already running
/usr/openwin/bin/xinit: Server error.

---------------------------------

Sun Microsystems Inc. SunOS 5.8 Generic February 2000

Starting OpenWindows in 5 seconds (type Control-C to interrupt)

openwin: There is already a server running on :0
^L

Does anyone have any idea why this output is being produced, I have tried
everything I can think of but am still at a loss

Thanks,
Richard...

Comments

Got something to say?

You must be logged in to post a comment.