Thursday 2 June 2016

Oracle agent Error

Generally We Faced During Agent Installation. When You Deleted Agent Binaries Forcefully / Moved to another Location without DE installation of agent. Now You Want To Install New Agent On Same Path And Location.

ERROR:-


Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be 5.8, 5.9 or 5.10.    Actual 5.10
                                      Passed

Checking Temp space: must be greater than 250 MB.   Actual 423 MB    Passed
Checking swap space: must be greater than 500 MB.   Actual 6532 MB    Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-06-02_10-38-47AM. Please wait ...oracle@server1$ Please specify a Unique Oracle Base directory, or remove previously installed products and their directories. Directory name should contain only valid alphanumeric characters, including '_', or '.' characters.


1. Check location of ORAINVENTORY

oracle@server1$ cat /var/opt/oracle/oraInst.loc
#Oracle Installer Location File Location
#Thu Dec 11 14:20:18 GMT 2008
inst_group=dba
inventory_loc=/u01/app/oracle/oraInventory


2. Now remove the entries from old agent /u01/app/oracle/oraInventory/ContentsXML/inventory.xml. Highlighted with yellow.


oracle@server1$ vi inventory.xml
"inventory.xml" 14 lines, 567 characters
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 2005 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>10.2.0.3.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="Home1" LOC="/u01/app/oracle/product/9.2.0.1.0" TYPE="O" IDX="1"/>
<HOME NAME="agent10g" LOC="/u01/app/oracle/product/agent10g/agent10g" TYPE="O" IDX="3"/>
</HOME_LIST>
</INVENTORY>

3. please remove/move old agent home Binaries.

cd /u01/app/oracle/product/agent10g/
rm -rf agent10g


4. You can install agent.


oracle@server1$ ./runInstaller -silent -responseFile /u01/app/oracle/patch/solaris/response/additional_agent.rsp  INSTALLATION_NAME=agent10g  sl_OMSConnectInfo={"oemserver","4889"} BASEDIR="/u01/app/oracle/product/agent10g"