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 -> Starting Oracle Web Listener when HP-UX boots.

Starting Oracle Web Listener when HP-UX boots.

From: Ludo Joris <lujo_at_ruca.ua.ac.be>
Date: 1997/01/31
Message-ID: <32f1d624.11609552@news.ruca.ua.ac.be>#1/1

I'm trying to get Oracle Web Listener started automatically when HP-UX boots.

Made a script based on /sbin/init.d/template. Added the lines

        su - oracle -c "wlctl start 8888"
and

        su - oracle -c "wlctl stop 8888"
in the appropriate sections of the script. Added "Starting Oracle Web Listener" and "Stopping Oracle Web Listener" at the ri!ght places in this script. Linked script to /sbin/rc1.d and /sbin/rc2.d. Created a file in /etc/config.d to control startup and shutdown of Oracle Web Listener with environment variable ORACLE_WEB_START.

Logged in as user oracle

        wlctl start 8888
starts the web server and keeps running after logging out. Logged in as root

        su - oracle -c "wlctl start 8888"
starts the web server and keeps running after logging out.

Booting the system, the boot process puts "OK" next to "Starting Oracle Web Listener" on the screen. And writes the following to /etc/rc.log:

	Starting Oracle Web Listener
	Output from "/sbin/rc2.d/S903oraweb start":
	----------------------------
	Starting Oracle Web Listener
	stty: : Not a typewriter
	Information: Listening on port 8888
	Information: The server started successfully

	Oracle Web Listener, Version 1.01fc5
	Copyright 1995 Oracle Corp.  All Rights Reserved.

	Server now running as process 1109

But, when I finally log in there is no Oracle Web Listener process running! When I do ps -ef|grep ora only the Oracle7 Server daemons and the Oracle7 Server Listener are running. There is no process with pid 1109 anymore. Somehow the process gets killed.

What is going on? How do I start Oracle Web Listener automatically when the system boots?

I'm running HP-UX 10.20 on a HP 9000 D350/1.

--
Ludo Joris
RUCA - University of Antwerp, Belgium
lujo_at_ruca.ua.ac.be
Received on Fri Jan 31 1997 - 00:00:00 CST

Original text of this message

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