Databases Reference
In-Depth Information
ORACLE HOME=/home/ohs/OraHome 1
$ORACLE HOME/opmn/bin/opmnctl stopall
$ORACLE HOME/opmn/bin/opmnctl startall
Instead of restarting all of the managed processes, you could just restart the OHS processes which is
much quicker. To do that you can use the commands:
$ORACLE HOME/opmn/bin/opmnctl stopproc ias-component=HTTP Server
and
$ORACLE HOME/opmn/bin/opmnctl stopproc ias-component=HTTP Server
As you can see, the scripts are very simple; in fact, they could be combined into a single script,
where a parameter is passed in to indicate whether to start, stop, or restart the OHS. However, for
simplicity, I like to keep them as separate scripts—changing them is left as an exercise to the reader!
So now, you should have a running OHS that allows you to access your APEX instance, as shown in
Figure 1-6.
Figure 1-6. Accessing APEX via the OHS
Notice in Figure 1-6 that the URL has the port number 7780; you'll see where that is specified in the
next section.
Digging into HTTPD.CONF
Since the OHS is based on Apache, it uses the same main configuration file, called httpd.conf , which
should be located in the $ORACLE HOME/ohs/conf directory. I'm not going to cover every option in the file
Search WWH ::




Custom Search