Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Let me start out by saying... I am a complete solaris noob. I have experience mostly with FreeBSD, but so far this is completely different!
I am installing Oracle10g. As per the instructions it said to (optionally) install a few patches. I downloaded the newest versions of those patches and attempted to install them... this is what I did.
Code:
#mkdir /var/spool/patch
#cp ~username/patches/* /var/spool/patch/
#unzip 112758-04.zip
... ... ...
#/usr/sbin/patchadd 112758-04
Checking installed patches...
One or more patch packages included in
112758-04 are not installed on this system.
Patchadd is terminating.
Note: this is the first patch I ever installed... This is a fresh install of solaris.
I looked in 112758-04/README.112758-04 - and it said "Install Requirements: None"
-M patch_dir patch_id ... | patch_dir patch_list
Specifies the patches to be installed. Specify patches
to the -M option in one of the following ways:
1. By directory location and patch number.
To use the directory location and patch number,
specify patch_dir as the absolute path name of the
directory that contains spooled patches. Specify
patch_id as the patch number of a given patch.
Specifying multiple patch_id's is recommended.
2. By directory location and the name of a file con-
taining a patch list.
To use the directory location and a file containing
a patch list, specify patch_dir as the absolute
path name of the directory containing the file with
a list of patches to be installed. Specify
patch_list as the name of the file containing the
patches to be installed.
Note the part about the -M directory argument being a full path, i.e.
#/usr/sbin/patchadd -M /var/spool/patch/
12758-04
as far as Sun One Studio being installed, I honestly have no idea. This was a fresh install of sol 9 "sparc" using the 64bit kernel that I set up.. I didn't install anything extra, but I think I did the full install... so if thats included, then I probably have it.
here is my guess of how to see if Sun One is intstalled.
Code:
#pkginfo |grep -i one
system SUNWasac Sun ONE Application Server Admin Client
system SUNWascmn Sun ONE Application Server (common)
system SUNWasdem Sun ONE Application Server Sample Applications
system SUNWasman Sun ONE Application Server Manual Pages
system SUNWasr Sun ONE Application Server (root)
system SUNWasu Sun ONE Application Server (usr)
system SUNWdtnsc Netscape Componentization Support for CDE
GNOME2 SUNWgnome-component GNOME CORBA ORB and component framework - platform dependent files, / filesystem
GNOME2 SUNWgnome-component-devel GNOME CORBA ORB and component framework - developer files
GNOME2 SUNWgnome-component-devel-share GNOME CORBA ORB and component framework - developer files - platform independent, /usr/share
GNOME2 SUNWgnome-component-root GNOME CORBA ORB and component framework - platform dependent files, / filesystem
GNOME2 SUNWgnome-component-share GNOME CORBA ORB and component framework - platform independent files, /usr/share
system SUNWicu International Components for Unicode User Files
system SUNWicud International Components for Unicode Developer Files
system SUNWicux International Components for Unicode User Files (64-bit)
application SUNWiqdoc Sun ONE Message Queue Javadoc and Examples
application SUNWiqfs Sun ONE Message Queue JNDI FS Provider
application SUNWiqjx Sun ONE Message Queue JAXM Client Runtime Package
application SUNWiqr Sun ONE Message Queue Root Package
application SUNWiqu Sun ONE Message Queue /usr Package
application SUNWiquc Sun ONE Message Queue Client Runtime Package
application SUNWiqum Sun ONE Message Queue JMS/SOAP Msg Transformer Runtime
application SUNWmc Solaris Management Console 2.1 (Server Components)
application SUNWmcc Solaris Management Console 2.1 (Client Components)
application SUNWmccom Solaris Management Console 2.1 (Common Components)
system SUNWrmui Resource Management User Interface Components
system SUNWtnfc TNF Core Components
system SUNWtnfcx TNF Core Components (64-bit)
system SUNWtnfd TNF Developer Components
application SUNWwbmc Solaris Management Console 2.1 (WBEM Components)
system SUNWxwice X Window System Inter-Client Exchange (ICE) Components
I guess it is..? at there is a message queue and an Application server.
- You do not need to use the "-M" option, which is, hum, optional.
- You only need to apply a patch if the piece of software the patch is intended is effectively present in your server, thus my question about Studio 8.
- There is a readme file bundled with the patch that describes its purpose and the concerned files. For that one, only three files:
<install_dir>/SUNWspro/prod/bin/ild
<install_dir>/SUNWspro/prod/bin/ildx
<install_dir>/SUNWspro/prod/bin/sparcv9/ild
are concerned, so if you can't tell if Studio 8 is there, just look if the /opt/SUNWspro/prod/bin/ild is present to know if the patch applies to your server, assuming /opt is the installation directory (it is by default).
- The readme file explain also how to install the patch.
- If you insist using the -M option, do it accordingly to what is described in its manual page, where the directory part and the patch name are separated by a space, and where the full patch id is required, not just its prefix: e.g.
patchad -M /var/spool/patch 106326-03
As much as I now feel like an idiot now, that really did help.
I didn't really know why you were asking about Sun One at first, because it was the Oracle documentation that told me to apply the patch. I figured it would have mentioned if it was for something other then the base system.
thanks for pointing out the space before the patch number, I completely looked over that.. Several times too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.