RE: Unable to configure OMS and 10g agent on windows box

From: Taylor, Chris David <ChrisDavid.Taylor_at_ingrambarge.com>
Date: Fri, 18 Nov 2011 14:19:07 -0600
Message-ID: <C5533BD628A9524496D63801704AE56D6A33D07B94_at_SPOBMEXC14.adprod.directory>



Subodh,

The messages seem a bit confusing. It looks like it's configuring the OMS (Oracle Management Server) but your path is in the AGENT directory.

Typically the AGENT_HOME is something like '...\agent10g\' and the OMS Home is something like '..\oms10g\'

You may have done this already but if not, MAKE SURE you have your environment variables set correctly before doing anything related to Grid Control.

I created a batch script to prompt me and I can enter a choice for which HOME I want. I call it "set_oracle.bat" and I drop it in my c:\windows\system32 dir:

Set_oracle.bat (Trimmed down - notice that the ORACLE_HOME is different depending on choice)



_at_ECHO OFF
echo Which Oracle Home Do You Want?
echo 1.) Oracle 10g Agent (c:\oracle\product\10.2.0\agent10g) echo 2.) Oracle OMS Server (C:\oracle\product\10.2.0\oms10g)

Choice /C:12
IF ERRORLEVEL 2 GOTO HOME2
IF ERRORLEVEL 1 GOTO HOME1
GOTO END
:HOME2

SET ORACLE_HOME=C:\oracle\product\10.2.0\oms10g ECHO Setting Variables for DB HOME
SET PATH=%ORACLE_HOME%;%ORACLE_HOME%\bin;%ORACLE_HOME%\opatch;%PATH%;c:\oracle\product\10.2.0\oms10g\perl\5.8.3\bin;C:\oracle\product\10.2.0\oms10g\perl\5.8.3\bin\MSWin32-x86-multi-thread;c:\oracle\product\10.2.0\oms10g\perl\5.8.3\lib; SET PERL5LIB=c:\oracle\product\10.2.0\oms10g\perl\5.8.3\lib;c:\oracle\product\10.2.0\oms10g\perl\5.8.3\MSWin32-x86-multi-thread; ECHO %PATH%
GOTO END
:HOME1

SET ORACLE_HOME=c:\oracle\product\10.2.0\agent10g SET PATH=%ORACLE_HOME%;%ORACLE_HOME%\bin;%ORACLE_HOME%\opatch;%PATH%;c:\oracle\product\10.2.0\agent10g\perl\5.8.3\bin;C:\oracle\product\10.2.0\agent10g\perl\5.8.3\bin\MSWin32-x86-multi-thread;c:\oracle\product\10.2.0\agent10g\perl\5.8.3\lib; SET PERL5LIB=c:\oracle\product\10.2.0\agent10g\perl\5.8.3\lib;c:\oracle\product\10.2.0\agent10g\perl\5.8.3\MSWin32-x86-multi-thread; ECHO Setting Variables for AGENT HOME
ECHO %PATH%
GOTO END
:END

  • END of set_oracle.bat ----

Chris Taylor
Sr. Oracle DBA
Ingram Barge Company
Nashville, TN 37205

"Quality is never an accident; it is always the result of intelligent effort." -- John Ruskin (English Writer 1819-1900)

CONFIDENTIALITY NOTICE: This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and delete the contents of this message without disclosing the contents to anyone, using them for any purpose, or storing or copying the information on any medium.

-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Subodh Deshpande Sent: Friday, November 18, 2011 1:46 PM
To: oracle-l-freelists
Subject: Unable to configure OMS and 10g agent on windows box

not able to install oms and agent on windows xp the gc software version is 102021.. following are the errors thrown during installation of OMS and agent...pl suggest...

Output generated from configuration assistant "OMS Configuration" (attempt 4):
Command = oracle.sysman.emcp.oms.OmsPlugIn -configureOms Operation EM Deploying is in progress. Operation Unlocking Passwords and Out of Box setup is in progress. Operation Configuring OMS is in progress. OMS is being Secured and Lock is set to true. Precompiling JSPs.
Performing installation of CLI services for client. Operation Restarting OPMN Processes is in progress.

Configuration assistant "OMS Configuration" failed



The "D:\oraoem10gc\agent10g\cfgtoollogs\configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the
same.-----------------------------------------------------------------------------


--
http://www.freelists.org/webpage/oracle-l
Received on Fri Nov 18 2011 - 14:19:07 CST

Original text of this message