Grid Control (04)

Friday 23 May, 2008 - 22:21

The problem described in Grid Control (03) is caused by Java not being installed as a JDK. Downloaded jdk-6u6-linux-i586.bin into /mnt/hgfs/OCM.

$ cd
$ /mnt/hgfs/OCM/jdk-6u6-linux-i586.bin
...
$ export JAVA_HOME=~/jdk1.6.0_06
$ export PATH=$JAVA_HOME/bin:$PATH
$ vi .bash_profile

Retrying the installation of emcli (now with the correct file name):
$ java -jar Desktop/emclikit.jar client -install_dir=emcli
Oracle Enterprise Manager 10g Release 10.2.0.0.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.

EM CLI client-side install completed successfully.

Cleaning up the PATH:
$ export PATH=~/emcli:$PATH
$ vi .bash_profile

Continuing the installation of emcli (p.1-5):
$ emcli setup -url=http://gridctrl:4889/em -username=sysman
Oracle Enterprise Manager 10g Release 10.2.0.0.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.

Enter password:
Error: Connection to the current OMS could not be established

When I try to use FireFox to go to http://gridctrl:4889/em, I get the following message:
The connection was refused when attempting to contact gridctrl:4889

On gridctrl :
$ cat >>.bash_profile
export ORACLE_HOME=$ORACLE_BASE/OracleHomes/db10g
export AGENT_HOME=$ORACLE_BASE/OracleHomes/agent10g
export OMS_HOME=$ORACLE_BASE/OracleHomes/oms10g
export PATH=$OMS_HOME/bin:$ORACLE_HOME/bin:$AGENT_HOME/bin:$PATH
$ . .bash_profile

Checking the status:
$ emctl status iasconsole
Oracle Enterprise Manager 10g Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Oracle 10g Application Server Control is not running.

Starting the service:
$ emctl start iasconsole
Oracle Enterprise Manager 10g Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Starting Oracle 10g Application Server Control .... started.

Back on central , Firefox returns
503 Service Unavailable

Servlet error: Service is not initialized correctly. Verify that the repository connection information provided is correct.