Patch-ID# 101956-02 Keywords: SNM 2.2.2 JUMBO Synopsis: SunNet Manager 2.2.2 Universal JUMBO Patch Date: Oct/31/94 Solaris Release: 2.3 SunOS Release: 5.3 Unbundled Product: SunNet Manager Unbundled Release: 2.2.2 Relevant Architectures: sparc BugId's fixed with this patch: 1162642 1168981 1171532 1171534 1173189 1174517 1093852 1165182 1165315 1166287 1169711 1169735 1169856 1171689 1172849 1172934 1173076 1173885 1173989 1174078 1172526 1173789 1174933 1175066 1175048 1175351 1175346 1175492 1177706 1177922 1172316 1172712 1176137 1176903 1176913 1177003 1177220 1177221 1177242 1178066 1169198 1171238 1174812 1175002 1175885 1172081 1175918 1166898 1166991 1166159 1178557 Changes incorporated in this version: 1175492 1177706 1177922 1172316 1172712 1176137 1176903 1176913 1177003 1177220 1177221 1177242 1178066 1169198 1171238 1174812 1175002 1175885 1172081 1175918 1166898 1166991 1166159 1178557 Patches accumulated and obsoleted by this patch: 102019-01 Patches which conflict with this patch: N/A Patches required with this patch: N/A Obsoleted by: Files included with this patch: /usr/snm/agents/na.activity /usr/snm/agents/na.authentication /usr/snm/agents/na.diskinfo /usr/snm/agents/na.etherif /usr/snm/agents/na.event /usr/snm/agents/na.hostif /usr/snm/agents/na.hostmem /usr/snm/agents/na.hostperf /usr/snm/agents/na.iostat /usr/snm/agents/na.ippath /usr/snm/agents/na.iproutes /usr/snm/agents/na.layers /usr/snm/agents/na.logger /usr/snm/agents/na.lpstat /usr/snm/agents/na.ping /usr/snm/agents/na.rpcnfs /usr/snm/agents/na.snmp /usr/snm/agents/na.snmptrap /usr/snm/agents/na.snmpv2 /usr/snm/agents/na.sync /usr/snm/agents/na.traffic /usr/snm/agents/snmpd /usr/snm/agents/snmpv2d /usr/snm/agents/hostmib.schema /usr/snm/bin/snm /usr/snm/bin/snm_br /usr/snm/bin/snm_cmd /usr/snm/bin/snm_discover /usr/snm/bin/snm_gr /usr/snm/bin/snm_set /usr/snm/bin/snm_mib2schema /usr/snm/lib/libnetmgt.a /usr/snm/lib/libnetmgt.sa.2.0 /usr/snm/lib/libnetmgt.so.2.0 /usr/snm/lib/libnetmgt_db.a /usr/snm/lib/libnetmgt_db.sa.2.0 /usr/snm/lib/libnetmgt_db.so.2.0 Problem Description: *********************The following bugs apply for patch 1********************* 1162642 snmpd agent can core dump (crash) a system with additional drivers 1168981 na.hostperf and na.snmp core dump with Remedy Health profile 1171532 na.event leaks memory on Solaris 1 1171534 na.hostperf leaks memory 1173189 na.snmp doesn't unregister RPC when invoked from snm_cmd 1174517 SNM console core dump when resetting glyph/Drop All 1093852 Request not sent to Grapher 1165182 edit menu on console doesn't grey out properly 1165315 glyph attributes are lost when glyphs are copied 1166287 There is no trap generated when a background image is loaded from console 1169711 quitting grapher tool after sending request causes performance problem 1169735 hostif agent returns zero for mtu size 1169856 tty attributes in na.iostat2 agent returns incorrect value 1171689 netmgt_set_argument using "na.snmp-write-community" instead of NETMGT_OPTSTRING 1172849 Incorrect information is displayed by Quick Dump->hostif->if 1172934 bottom portion of the set request window gets truncated 1173076 /etc/opt/SUNWconn/snm/snmpd.conf is readable by all users 1173885 Predefined requests on links do not resolve the link name 1173989 Drop All is not gettexted 1174078 snmdb_unlock may hang for several minutes if console has exited 1172526 SNM 2.2.1 mib2schema exits with status code of 2 1173789 na.event freezes with large packet 1174933 hostmib.schema missing in sol2 package 1175066 grapher core dumps when sending data from browser 1175048 Results browser core dumps when sending data to grapher 1175351 Right items of horizontal slider of report windows are not displayed 1175346 gettext needed for footer messages of Data/Event Request of Request Builder 1175492 Display action of menu item for "Create Predefined..." of Requests is strange Changed to read SNMDBDIR variable every time when snmdb_dir() called. Note : The snm_discover doesn't work in Class B non-subnetted network. To work around this problem, specify the IP ranges for snm_discover. The syntax is snm_discover -r129.144.41.20:129.144.60.100 -T. The -T option will show you the tool menu. *************The following bugs apply for patch 2***************** 1177706 Cooperative Consoles not sharing glyph information 1177922 snm_discover will not come up on SunOS 4.1.4 ( namelist wrong ) 1172316 snm_discover does not come up if you are using only a be or qe interface 1172712 snmpd returns wrong data for bf, be and qe interfaces 1176137 To Program: paging script fails under SNM 2.2.2 1176903 na.snmp-trap truncates domain part when domains are the same 1176913 Cannot set icon font. 1177003 The "Drop event or Drop all" in event summary window does not work properly 1177220 SNM agents misuse netmgt_start_trap, traps sent to Console RPC not na.event 1177221 selecting attributes in predefined data request causes core dump 1177242 Event Report: ping->reach->triptime reports wrong values. 1178066 predefined events are inaccessable after a request is undefined 1169198 inconsistancy in snm console text message between solaris 1.x and 2.x 1171238 strange behavior of a sample program 1174812 snm 2.2.1 agents die if they use the popen(3s) call 1175002 HeadStart overrides BasicStart if selected 2nd (sol2 only) 1175885 SNM can store incorrect manager ip address in activity.log file 1172081 Changing request_timeout value in /etc/snm.conf does not work. 1175918 SNM 2.2 security problem with customize tool 1166898 snm_discover does not work fine with Class C networks 1166991 alarm reports sorter dose not work by any sorting method under ja 1166159 discover doesn't assign correct glyphs to some routers 1178557 Window Title isn't written to .SNMdefaults Note : The patch will need extra 10M space under /opt to install. Please make sure to reserve enough space for installation. Note : Make sure all SNM processes are terminated before installing the patch. Note : The patch_install script saved all changed files with 2.2.2/1 extension. You may restore those files by manually moving back. Note : There is new a flag called Non-Customize-flag in snm.conf file to disable the Customize entry under Tools menu choice. If you set this flag to TRUE under snm.conf, the Customize entry will be removed. Note : The previous snm_discover (SunOS) didn't set time out properly to abort the request while no response returned . This caused the discover to run very slowly. Note : The snm_discover adds a "-a" option to create all networks and subnets with ipaddress names instead of actual names. The hosts at the segment level still have their actual host names. Note : If somwhow snm_discover can't find any of networks or elements with a large number of hop counts. You can try -h with "-1" (negative 1) to ignore the hop count. This would force snm_discover to dsicover networks and elements. Note : If your netstat -i result didn't show the priminary interface as first entry, using snm_discover -i tr0 (nf0, qe0, be0, ../etc) to specify your priminary interface. Note : The multiple interface patch has integrated into this jumbo release. Patch Installation Instructions: -------------------------------- Generic 'installpatch' and 'backoutpatch' scripts are provided within each patch package with instructions appended to this section. Other specific or unique installation instructions may also be necessary and should be described below. Special Install Instructions: ----------------------------- None. Instructions to install patch using "installpatch" -------------------------------------------------- 1. Become super-user. 2. Apply the patch by typing:
.
See /tmp/log. for reason for failure.
Explanation and recommended action: The installation of one of
patch packages failed. Installpatch will backout the patch
to leave the system in its pre-patched state. See the log file
for the reason for failure. Correct the problem and
re-apply the patch.
Error message:
Pkgadd of package failed with error code .
Will not backout patch...patch re-installation.
Warning: The system may be in an unstable state!
See /tmp/log. for reason for failure.
Explanation and recommended action: The installation of one of
the patch packages failed. Installpatch will NOT backout the
patch. You may manually backout the patch using backoutpatch,
then re-apply the entire patch. Look in the log file for the
reason pkgadd failed. Correct the problem and re-apply the
patch.
Patch Installation Messages:
---------------------------
Note: the messages listed below are not necessarily considered errors
as indicated in the explanations given. These messages are, however,
recorded in the patch installation log for diagnostic reference.
Message:
Package not patched:
PKG=SUNxxxx
Original package not installed
Explanation: One of the components of the patch would have patched a
package that is not installed on your system. This is not
necessarily an error. A Patch may fix a related bug for several
packages. Example: suppose a patch fixes a bug in both the
online-backup and fddi packages. If you had online-backup installed
but didn't have fddi installed, you would get the message
Package not patched:
PKG=SUNWbf
Original package not installed
This message only indicates an error if you thought the package
was installed on your system. If this is the case, take the
necessary action to install the package, backout the patch (if
it installed other packages) and re-install the patch.
Message:
Package not patched:
PKG=SUNxxx
ARCH=xxxxxxx
VERSION=xxxxxxx
Architecture mismatch
Explanation: One of the components of the patch would have patched a
package for an architecture different from your system. This is not
necessarily an error. Any patch to one of the architecture specific
packages may contain one element for each of the possible
architectures. For example, Assume you are running on a sun4m. If
you were to install a patch to package SUNWcar, you would see the
following (or similar) messages:
Package not patched:
PKG=SUNWcar
ARCH=sparc.sun4c
VERSION=11.5.0,REV=2.0.18
Architecture mismatch
Package not patched:
PKG=SUNWcar
ARCH=sparc.sun4d
VERSION=11.5.0,REV=2.0.18
Architecture mismatch
Package not patched:
PKG=SUNWcar
ARCH=sparc.sun4e
VERSION=11.5.0,REV=2.0.18
Architecture mismatch
Package not patched:
PKG=SUNWcar
ARCH=sparc.sun4
VERSION=11.5.0,REV=2.0.18
Architecture mismatch
The only time these messages indicate an error condition
is if installpatch does not correctly recognize your architecture.
Message:
Package not patched:
PKG=SUNxxxx
ARCH=xxxx
VERSION=xxxxxxx
Version mismatch
Explanation: The version of software to which the patch is applied is
not installed on your system. For example, if you were running Solaris
5.3, and you tried to install a patch against Solaris 5.2, you would
see the following (or similar) message:
Package not patched:
PKG=SUNWcsu
ARCH=sparc
VERSION=10.0.2
Version mismatch
This message does not necessarily indicate an error. If
the version mismatch was for a package you needed patched, either
get the correct patch version or install the correct package version.
Then backout the patch (if necessary) and re-apply.
Message:
Re-installing Patch.
Explanation: The patch has already been applied, but there is
at least one package in the patch that could be added. For
example, if you applied a patch that had both Openwindows and
Answerbook components, but your system did not have Answerbook
installed, the Answerbook parts of the patch would not have
been applied. If, at a later time, you pkgadd Answerbook, you
could re-apply the patch, and the Answerbook components of the
patch would be applied to the system.
Message:
Installpatch Interrupted.
Installpatch is terminating.
Explanation: Installpatch was interrupted during execution
(usually through pressing ^C). Installpatch will clean up
its working files and exit.
Message:
Installpatch Interrupted.
Backing out Patch...
Explanation: Installpatch was interrupted during execution
(usually through pressing ^C). Installpatch will clean up
its working files, backout the patch, and exit.
Patch Backout Errors:
---------------------
Error message:
prebackout patch exited with return code .
Backoutpatch exiting.
Explanation and corrective action: the prebackout script
supplied with the patch exited with a return code other
than 0. Generate a script trace of backoutpatch to determine
why the prebackout script failed. Correct the reason for
failure, and re-execute backoutpatch.
Error message:
postbackout patch exited with return code .
Backoutpatch exiting."
Explanation and corrective action: the postbackout script
supplied with the patch exited with a return code other than
0. Look at the postbackout script to determine why it failed.
Correct the failure and, if necessary, RE-EXECUTE THE
POSTBACKOUT SCRIPT ONLY.
Error message:
Only one service may be defined.
Explanation and corrective action: You have attempted to specify
more than one service from which to backout a patch. Different
services must have their patches backed out with different
invocations of backoutpatch.
Error message:
The -S and -R arguments are mutually exclusive.
Explanation and recommended action: You have specified both a
non-native service to backout, and a package installation root.
These two arguments are mutually exclusive. If backing out a
patch from a non-native usr partition, the -S option should be
used. If backing out a patch from a client's root
partition (either native or non-native), the -R option
should be used.
Error message:
The service cannot be found on this system.
Explanation and recommended action: You have specified a non-
native service from which to backout a patch, but the
specified service is not installed on your system. Correctly
specify the service when backing out the patch.
Error message:
Only one rootdir may be defined.
Explanation and recommended action: You have specified more than
one package install root using the -R option. The -R option
may be used only once per invocation of backoutpatch.
Error message:
The directory cannot be found on this system.
Explanation and recommended action: You have specified a
directory using the -R option which is either not mounted,
or does not exist on your system. Verify the directory name
and re-backout the patch.
Error message:
Patch has not been successfully applied to this system.
Explanation and recommended action: You have attempted to backout
a patch that is not applied to this system. If you must
restore previous versions of patched files, you may have to
restore the original files from the initial installation CD.
Error message:
Patch has not been successfully applied to this system.
Will remove directory
Explanation and recommended action: You have attempted to back
out a patch that is not applied to this system. While the
patch has not been applied, a residual
/var/sadm/patch/ (perhaps from an unsuccessful
installpatch) directory still exists. The patch cannot be
backed out. If you must restore old versions of the patched
files, you may have to restore them from the initial
installation CD.
Error message:
This patch was obsoleted by patch .
Patches must be backed out in the order in
which they were installed. Patch backout aborted.
Explanation and recommended action: You are attempting to backout
patches out of order. Patches should never be backed-out out
of sequence. This could undermine the integrity of the more
current patch.
Error message:
Patch was installed without backing up the original
files. It cannot be backed out.
Explanation and recommended action: Either the -d option of
installpatch was set when the patch was applied, or the save
area of the patch was deleted to regain space. As a result, the
original files are not saved and backoutpatch cannot be used.
The original files can only be recovered from the original
installation CD.
Error message:
pkgrm of package failed return code .
See /var/sadm/patch//log for reason for failure.
Explanation and recommended action: The removal of one of
patch packages failed. See the log file for the reason for
failure. Correct the problem and run the backout script again.
Error message:
Restore of old files failed.
Explanation and recommended action: The backout script uses the
cpio command to restore the previous versions of the files
that were patched. The output of the cpio command should
have preceded this message. The user should take the
appropriate action to correct the cpio failure.
KNOWN PROBLEMS:
On client server machines the patch package is NOT applied
to existing clients or to the client root template space.
Therefore, when appropriate, ALL CLIENT MACHINES WILL NEED
THE PATCH APPLIED DIRECTLY USING THIS SAME INSTALLPATCH
METHOD ON THE CLIENT. See instructions above for
applying patches to a client.
A bug affecting a package utility (eg. pkgadd, pkgrm, pkgchk)
could affect the reliability of installpatch or backoutpatch
which uses package utilities to install and backout the patch
package. It is recommended that any patch that fixes package
utility problems be reviewed and, if necessary, applied before
other patches are applied. Such existing patches are:
100901 Solaris 2.1
101122 Solaris 2.2
101331 Solaris 2.3
SEE ALSO
pkgadd, pkgchk, pkgrm, pkginfo, showrev, cpio