Oracle 8.1.5 - OEM Intelligent Agent, RedHat 6.0 link patch. Mon Mar 27 10:00:42 EST 2000 David Harris This patch is to Oracle 8.1.5 to get the Oracle Enterprise Manager Intelligent Agent to build correctly on a RedHat 6.1 machine. The problem is that when you install the OEM Intelligent Agent, the files are installed but the link files so the $ORACLE_HOME/bin/dbsnmp file is never created, so when you run a "lsnrctl dbsnmp_start" it fails silently trying to exec the non-existant file. Another problem I had: the $ORACLE_HOME/oemagent directory (which is referenced by the makefiles all over) was never created by the installer, but everything that should have been there was in $ORACLE_HOME/network. Solution was to just create a symbolic link from oemagent to network. I'm not sure if others will have this weird directory problem. Here are the steps: (1) Install the package: tcl75lib-7.5p1-0.i386.rpm (which is really tcl75lib.rpm from oracle815-suse62.tar.gz which can be found at ftp://ftp.suse.com/pub/SuSE-Linux/suse_update/Oracle/oracle815-suse62.tar.gz linked from http://www.suse.de/en/support/oracle/oracle8151_suse63.html) (2) ln -s network $ORACLE_HOME/oemagent (3) cd $ORACLE_HOME/network/lib (4) patch < this_patch_file (5) make -f ins_net_client.mk agent (6) Remember that you may have to modify $ORACLE_HOME/network/admin/listener.ora to specifically reference the databases that you want to run. I did this by appending the following info: --begin-- sid_list_listener= (sid_list= (sid_desc= (global_dbname=match.millsmatch.drh.net) (sid_name=match) (oracle_home=/var/oracle/u01/app/oracle/product/8.1.5) ) ) --end-- (7) start the intelligent agent with: lsnrctl dbsnmp_start That is what worked for me. NOTICE: THIS IS NOT SUPPORTED SOFTWARE. Please don't e-mail me with random questions on how to use this patch. I probably don't have the time to reply, and I'm doing my best to help by making this patch available. Thank you. --- ins_net_client.mk.orig Mon Mar 27 07:56:56 2000 +++ ins_net_client.mk Mon Mar 27 08:52:29 2000 @@ -28,6 +28,8 @@ agent: idbsnmp ioemevent ioratclsh echo "Intelligent Agent relinked" +LIBTCL=/usr/lib/libtcl7.5.a + # # targets for relinking executables # @@ -86,7 +88,7 @@ oemevent: $(S0NMIEE) $(LIBNMI) $(LIBTCL) $(ECHODO) $(LDCCOM) $(S0NMIEE) $(LIBNMI) $(TTLIBS) $(LOCALNETLIBS) \ - $(LIBTCL) -lm + $(LIBTCL) -lm -lcrypt ioemevent: oemevent -mv -f $(ORACLE_HOME)/bin/oemevent $(ORACLE_HOME)/bin/oemevent0 @@ -96,7 +98,7 @@ oratclsh: $(S0NMITCLSH) $(LIBNMI) $(LIBTCL) $(ECHODO) $(LDCCOM) $(S0NMITCLSH) $(LIBNMI) $(LIBVPPDC) \ - $(TTLIBS) $(LOCALNETLIBS) $(LIBTCL) -lm $(SNMPAGENTLIB) + $(TTLIBS) $(LOCALNETLIBS) $(LIBTCL) -lm -lcrypt $(SNMPAGENTLIB) ioratclsh: oratclsh @@ -111,7 +113,7 @@ dbsnmp: $(S0NMI) $(LIBNMI) $(LIBTCL) $(ECHODO) $(LDCCOM) $(S0NMI) $(LIBNMI) $(LIBVPPDC) \ - $(TTLIBS) $(LOCALNETLIBS) $(LIBTCL) -lm $(SNMPAGENTLIB) + $(TTLIBS) $(LOCALNETLIBS) $(LIBTCL) -lm -lcrypt $(SNMPAGENTLIB) # Target for relinking ntcontab.o