This chapter describes runtime issues and bugs that are known to be problems in the SunTM Patch Manager 2.0 product (Patch Manager). Issues include information that you need to know about, including prerequisites, tips, troubleshooting hints, and bugs. Bugs are a subset of issues and include tracking numbers in parentheses.
The browser interface that was originally released with the Sun Patch Manager 2.0 product for Solaris 9 systems has been withdrawn.
The Patch Manager product will be replaced by the new Sun Update Manager product.
A system that runs Sun Patch Manager 2.0 can manage remote systems that run Patch Manager, including SolarisTM Patch Manager 1.0.
However, a system that runs an earlier version of Patch Manager, such as Solaris Patch Manager Base 1.x or Solaris Patch Manager 1.0, cannot manage a system that runs Sun Patch Manager 2.0.
Note that a Solaris 8 system cannot manage other systems or be managed by other systems, as there is no Solaris 8 CIM/WBEM support for Patch Manager.
When you use the Sun Patch Manager 2.0 browser interface to apply a kernel patch, you are prompted to reboot the system to make the patch take affect.
However, when you use the browser interface to remove a kernel patch, you are not prompted to reboot the system.
After removing a kernel patch, manually reboot the system to bring the system to a stable state.
Sometimes a patch analysis recommends a patch that cannot be applied.
This situation occurs when the following are true:
The patch depends on a prerequisite patch that has been obsoleted by another patch.
The replacement prerequisite patch is not permitted to be applied because it is prohibited by the policy for applying patches.
Do the following:
Manually apply the replacement prerequisite patch that is prohibited by the policy for applying patches while the system is in single-user mode.
Reboot the system.
Use smpatch or the browser interface to apply the patch that was recommended by the analysis.
Some patches can be applied to systems that have different architectures. For such patches, the architecture designation lists each architecture that the patch supports.
You cannot use the remote-mode smpatch add command to apply this kind of a patch to a system.
$ smpatch add -u root -i 116126-03 Authenticating as user: root Type /? for help, pressing <enter> accepts the default denoted by [ ] Please enter a string value for: password :: Loading Tool: com.sun.admin.patchmgr.cli.PatchMgrCli from mars Login to mars as user root was successful. Download of com.sun.admin.patchmgr.cli.PatchMgrCli from mars was successful. Target host architecture is i386. Patch 116126-03 is for sparc i386 architecture. No patches were installed with this command. |
Use the local-mode smpatch add command to apply the patch to the system.
# smpatch add -i 116126-03 add patch 116126-03 Patch number 116126-03 has been successfully installed. |
If your system has PatchPro 2.2 installed, the following error messages might appear on the console after you sucessfully install the entire Sun Patch Manager 2.0 product and reboot.
These error messages will only appear once.
Warning at line 5 in file /usr/sadm/lib/wbem/../../../../var/sadm/wbem/ logr/unregDir/pm1cfg/pm1cfg.unreg - compilation proceeding ... Semantic Error: The following exception was thrown by setInstance: CIM_ERR_NOT_FOUND:Element "\\root\\system:Solaris_ProviderPath.pathurl= \"file:///opt/SUNWsdb/lib/simpledb.jar\"" cannot be found. Adding instance of solaris_providerpath Warning at line 8 in file /usr/sadm/lib/wbem/../../../../var/sadm/wbem/ logr/unregDir/pm1cfg/pm1cfg.unreg - compilation proceeding ... Semantic Error: The following exception was thrown by setInstance: CIM_ERR_NOT_FOUND:Element "\\root\\system:Solaris_ProviderPath.pathurl= \"file:///opt/SUNWppro/lib/patchpro.jar\"" cannot be found. Adding instance of solaris_providerpath Warning at line 11 in file /usr/sadm/lib/wbem/../../../../var/sadm/wbem/ logr/unregDir/pm1cfg/pm1cfg.unreg - compilation proceeding ... Semantic Error: The following exception was thrown by setInstance: CIM_ERR_NOT_FOUND:Element "\\root\\system:Solaris_ProviderPath.pathurl= \"file:///opt/SUNWapcy/lib/authpcy.jar\"" cannot be found. Compilation succeeded. |
These errors appear if the PatchPro 2.2 software was installed on your system and you never ran the smpatch command.
In this case, the CIM database has not stored a classpath entry for the unbundled libraries, which causes the CIM_ERR_NOT_FOUND errors.
Later, when Patch Manager is installed, the Patch Manager installation program attempts to remove obsolete classpath entries from CIM.
Ignore these error messages.
The definition of dependency in the online glossary, which you access from the Patch Manager browser interface, is incomplete.
The definition should read as follows:
See patch dependency.
If you are running the local patch server software on a system installed with Solaris 9, the detectors, database, and patches are downloaded to the wrong directories.
The detectors and database are downloaded to /var/sadm/spool/cache instead of /var/sadm/spool/patchsvr/Misc.
Patches are downloaded to /var/sadm/spool instead of /var/sadm/spool/patchsvr/Patches.
Even though the local patch server is using the wrong directories, proper operation is unaffected.
Note that this situation only occurs with systems that run the initial Solaris 9 software. Subsequent Solaris 9 releases are unaffected.