Friday, October 12, 2012

Encountered unrecognized patch ID: SLMA

When installing the soa suite i ran in to an error when patching.
 Encountered unrecognized patch ID: SLMA

$ /install/install_sw/fmw/patch_install/bin/MWPatch.sh -m /u01/app/oracle/product/11.1.1/middleware
The following components are found in /u01/app/oracle/product/11.1.1/middleware and /u01/app/oracle/java and will be checked for patching:
- oracle_common (11.1.1.2.0)
- Oracle SOA (11.1.1.6.0)
- WebLogic Server (10.3.6.0)
- JRockit (R28.2.3)

Start patching...
SKIPPING: JRockit (R28.2.3) already up to date or higher version than patch version (R28.2.3)
Patching WebLogic Server 10.3.6.0 with patch 13583235 via patch module bsu
Patch 13583235 consist of 1 patch(es)
Check if patch(es) SLMA are already installed...
Patch(es) SLMA are not installed, start patching...
Installing patchlist SLMA into /u01/app/oracle/product/11.1.1/middleware/wlserver_10.3 from patchdir /u01/app/oracle/product/11.1.1/middleware/utils/bsu/cache_dir
ERROR:
Encountered unrecognized patch ID: SLMA
Installing patchlist SLMA into /u01/app/oracle/product/11.1.1/middleware/wlserver_10.3 from patchdir /u01/app/oracle/product/11.1.1/middleware/utils/bsu/cache_dir
ERROR:
Encountered unrecognized patch ID: SLMA
REPLACING: OPatch (11.1.0.9.0) with OPatch version (11.1.0.9.4) in /u01/app/oracle/product/11.1.1/middleware/oracle_common/
REPLACING: OPatch (11.1.0.9.0) with OPatch version (11.1.0.9.4) in /u01/app/oracle/product/11.1.1/middleware/Oracle_SOA1/

Oracle has released the latest SmartUpdate 3.3 which can only be used to apply patches.
There is 1 known error and yes that is Encountered unrecognized patch ID.

The problem is that there is an old version of patch-catalog.xml.
You can find that on $MWHOME/utils/bsu/cache_dir

$ ls -altr
total 31748
-rwxrwxr-- 1 oracle dba 12217838 Jun 11 16:21 patch-catalog.xml.p7ni
-rwxrwxr-- 1 oracle dba 12217838 Jun 11 16:21 patch-catalog.xml
-rwxrwxr-- 1 oracle dba    20495 Jun 11 16:21 P7NI.jar
-rw-r--r-- 1 oracle dba   129952 Jun 11 16:23 prod-info.xml
-rw-r--r-- 1 oracle dba   456151 Jun 11 16:23 PBY8.jar
-rwxrwx--- 1 oracle dba   141444 Oct 11 08:39 SLMA.jar
-rwxrwx--- 1 oracle dba  7247271 Oct 11 08:39 patch-catalog.xml.13583235
drwxrwxr-x 2 oracle dba     4096 Oct 11 08:39 .
drwxrwxr-x 3 oracle dba     4096 Oct 11 08:48 ..
You'll see the  patch-catalog.xml is from 11-jun. You'll see also that there is a new patch-catalog.xml.13583235. This one was created during the patching i was doing.
You have to make that version the new patch-catalog.xml.

Now where going to replace to old patch-catalog.xml with th new one

$ cp patch-catalog.xml patch-catalog.old.yymmdd # Better safe then sorry
$ rm patch-catalog.xml
$ cp patch-catalog.xml.13583235 patch-catalog.xml

$ ls -altr
total 38840
-rwxrwxr-- 1 oracle dba 12217838 Jun 11 16:21 patch-catalog.xml.p7ni
-rwxrwxr-- 1 oracle dba    20495 Jun 11 16:21 P7NI.jar
-rw-r--r-- 1 oracle dba   129952 Jun 11 16:23 prod-info.xml
-rw-r--r-- 1 oracle dba   456151 Jun 11 16:23 PBY8.jar
-rwxrwx--- 1 oracle dba   141444 Oct 11 08:39 SLMA.jar
-rwxrwx--- 1 oracle dba  7247271 Oct 11 08:39 patch-catalog.xml.13583235
drwxrwxr-x 3 oracle dba     4096 Oct 11 08:48 ..
-rwxrwx--- 1 oracle dba 12217838 Oct 11 08:59 patch-catalog.old_11102012
-rwxrwx--- 1 oracle dba  7247271 Oct 11 09:00 patch-catalog.xml
drwxrwxr-x 2 oracle dba     4096 Oct 11 09:00 .

Now try again

$ /install/install_sw/fmw/patch_install/bin/MWPatch.sh -m /u01/app/oracle/product/11.1.1/middleware
The following components are found in /u01/app/oracle/product/11.1.1/middleware and /u01/app/oracle/java and will be checked for patching:
- oracle_common (11.1.1.2.0)
- Oracle SOA (11.1.1.6.0)
- WebLogic Server (10.3.6.0)
- JRockit (R28.2.3)

Start patching...
SKIPPING: JRockit (R28.2.3) already up to date or higher version than patch version (R28.2.3)
Patching WebLogic Server 10.3.6.0 with patch 13583235 via patch module bsu
Patch 13583235 consist of 1 patch(es)
Check if patch(es) SLMA are already installed...
Patch(es) SLMA are not installed, start patching...
Installing patchlist SLMA into /u01/app/oracle/product/11.1.1/middleware/wlserver_10.3 from patchdir /u01/app/oracle/product/11.1.1/middleware/utils/bsu/cache_dir
Patch 13583235 succesfully installed
SKIPPING: OPatch (11.1.0.9.4) in /u01/app/oracle/product/11.1.1/middleware/oracle_common/ already up to date or higher version than patch version (11.1.0.9.4)
SKIPPING: OPatch (11.1.0.9.4) in /u01/app/oracle/product/11.1.1/middleware/Oracle_SOA1/ already up to date or higher version than patch version (11.1.0.9.4)

And you see it when fine now.
If it still gives the same error you can use bsu.sh to trace.
This is located in the middleware home/utils/bsu
$ ./bsu.sh -report -log=test.log -log_priority=trace
Patch Report
============
  Report Info
    Report Options
      bea_home.................. ### OPTION NOT SET
      product_mask.............. ### OPTION NOT SET
      release_mask.............. ### OPTION NOT SET
      profile_mask.............. ### OPTION NOT SET
      patch_id_mask............. ### OPTION NOT SET
    Report Messages
  BEA Home.................. /u01/app/oracle/product/11.1.1/middleware
  Product Description
  Product Name.............. WebLogic Server
  Product Version........... 10.3.6.0
  Installed Components...... Core Application Server, Administration Console, Configuration Wizard and Upgrade Framework, Web 2.0 HTTP Pub-Sub Server, WebLogic SCA, WebLogic JDBC Drivers, Third Party JDBC Drivers, WebLogic Server Clients, WebLogic Web Server Plugins, UDDI and Xquery Support, Server Examples, Evaluation Database, Workshop Code Completion Support
  Product Install Directory. /u01/app/oracle/product/11.1.1/middleware/wlserver_10.3
  Java Home................. null
  Jave Vendor............... Sun
  Java Version.............. 1.6.0_29
  Patch Directory........... /u01/app/oracle/product/11.1.1/middleware/patch_wls1036
  Product Description
  Product Name.............. Oracle Coherence
  Product Version........... 3.7.1.1
  Installed Components...... Coherence Product Files, Coherence Examples
  Product Install Directory. /u01/app/oracle/product/11.1.1/middleware/coherence_3.7
  Java Home................. null
  Jave Vendor............... null
  Java Version.............. null
  Patch Directory........... /u01/app/oracle/product/11.1.1/middleware/patch_ocp371
You can check the logfile for error message's that can lead you to what is the cause.
In my trace file of course  there where no error message to be found.

Hope it helps.

1 comment:

  1. The casino, poker, and sports betting: everything you need to
    The casino, poker, 고양 출장마사지 and sports betting: 광양 출장마사지 everything you 평택 출장마사지 need to The casino, poker, and sports betting: everything you need 부천 출장마사지 to The casino, poker, and sports betting: everything you need to The casino, poker, and sports betting: everything 구리 출장마사지 you need to

    ReplyDelete