Monday, April 23, 2007

Starting Oracle FRS

In this blog, I continue to start Oracle Form Reports Server
For this need I login to the operating system as oracle,
then it need the environtment like the below:

# Environment for Forms Reports Server 10g
umask 022
export ORACLE_HOME=/u01/app/oracle/FRS
export OH=$ORACLE_HOME
export PATH=$PATH:$OH/bin:$OH/opmn/bin:$OH/dcm/bin
export TERM=vt220
export LD_ASSUME_KERNEL=2.4.1
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OH/lib:/lib/user/lib:/usr/local/lib
export LD_LIBRARY_PATH


You may change the path with your own local setting.
Below are the steps to start Oracle Form Reports Server:
1. Start the opmnctl

$ opmnctl startall

2. Check the status of each ias-component to make sure it has running well.
I use this command line:

$ opmnctl status

Processes in Instance: frs.appserver.plitasoft.com
-------------------+--------------------+-------+---------
ias-component | process-type | pid | status
-------------------+--------------------+-------+---------
OC4J | OC4J_BI_Forms | 5437 | Alive
OC4J | home | 5426 | Alive
WebCache | WebCacheAdmin | 5347 | Alive
WebCache | WebCache | 5360 | Alive
HTTP_Server | HTTP_Server | 5349 | Alive
dcm-daemon | dcm-daemon | N/A | Down
LogLoader | logloaderd | N/A | Down

From the table above we can see the status for each process.
The dcm-daemon and LogLoader component is optional.
So we have successed to start the Oracle Form Reports Server

If some of the ias-component in status Down,
for example the ias-component OC4J is Down
we can start the component with the command line:

$ opmnctl startproc ias-component=OC4J

If we need to stop the ias-component,
for example the ias-component OC4J is Alive
we can stop the component with the command line:

$ opmnctl stopproc ias-component=OC4J


No comments: