<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sun Solaris System Admin &#187; Package Management</title>
	<atom:link href="http://www.sunsolarisadmin.com/category/package-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 21 Sep 2011 19:57:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://www.sunsolarisadmin.com</link>
<url>http://www.sunsolarisadmin.com/wp-content/mbp-favicon/favicon.ico</url>
<title>Sun Solaris System Admin</title>
</image>
		<item>
		<title>BASE_CONFIG: JS_install_patchclust: Unable to locate patch</title>
		<link>http://www.sunsolarisadmin.com/package-management/base_config-js_install_patchclust-unable-to-locate-patch/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=base_config-js_install_patchclust-unable-to-locate-patch</link>
		<comments>http://www.sunsolarisadmin.com/package-management/base_config-js_install_patchclust-unable-to-locate-patch/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 20:51:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[patch cluster]]></category>
		<category><![CDATA[recommended patches]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=127</guid>
		<description><![CDATA[You may find the following error in your JET build install logs: WARNING: BASE_CONFIG: JS_install_patchclust: Unable to locate patch 119545-03 Recently, when building servers using Sun JET (SUNWjet), I found that the patches from the Sun recommended Patch cluster is not installed as a part of the JET build. Digging deeper, I found the above <a href='http://www.sunsolarisadmin.com/package-management/base_config-js_install_patchclust-unable-to-locate-patch/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></p>
<div id="_mcePaste">You may find the following error in your JET build install logs:</div>
<blockquote>
<div><span style="color: #ff0000;"><em>WARNING: BASE_CONFIG: JS_install_patchclust: Unable to locate patch 119545-03</em></span></div>
</blockquote>
<div>Recently, when building servers using Sun JET (SUNWjet), I found that the patches from the Sun recommended Patch cluster is not installed as a part of the JET build. Digging deeper, I found the above error messages in the Jet install logs.</div>
<div><span id="more-127"></span></div>
<div id="_mcePaste">Further digging and found that sometime after May 2009, Sun recommended patch cluster directory structure has changed where in there is a subdirectory called &#8220;patches&#8221; has been created and all the patches are now placed into this subdirectory.</div>
<div id="_mcePaste">If you check the patch_cluster.conf file, the following line exists:</div>
<blockquote>
<div><em>patches_subdir=&#8221;patches&#8221;</em></div>
</blockquote>
<div>But, JET doesn&#8217;t seem to recognise this change and the &#8220;patches_subdir&#8221; entry in the patch_cluster.conf file.</div>
<div id="_mcePaste">To resolve (rather workaround) the problem, simply create symbolic links in the root directory of the patch_cluster as follows:</div>
<blockquote>
<div id="_mcePaste"># cd 10_x86_Recommended</div>
<div id="_mcePaste"># for patches in `cat patch_order`</div>
<div id="_mcePaste"># do</div>
<div id="_mcePaste"># ln -s patches/$patches .</div>
<div id="_mcePaste"># done</div>
</blockquote>
<div id="_mcePaste">This should create the sym links of each of the patches under th patch cluster root directory and fix the problem.</div>
<div id="_mcePaste">You should now the following logs instead of the warning above:</div>
<blockquote>
<div id="_mcePaste"><em>BASE_CONFIG: &lt;&lt;&lt; 119545-03 (405 of 433) &gt;&gt;&gt;</em></div>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/package-management/base_config-js_install_patchclust-unable-to-locate-patch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Sybase Perl module in Solaris 10</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/install-sybase-perl-module-in-solaris-10/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-sybase-perl-module-in-solaris-10</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/install-sybase-perl-module-in-solaris-10/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 22:01:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[chain]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[dbd::sybase]]></category>
		<category><![CDATA[dbi]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[perl5]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris10]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sybase]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=96</guid>
		<description><![CDATA[Installing Perl modules in Sun Solaris is not as straight forward but is not very difficult as well.  Perl module installations in Sun Solaris needs GNU Make rather than the default make tool installed. And, requires using perlgcc to build the Makefile.PL than the default perl binary. Installing Sybase Perl Module requires the following preinstalled <a href='http://www.sunsolarisadmin.com/solaris-10/install-sybase-perl-module-in-solaris-10/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><div style="float: left"><script type="text/javascript"><!--
google_ad_client = "pub-6220434432369569";
/* sunsoladm_336x280_post */
google_ad_slot = "5048319182";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>Installing Perl modules in Sun Solaris is not as straight forward but is not very difficult as well.  Perl module installations in Sun Solaris needs GNU Make rather than the default make tool installed. And, requires using perlgcc to build the Makefile.PL than the default perl binary.</p>
<p><span id="more-96"></span></p>
<p>Installing Sybase Perl Module requires the following preinstalled</p>
<p>1. Sybase Server/Client already installed on your server<br />
2. GNU Make</p>
<p><span style="text-decoration: underline;"><strong>Install GNU Make</strong></span></p>
<p>Assuming you have already installed Sybase Server/Client on your system, lets download and install GNU Make.</p>
<p>GNU Make package can be downloaded from sunfreeware.com website. At the time of writing, the version available for download is Make 3.81</p>
<p><a title="Download GNU Make in Solaris 10 SPARC" href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/make-3.81-sol10-sparc-local.gz" target="_blank">Download GNU Make for Solaris 10 (SPARC)</a></p>
<p><a title="Download GNU Make in Solaris 10 x86" href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/make-3.81-sol10-x86-local.gz" target="_blank">Download Make for Solaris 10 (x86)</a></p>
<p><em><span style="text-decoration: underline;"><strong>Unzip and Install GNU Make</strong></span></em></p>
<p>From the directory where the file is downloaded</p>
<blockquote><p><strong># gunzip make-3.81-sol10-x86-local.gz<br />
# pkgadd -d make-3.81-sol10-x86-local</strong></p></blockquote>
<p>This should install &#8220;make&#8221; under <strong>/usr/local/bin</strong></p>
<blockquote><p><strong># which make<br />
/usr/local/bin/make</strong></p></blockquote>
<p>Download Perl Modules from <a title="CPAN" href="www.cpan.org" target="_blank">www.cpan.org</a>. The modules we are interested in are</p>
<p>1. <a title="Perl DBI module" href="http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.609.tar.gz" target="_blank">DBI (Database Independent Interface for Perl)</a></p>
<p>2. <a title="Perl DBD::Sybase module" href="http://search.cpan.org/CPAN/authors/id/M/ME/MEWP/DBD-Sybase-1.09.tar.gz" target="_blank">DBD::Sybase (Sybase database Driver for the DBI module)</a></p>
<p><em>NOTE: I find in Solaris 10 Update 6, DBI module is already installed which means we only need to install DBD::Sybase module.</em></p>
<p>To verify either of the modules is already installed on the system,</p>
<p>For DBI, file <em><strong>DBI.pm</strong></em> should exist under</p>
<blockquote><p><em><strong>x86</strong></em></p>
<p>/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int/DBI.pm</p>
<p><em><strong>SPARC</strong></em></p>
<p>/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/DBI.pm</p></blockquote>
<p>For <em><strong>DBD::Sybase</strong></em></p>
<blockquote><p><em><strong>x86</strong></em></p>
<p>/usr/perl5/site_perl/5.8.4/i86pc-solaris-64int/DBD/Sybase.pm</p>
<p><em><strong>SPARC</strong></em></p>
<p>/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/DBD/Sybase.pm</p></blockquote>
<p>Now, assuming both these modules are not installed</p>
<p><span style="text-decoration: underline;"><strong>Install Perl DBI Module</strong></span></p>
<p>Download the DBI Module from <a title="Perl DBI module download" href="http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.609.tar.gz" target="_blank">here</a></p>
<p>From the download directory,</p>
<blockquote><p><strong># gunzip DBI-1.609.tar.gz<br />
# tar -xvf DBI-1.609.tar<br />
# cd DBI-1.609</strong></p></blockquote>
<p>The above steps should (g)unzip, untar the downloaded source files.</p>
<p>Export <strong>$SYBASE</strong> &amp; <strong>$LD_LIBRARY_PATH</strong> environment variables. We have the Sybase client installed under</p>
<p><strong>/opt/sybase/oc15.0-EBF16084/OCS-15_0</strong></p>
<p>which means the libraries exist under</p>
<p><strong>/opt/sybase/oc15.0-EBF16084/OCS-15_0/lib</strong></p>
<blockquote><p><strong># export SYBASE=/opt/sybase/oc15.0-EBF16084/OCS-15_0<br />
# export LD_LIBRARY_PATH=/opt/sybase/oc15.0-EBF16084/OCS-15_0/lib:$LD_LIBRARY_PATH<br />
</strong></p></blockquote>
<p>If this step is skipped, the following error comes up in the next step:</p>
<p><span style="color: #ff0000;"><strong>Can&#8217;t find the lib directory under /export/home/sybase! at Makefile.PL line 118, &lt;IN&gt; line 44.</strong></span></p>
<p>Now comes the tricky bit, use /usr/perl5/bin/perlgcc instead of default perl as follows:</p>
<blockquote><p><strong># /usr/perl5/bin/perlgcc Makefile.PL</strong></p></blockquote>
<p>Let&#8217;s now compile and install using GNU Make from source directory</p>
<blockquote><p><strong># /usr/local/bin/make<br />
# /usr/local/bin/make test<br />
# /usr/local/bin/make install<br />
</strong></p></blockquote>
<p>To make sure the install compelted successfully. Check if the DBI.pm file exists as shown earlier.</p>
<p><span style="text-decoration: underline;"><strong>Install Perl DBD::Sybase module</strong></span></p>
<p>Download DBD::Sybase perl module from <a title="Download DBD::Sybase Perl module" href="http://search.cpan.org/CPAN/authors/id/M/ME/MEWP/DBD-Sybase-1.09.tar.gz" target="_blank">here</a>.</p>
<p>From the downloaded directory:</p>
<blockquote><p><strong># gunzip DBD-Sybase-1.09.tar.gz<br />
# tar -xvf DBD-Sybase-1.09.tar<br />
# cd DBD-Sybase-1.09</strong></p></blockquote>
<p>The above should (g)unzip, untar the downloaded file and change into the source directory.</p>
<p>Export the <strong>$SYBASE &amp; $LD_LIBRARY_PATH</strong> environment variables if you have already not done so.</p>
<blockquote><p><strong># export SYBASE=/opt/sybase/oc15.0-EBF16084/OCS-15_0<br />
# export LD_LIBRARY_PATH=/opt/sybase/oc15.0-EBF16084/OCS-15_0/lib:$LD_LIBRARY_PATH</strong></p></blockquote>
<p>Run perlgcc against the Makefile.PL as follows:</p>
<blockquote><p><strong># /usr/perl5/bin/perlgcc Makefile.PL</strong></p></blockquote>
<p>Select the default CHAIN mode or modify as required, then enter the Sybase Server, a Sybase Username and password and a Database as and when promted. This will allow the installation test connection. Make sure this DB connection is updated in the Sybase &#8220;interfaces&#8221; file.</p>
<p><em>NOTE: Once the installation is completed. Either the PWD file created by this procedure or the entire Source directory should be deleted as the PWD file will contain these DB access details. Also, it is advisable to provide a test DB access detail rather than a live environment.<br />
</em><br />
Let&#8217;s now compile and install using GNU Make from source directory</p>
<blockquote><p><strong># /usr/local/bin/make</strong></p></blockquote>
<p>Now, re-export <strong>$SYBASE</strong> as follows:</p>
<p><strong># export SYBASE=/opt/sybase/oc15.0-EBF16084</strong></p>
<p><em>[NOTE: This may vary in your environment]</em></p>
<blockquote><p><strong># /usr/local/bin/make test<br />
# /usr/local/bin/make install</strong></p></blockquote>
<p>This should install the Sybase Perl module. To confirm the installation was successful, look for Sybase.pm as explained earlier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/install-sybase-perl-module-in-solaris-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to find list of files installed by a package</title>
		<link>http://www.sunsolarisadmin.com/package-management/how-to-find-list-of-files-installed-by-a-package/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-find-list-of-files-installed-by-a-package</link>
		<comments>http://www.sunsolarisadmin.com/package-management/how-to-find-list-of-files-installed-by-a-package/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 17:20:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[gcrypt]]></category>
		<category><![CDATA[pacage]]></category>
		<category><![CDATA[pkgchk]]></category>
		<category><![CDATA[pkginfo]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=89</guid>
		<description><![CDATA[&#8220;pkginfo&#8221; command can be useful in Solaris to give a detailed listing of a package including the details of number of installed files, pathnames, directories and executables as follows: # pkginfo -l SUNWlibgcrypt PKGINST:  SUNWlibgcrypt NAME:  Libgcrypt &#8211; Cryptographic Library CATEGORY:  EVO146,application,JDS3 ARCH:  sparc VERSION:  1.1.12,REV=10.0.3.2004.12.15.17.57 BASEDIR:  /usr VENDOR:  Sun Microsystems, Inc. DESC:  Libgcrypt &#8211; <a href='http://www.sunsolarisadmin.com/package-management/how-to-find-list-of-files-installed-by-a-package/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><strong>&#8220;pkginfo&#8221;</strong> command can be useful in Solaris to give a detailed listing of a package including the details of number of installed files, pathnames, directories and executables as follows:</p>
<p><span id="more-89"></span><br />
<strong> </strong></p>
<blockquote><p><strong># pkginfo -l SUNWlibgcrypt</strong><br />
PKGINST:  SUNWlibgcrypt<br />
NAME:  Libgcrypt &#8211; Cryptographic Library<br />
CATEGORY:  EVO146,application,JDS3<br />
ARCH:  sparc<br />
VERSION:  1.1.12,REV=10.0.3.2004.12.15.17.57<br />
BASEDIR:  /usr<br />
VENDOR:  Sun Microsystems, Inc.<br />
DESC:  Libgcrypt &#8211; Cryptographic Library<br />
PSTAMP:  fire420041215175708<br />
INSTDATE:  Sep 15 2008 12:08<br />
HOTLINE:  Please contact your local service provider<br />
STATUS:  completely installed<br />
FILES:        6 installed pathnames<br />
2 shared pathnames<br />
2 directories<br />
2 executables<br />
595 blocks used (approx)</p></blockquote>
<p>But, if you want to see what those files and directories are then &#8220;<strong>pkgchk</strong>&#8221; should be your toy. The following should show the list of files and pathnames installed by the package:</p>
<blockquote><p><strong># pkgchk -l SUNWlibgcrypt|egrep &#8220;Pathname|Type&#8221;</strong><br />
Pathname: /usr/bin<br />
Type: directory<br />
Pathname: /usr/bin/libgcrypt-config<br />
Type: regular file<br />
Pathname: /usr/lib<br />
Type: directory<br />
Pathname: /usr/lib/libgcrypt.so<br />
Type: symbolic link<br />
Pathname: /usr/lib/libgcrypt.so.1<br />
Type: symbolic link<br />
Pathname: /usr/lib/libgcrypt.so.1.5.1<br />
Type: regular file</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/package-management/how-to-find-list-of-files-installed-by-a-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find files,directories,path,executables for packages</title>
		<link>http://www.sunsolarisadmin.com/package-management/how-to-find-filesdirectoriespathexecutables-for-packages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-find-filesdirectoriespathexecutables-for-packages</link>
		<comments>http://www.sunsolarisadmin.com/package-management/how-to-find-filesdirectoriespathexecutables-for-packages/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 19:02:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[GNU]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[pkgchk]]></category>
		<category><![CDATA[pkginfo]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[SUNW]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/package-management/how-to-find-filesdirectoriespathexecutables-for-packages/</guid>
		<description><![CDATA[Sometimes you run into situations to try and understand where the files for your package that you just installed on your Sun Solaris Server. While this is no big deal for geeks lets help &#8220;not so geeks&#8221; with a way to find the files and path of installed package. Here, on Sun Solaris 10, I <a href='http://www.sunsolarisadmin.com/package-management/how-to-find-filesdirectoriespathexecutables-for-packages/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
Sometimes you run into situations to try and understand where the files for your package that you just installed on your Sun Solaris Server. While this is no big deal for geeks lets help &#8220;not so geeks&#8221; with a way to find the files and path of installed package.</p>
<p><span id="more-45"></span></p>
<p>Here, on Sun Solaris 10, I know I&#8217;ve installed wget package and don&#8217;t have a clue where the files have gone into. Let&#8217;s start with finding the package name.</p>
<blockquote><p><strong>solaris10#  pkginfo -l | grep wget</strong><br />
   PKGINST:  SUNWwgetr<br />
      NAME:  GNU wget &#8211; utility to retrieve files from the World Wide Web (root)<br />
      DESC:  GNU wget &#8211; a utility to retrieve files from the World Wide Web (root components) 1.9.1<br />
   PKGINST:  SUNWwgetu<br />
      NAME:  wget &#8211; GNU wget<br />
      DESC:  GNU wget &#8211; a utility to retrieve files from the World Wide Web (Usr) 1.9.1</p></blockquote>
<p>Now, that will help you find the package name. Here SUNWwgetu</p>
<blockquote><p><strong># pkginfo -l SUNWwgetu<br />
</strong>   PKGINST:  SUNWwgetu<br />
      NAME:  wget &#8211; GNU wget<br />
  CATEGORY:  system<br />
      ARCH:  i386<br />
   VERSION:  11.10.0,REV=2005.01.08.01.09<br />
   BASEDIR:  /<br />
    VENDOR:  Sun Microsystems, Inc.<br />
      DESC:  GNU wget &#8211; a utility to retrieve files from the World Wide Web (Usr) 1.9.1<br />
    PSTAMP:  sfw10-x20050108014615<br />
  INSTDATE:  Mar 20 2007 14:38<br />
   HOTLINE:  Please contact your local service provider<br />
    STATUS:  completely installed<br />
     FILES:        4 installed pathnames<br />
                   3 shared pathnames<br />
                   3 directories<br />
                   1 executables<br />
                 338 blocks used (approx)</p></blockquote>
<p>That gives you a more detailed insight on the package. If you look at the last part of the output, it displays the number of files, directories, paths installed and the number of executables installed.</p>
<p>To find the files installed</p>
<blockquote><p><strong># pkgchk -v SUNWwgetu<br />
</strong>/usr<br />
/usr/sfw<br />
/usr/sfw/bin<br />
/usr/sfw/bin/wget<strong> </strong></p></blockquote>
<p>This will give details of the package files, directories, paths and executable installed. For wget the executable is in /usr/sfw/bin/</p>
<p>This should help!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/package-management/how-to-find-filesdirectoriespathexecutables-for-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install &amp; Run Sun VTS in Solaris 10 for hardware &amp; Stress test</title>
		<link>http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-run-sun-vts-in-solaris-10-for-hardware-stress-test</link>
		<comments>http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 21:41:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris10]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[sunvts]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/</guid>
		<description><![CDATA[In my previous write up here, I wrote a brief description of the Sun VTS (Validation and Test Suite) which can help one to run tests on any Sun Supported hardware and hardware components and report the health status and identify faulty devices. Now, lets get installing and run Sun VTS in Solaris 10. Download <a href='http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>In my previous write up <a target="_blank" href="http://www.sunsolarisadmin.com/general/sun-vts-sun-validation-test-suite-for-hardware-stress-test/" title="Sun VTS - Validation &amp; Test Suite">here</a>, I wrote a brief description of the Sun VTS (Validation and Test Suite) which can help one to run tests on any Sun Supported hardware and hardware components and report the health status and identify faulty devices. Now, lets get installing and run Sun VTS in Solaris 10.</p>
<p><span id="more-31"></span></p>
<p>Download the most recent stable version of SUNWvts (SUNWvts6.4ps2 at the time of writing this article) for SPARC/x86 platforms from <a target="_blank" href="http://www.sun.com/oem/products/vts/" title="Sun VTS download and install in Sun Solaris 10">here</a></p>
<pre>NOTE: Requires Sunsolve login to download.</pre>
<p>Sun VTS requires the following packages installed to run properly.</p>
<blockquote><p><strong><u>Core SunVTS Framework</u></strong></p>
<p>SUNWvts_VTS6.4ps2_sparc.tar.Z (SPARC)</p>
<p>SUNWvts_VTS6.4ps2_x86.tar.Z (x86)</p>
<p><strong><u>Sun VTS Tests</u></strong></p>
<p>SUNWvtsts_VTS6.4ps2_sparc.tar.Z (SPARC)</p>
<p>SUNWvtsts_VTS6.4ps2_x86.tar.Z (x86)</p>
<p><strong><u>SunVTS Framework Configuration Files in Root partition </u></strong><em>(Optional/Recommended)</em></p>
<p>SUNWvtsr_VTS6.4ps2_sparc.tar.Z</p>
<p>SUNWvtsr_VTS6.4ps2_x86.tar.Z<br />
 <br />
<strong><u>Sun VTS Man Pages (Optional)</u></strong><br />
SUNWvtsmn_VTS6.4ps1_sparc.tar.Z (SPARC)</p>
<p>SUNWvtsmn_VTS6.4ps1_x86.tar.Z (x86)</p></blockquote>
<p>Prior to installation, it is important that any previous version of the above mentioned Sun VTS packages are removed.</p>
<p>To check if previous versions are installed</p>
<blockquote><p><strong>solaris10# pkginfo -l | grep -i vts</strong></p></blockquote>
<p>If found uninstall them before proceeding with the procedure</p>
<blockquote><p><strong>solaris10# pkgrm SUNWvts SUNWvtsr SUNWvtsts SUNWvtsmn</strong></p></blockquote>
<p>Download and install the latest revision of Microtasking libraries (libmtsk) patch for Solaris 10 from the following Sun Solve website:</p>
<blockquote><p><a href="http://sunsolve.sun.com/show.do?target=patchpage"><strong>http://sunsolve.sun.com/show.do?target=patchpage</strong></a></p></blockquote>
<blockquote><p>Solaris 10 SPARC &#8211; 120753 (120753-05)</p>
<p>Solaris 10 x86 &#8211; 120754 (120754-05)</p></blockquote>
<p>Download unzip and install the patch:</p>
<p><strong><u>SPARC</u></strong></p>
<blockquote><p><strong>solaris10# unzip 120753-05.zip</strong></p>
<p><strong>solaris10# patchadd 120753-05</strong></p></blockquote>
<p><strong><u>x86</u></strong></p>
<blockquote><p><strong>solaris10# unzip 120754-05.zip</strong></p>
<p><strong>solaris10# patchadd 120754-05</strong></p></blockquote>
<p>Now, lets get installing the Sun VTS packages.</p>
<p><strong><u>Install SunVTS Core Framework (SPARC &amp; x86)</u></strong></p>
<blockquote><p><strong>solaris10#pkgadd -d . SUNWvts</strong></p></blockquote>
<p>That installs the required Sun VTS Core Framework package.</p>
<p><strong><u>Install the rest of the SunVTS packages</u></strong><br />
(SunVTS Tests,config files in root &amp; Man pages)</p>
<blockquote><p><strong>solaris10# pkgadd -d . SUNWvtsts SUNWvtsr SUNWvtsmn</strong></p></blockquote>
<p>That completes the Sun VTS package installation.</p>
<p><strong><u>Enable the rstatd daemon</u></strong></p>
<p>rstatd daemon is disabled by default in Solaris 10.</p>
<blockquote><p><strong>solaris10# svcadm enable rstatd</strong></p></blockquote>
<p><strong><u>Export Display to your PC (GUI only)</u></strong></p>
<blockquote><p><strong>solaris10# export DISPLAY 192.168.0.2:0</strong></p></blockquote>
<p><strong><u>Start Sun VTS</u></strong></p>
<blockquote><p><strong>solaris10# /opt/SUNWvts/bin/sunvts &amp;</strong></p></blockquote>
<p>This should start the Sun VTS software and export GUI to your PC (if display not exported then runs tty user interface on the terminal). Sun VTS will discover devices and list available tests for your server with dezcriptive information on the server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/install-run-sun-vts-in-solaris-10-for-hardware-stress-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun Solaris Patch Management return codes</title>
		<link>http://www.sunsolarisadmin.com/package-management/sun-solaris-patch-management-return-codes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sun-solaris-patch-management-return-codes</link>
		<comments>http://www.sunsolarisadmin.com/package-management/sun-solaris-patch-management-return-codes/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 20:21:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[patch-management]]></category>
		<category><![CDATA[return-codes]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/package-management/sun-solaris-patch-management-return-codes/</guid>
		<description><![CDATA[When you install Patches on Solaris, you will find quite often see error codes or Exit/Return codes when the patch installation fails. These are the return codes that indicate the cause of the failure to install the specified patch and are very helpful as point to start with in troubleshooting. The most commonly seen return <a href='http://www.sunsolarisadmin.com/package-management/sun-solaris-patch-management-return-codes/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><span style="font-size: 85%"><font size="2">When you install Patches on Solaris, you will find quite often see error codes or Exit/Return codes when the patch installation fails.</font></span></p>
<p><span style="font-size: 85%"><font size="2">These are the return codes that indicate the cause of the failure to install the specified patch and are very helpful as point to start with in troubleshooting.</font></span></p>
<p><span style="font-size: 85%"><span id="more-27"></span></span></p>
<p><span style="font-size: 85%"><font size="2">The most commonly seen return codes are Return code 2, Return code 8, Return code 25, Return code 35.</font></span></p>
<p style="font-style: italic"><span style="font-size: 85%"><font size="2">Return Code 2 indicates that the patch you are trying to install is already been applied.</font></span></p>
<p style="font-style: italic"><span style="font-size: 85%"><font size="2">Return Code 8 indicate that the patch you are trying to install is for a package that is not already installed.</font></span></p>
<p style="font-style: italic"><span style="font-size: 85%"><font size="2">Return Code 25 indicates that a patch required for this patch to be installed in not found.</font></span></p>
<p style="font-style: italic"><span style="font-size: 85%"><font size="2">Return Code 35 indicates that the revision of the patch is older and that a later version of the patch is already applied to the system.</font></span></p>
<p><span style="font-size: 85%"><font size="2"> <img src="http://www.sunsolarisadmin.com/wp-content/uploads/2008/01/patching-_return_codes.png" alt="Sun Solaris patch return codes" /></font></span></p>
<p><span style="font-size: 85%"><font size="2">The following are a list of the Return/Exit codes that you may come across while patching your Solaris server:</font></span></p>
<table border="1" cellPadding="0" cellSpacing="0" style="border-collapse: collapse; border: medium none" class="MsoNormalTable">
<tr>
<td vAlign="top" style="padding-right: 5.4pt; padding-left: 5.4pt; background: navy 0% 50%; padding-bottom: 0cm; width: 91px; color: #ffffff; padding-top: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; border: #999999 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Exit Code / Return Code</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: 1pt dashed; padding-left: 5.4pt; background: navy 0% 50%; padding-bottom: 0cm; border-left: medium none; width: 477px; color: #ffffff; padding-top: 0cm; border-bottom: 1pt dashed; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial">
<p class="MsoNormal"><span style="font-family: Arial">Description</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">0</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">No error</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">1</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Usage error</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">2</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Attempt to apply a patch that&#8217;s already been applied</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">3</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Effective UID is not root</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">4</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Attempt to save original files failed</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">5</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">pkgadd failed</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">6</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Patch is obsolete</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">7</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Invalid package directory</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">8</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Attempting to patch a package that is not installed</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">9</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Cannot access /usr/sbin/pkgadd (client problem)</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">10</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Package validation errors</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">11</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Error adding patch to root template</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">12</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Patch script terminated due to signal</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">13</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Symbolic link included in patch</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">14</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">NOT USED</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">15</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">The prepatch script had a return code other than 0</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">16</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">The postpatch script had a return code other than 0</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">17</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Mismatch of the -d option between a previous patch install and the current one</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">18</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Not enough space in the file systems that are targets of the patch</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">19</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">$SOFTINFO/INST_RELEASE file not found</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">20</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">A direct instance patch was required but not found</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">21</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">The required patches have not been installed on the manager</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">22</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">A progressive instance patch was required but not found</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">23</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">A restricted patch is already applied to the package</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">24</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">An incompatible patch is applied</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">25</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">A required patch is not applied</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">26</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">The user specified back out data can&#8217;t be found</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">27</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">The relative directory supplied can&#8217;t be found</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">28</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">A pkginfo file is corrupt or missing</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">29</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Bad patch ID format</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">30</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Dryrun failure(s)</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">31</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Path given for -C option is invalid</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">32</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Must be running Solaris 2.6 or greater</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">33</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Bad formatted patch file or patch file not found</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">34</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">The appropriate kernel jumbo patch needs to be installed</span></p>
</td>
</tr>
<tr>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: 1pt dashed; width: 91px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">35</span></p>
</td>
<td vAlign="top" style="border-right: 1pt dashed; padding-right: 5.4pt; border-top: medium none; padding-left: 5.4pt; padding-bottom: 0cm; border-left: medium none; width: 477px; padding-top: 0cm; border-bottom: 1pt dashed">
<p class="MsoNormal"><span style="font-family: Arial">Later revision already installed</span></p>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/package-management/sun-solaris-patch-management-return-codes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Install OpenSSH in Sun Solaris 10 (X86)</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-openssh-in-sun-solaris-10-x86</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 12:32:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Sun X86 platform]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[x86]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/</guid>
		<description><![CDATA[OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH <a href='http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.</p>
<p>Solaris 10 is by default installed with SSH server and the clients. However, if you have chosen to ignore SSH at the time of installation or have started the install with a minimal install then you may need to install OpenSSH manually.</p>
<p><span id="more-16"></span></p>
<p>The easiest way to install OpenSSH in Sun Solaris is to use the pre-compiled packages from sunfreeware.</p>
<p>The following are the packages that are required to be installed for OpenSSH to work properly in Solaris 10:</p>
<pre>OpenSSL (Latest stable: openssl-0.9.8f)</pre>
<pre>ZLib (Latest stable: zlib-1.2.3)</pre>
<pre>GNU Compiler Collection (gcc Latest stable: libgcc-3.4.6)</pre>
<pre>TCPWrapper (Optional tcp_wrappers-7.6)</pre>
<pre>and OpenSSH itself (Latest Stable: openssh-4.7p1)</pre>
<p>To start of, download the packages from the following sunfreeware.com links for Sun Solaris 10 X86 platform:</p>
<p><strong><u>gcc</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libgcc-3.4.6-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libgcc-3.4.6-sol10-x86-local.gz</a></p></blockquote>
<p><strong><u>Zlib</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/zlib-1.2.3-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/zlib-1.2.3-sol10-x86-local.gz</a></p></blockquote>
<p><strong><u>OpenSSL</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssl-0.9.8f-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssl-0.9.8f-sol10-x86-local.gz</a></p></blockquote>
<p><strong><u>OpenSSH</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssh-4.7p1-sol10-x86-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/intel/10/openssh-4.7p1-sol10-x86-local.gz</a></p></blockquote>
<p>Once done, upload the files onto the server so we can start to unzip the files and install.</p>
<p><strong><u>Unzip and install gcc</u></strong></p>
<blockquote><p>solaris10# gunzip libgcc-3.4.6-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d libgcc-3.4.6-sol10-x86-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCgcc&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install zlib</u></strong></p>
<blockquote><p>solaris10# gunzip  zlib-1.2.3-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d zlib-1.2.3-sol10-x86-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCzlib&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSL</u></strong></p>
<blockquote><p>solaris10# gunzip openssl-0.9.8f-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d openssl-0.9.8f-sol10-x86-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSH</u></strong></p>
<blockquote><p>solaris10# gunzip openssh-4.7p1-sol10-x86-local.gz</p>
<p>solaris10# pkgadd -d openssh-4.7p1-sol10-x86-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p>The packages are now installed.</p>
<p><strong><u>Create /var/empty directory</u></strong></p>
<blockquote><p>solaris10# mkdir /var/empty</p></blockquote>
<p><strong><u>Change directory ownership to Root user and sys group</u></strong></p>
<blockquote><p>solaris10# chown root:sys /var/empty</p></blockquote>
<p><strong><u>Change permissions</u></strong></p>
<blockquote><p>solaris10# chmod 755 /var/empty</p></blockquote>
<p><strong><u>Add sshd user &amp; group</u></strong></p>
<blockquote><p>solaris10# groupadd ssh</p>
<p>solaris10# # useradd -g sshd -c &#8216;sshd privsep&#8217; -d /var/empty -s /bin/false sshd</p></blockquote>
<p><strong><u>Edit the default /usr/local/sshd_config file and make the following changes:</u></strong></p>
<p>Replace the line</p>
<blockquote><p>Subsystem sftp /usr/libexec/sftp-server</p></blockquote>
<p>with</p>
<blockquote><p>Subsystem sftp /usr/local/libexec/sftp-server</p></blockquote>
<p><strong><u>Generate Keys for the server</u></strong></p>
<blockquote><p>solaris10# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N &#8220;&#8221;<br />
solaris10# ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N &#8220;&#8221;<br />
solaris10# ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N &#8220;&#8221;</p></blockquote>
<p><strong><u>Enable OpenSSH server daemon sshd to run at the system startup</u></strong></p>
<p>Edit /lib/svc/method/sshd file and change the path for the SSH DIR, KEYGEN &amp; the start daemon as follows:</p>
<blockquote><p>SSHDIR=/usr/local/etc/ssh<br />
KEYGEN=&#8221;/usr/local/bin/ssh-keygen -q&#8221;</p>
<p>&#8216;start&#8217;)<br />
         /usr/local/sbin/sshd</p></blockquote>
<p>That is it. All done and ready to go. Try connecting to the server using a ssh client like PUTTY.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-x86/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Install OpenSSH in Sun Solaris 10 (SPARC)</title>
		<link>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-openssh-in-sun-solaris-10-sparc</link>
		<comments>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 12:21:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[keygen]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/</guid>
		<description><![CDATA[OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH <a href='http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense--></p>
<p>OpenSSH is a free opensource version of the SSH connectivity tools. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks unlike Telnet,rlogin or ftp where the data is not encrypted and transmitted in plain text. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.</p>
<p><span id="more-15"></span></p>
<p>Solaris 10 is by default installed with SSH server and the clients. However, if you have chosen to ignore SSH at the time of installation or have started the install with a minimal install then you may need to install OpenSSH manually.</p>
<p>The easiest way to install OpenSSH in Sun Solaris is to use the pre-compiled packages from sunfreeware.</p>
<p>The following are the packages that are required to be installed for OpenSSH to work properly in Solaris 10:</p>
<pre>OpenSSL (Latest stable: openssl-0.9.8f)</pre>
<pre>ZLib (Latest stable: zlib-1.2.3)</pre>
<pre>GNU Compiler Collection (gcc Latest stable: libgcc-3.4.6)</pre>
<pre>TCPWrapper (Optional tcp_wrappers-7.6)</pre>
<pre>and OpenSSH itself (Latest Stable: openssh-4.7p1)</pre>
<p>To start of, download the packages from the following sunfreeware.com links for sun solaris 10 Sparc:</p>
<p><strong><u>gcc</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/libgcc-3.4.6-sol10-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/libgcc-3.4.6-sol10-sparc-local.gz</a></p></blockquote>
<p><strong><u>Zlib</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/zlib-1.2.3-sol10-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/zlib-1.2.3-sol10-sparc-local.gz</a></p></blockquote>
<p><strong><u>OpenSSL</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/openssl-0.9.8f-sol10-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/openssl-0.9.8f-sol10-sparc-local.gz</a></p></blockquote>
<p><strong><u>OpenSSH</u></strong></p>
<blockquote><p><a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/openssh-4.7p1-sol10-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/openssh-4.7p1-sol10-sparc-local.gz</a></p></blockquote>
<p>Once done, upload the files onto the server so we can start to unzip the files and install.</p>
<p><strong><u>Unzip and install gcc</u></strong></p>
<blockquote><p>solaris10# gunzip libgcc-3.4.6-sol9-sparc-local.gz</p>
<p>solaris10# pkgadd -d libgcc-3.4.6-sol9-sparc-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCgcc&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install zlib</u></strong></p>
<blockquote><p>solaris10# gunzip  zlib-1.2.1-sol9-sparc-local.gz</p>
<p>solaris10# pkgadd -d zlib-1.2.1-sol9-sparc-local</p>
<p>&#8230;<br />
&#8230;<br />
Installation of &lt;SMCzlib&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSL</u></strong></p>
<blockquote><p>solaris10# gunzip openssl-0.9.8f-sol9-sparc-local.gz</p>
<p>solaris10# pkgadd -d openssl-0.9.8f-sol9-sparc-local<br />
&#8230;<br />
&#8230;<br />
Installation of &lt;SMCossl&gt; was successful.</p></blockquote>
<p><strong><u>Unzip and install OpenSSH</u></strong></p>
<blockquote><p>solaris10# gunzip openssh-4.7p1-sol9-sparc-local.gz</p>
<p>solaris10# pkgadd -d openssh-4.7p1-sol9-sparc-local</p></blockquote>
<p>The packages are now installed.</p>
<p><strong><u>Create /var/empty directory</u></strong></p>
<blockquote><p>solaris10# mkdir /var/empty</p></blockquote>
<p><strong><u>Change directory ownership to Root user and sys group</u></strong></p>
<blockquote><p>solaris10# chown root:sys /var/empty</p></blockquote>
<p><strong><u>Change permissions</u></strong></p>
<blockquote><p>solaris10# chmod 755 /var/empty</p></blockquote>
<p><strong><u>Add sshd user &amp; group</u></strong></p>
<blockquote><p>solaris10# groupadd ssh</p>
<p>solaris10# # useradd -g sshd -c &#8216;sshd privsep&#8217; -d /var/empty -s /bin/false sshd</p></blockquote>
<p><strong><u>Edit the default /usr/local/sshd_config file and make the following changes:</u></strong></p>
<p>Replace the line</p>
<blockquote><p>Subsystem sftp /usr/libexec/sftp-server</p></blockquote>
<p>with</p>
<blockquote><p>Subsystem sftp /usr/local/libexec/sftp-server</p></blockquote>
<p><strong><u>Generate Keys for the server</u></strong></p>
<blockquote><p>solaris10# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N &#8220;&#8221;<br />
solaris10# ssh-keygen -t dsa -f /usr/local/etc/ssh_host_dsa_key -N &#8220;&#8221;<br />
solaris10# ssh-keygen -t rsa -f /usr/local/etc/ssh_host_rsa_key -N &#8220;&#8221;</p></blockquote>
<p><strong><u>Enable OpenSSH server daemon sshd to run at the system startup</u></strong></p>
<p>Edit /lib/svc/method/sshd file and change the path for the SSH DIR, KEYGEN &amp; the start daemon as follows:</p>
<blockquote><p>SSHDIR=/usr/local/etc/ssh<br />
KEYGEN=&#8221;/usr/local/bin/ssh-keygen -q&#8221;</p>
<p>&#8216;start&#8217;)<br />
         /usr/local/sbin/sshd</p></blockquote>
<p>That is it. All done and ready to go. Try connecting to the server using a ssh client like PUTTY.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/solaris-10/how-to-install-openssh-in-sun-solaris-10-sparc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to install MySQL database server in Sun Solaris</title>
		<link>http://www.sunsolarisadmin.com/package-management/how-to-install-mysql-database-server-in-sun-solaris/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-mysql-database-server-in-sun-solaris</link>
		<comments>http://www.sunsolarisadmin.com/package-management/how-to-install-mysql-database-server-in-sun-solaris/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 11:03:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/package-management/how-to-install-mysql-database-server-in-sun-solaris/</guid>
		<description><![CDATA[Installation of MySQL Database server on Solaris is not that difficult but is a bit dragging and not as straightforward as is in any other Linux flavors. The following procedure will help install MySQL and configure successfuly in Sun Solaris. To install MySQL Database server on Solaris follow the procedures listed below: Note: I've used <a href='http://www.sunsolarisadmin.com/package-management/how-to-install-mysql-database-server-in-sun-solaris/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->Installation of MySQL Database server on Solaris is not that difficult but is a bit dragging and not as straightforward as is in any other Linux flavors. The following procedure will help install MySQL and configure successfuly in Sun Solaris.<span id="more-9"></span></p>
<p>To install MySQL Database server on Solaris follow the procedures listed below:</p>
<pre class="small highlight highlight">Note: I've used MySQL-5.0.24a for Solaris 8. However, this is a very generic</pre>
<pre class="small highlight highlight">procedure and I'm sure will work on other Solaris versions. </pre>
<p>Download the MySQL Package for solaris from</p>
<blockquote><p><a target="_blank" href="http://dev.mysql.com/downloads/mysql/5.0.html" title="Download MySQL for Solaris from MySQL website"><font color="#808080">http://dev.mysql.com/downloads/mysql/5.0.html<br />
</font></a></p></blockquote>
<p>Once downloaded unzip using</p>
<blockquote><p><strong># gzip mysql-standard-5.0.24a-solaris8-sparc-64bit.tar.gz</strong></p></blockquote>
<p>Now, comes the first problem, you need to have GNU Tar installed on your Solaris server as there is bug in getting the classic Solaris one to work.</p>
<p>To download and install GNUTar, please <a target="_blank" href="http://www.sunsolarisadmin.com/package-management/how-to-install-gnu-tar-in-sun-solaris/" title="How to install GNU Tar on Solaris"><font color="#808080">click here</font></a>. </p>
<p>Untar using GNUTar by</p>
<blockquote><p><strong># tar -xvf mysql-standard-5.0.24a-solaris8-sparc-64bit.tar</strong></p></blockquote>
<p>Now, install using</p>
<blockquote><p><strong># pkgadd -d mysql-standard-5.0.24a-solaris8-sparc-64bit.pkg</strong></p></blockquote>
<p>This installs the software. You can be confirmed using</p>
<blockquote><p><strong># pkginfo -l mysql</strong></p></blockquote>
<p><img src="http://www.sunsolarisadmin.com/wp-content/uploads/2008/01/pkginfo_mysql.png" alt="pkginfo output for mysql installation in Sun Solaris" /></p>
<p>This will give a detailed output describing the installation.</p>
<p>Now, change dir to /opt/mysql/mysql/support-files</p>
<blockquote><p><strong># cd /opt/mysql/mysql/support-files</strong></p></blockquote>
<p>Copy the my-middle.cnf as my.cnf and mysql.server to /opt/mysql/mysql/scripts</p>
<blockquote><p><strong># cp my-middle.cnf ../scripts/my.cnf</strong><br />
<strong># cp mysql.server ../scripts/</strong></p></blockquote>
<p>Now, change to /opt/mysql/mysql/scripts folder</p>
<blockquote><p><strong># cd opt/mysql/mysql/scripts</strong></p></blockquote>
<p>Edit file my.cnf using vi</p>
<blockquote><p><strong>#vi my.cnf</strong></p></blockquote>
<p>Add the following lines to the file under <strong>[mysqld]</strong></p>
<blockquote><p><strong><br />
datadir=/opt/mysql/mysql/data<br />
basedir=/opt/mysql/mysql<br />
log<br />
log-update</strong></p></blockquote>
<p>Similary, edit the mysql.server file and add the following lines:</p>
<blockquote><p><strong># vi mysql.server</strong><br />
<strong><br />
basedir=/opt/mysql/mysql<br />
datadir=/opt/opt/mysql/mysql/data<br />
conffile=/opt/mysql/mysql/scripts/my.cnf<br />
mysql_daemon_user=mysql</strong></p></blockquote>
<p>Now, all done, run the mysql_install_db script as follows</p>
<blockquote><p><strong># ./mysql_install_db &#8211;defaults-file=/opt/mysql/mysql/scripts/my.cnf</strong></p></blockquote>
<p>This creates the initial MySQL database.</p>
<p>Now, start MySQL using</p>
<blockquote><p><strong>cd . ; /opt/mysql/mysql/bin/mysqld_safe &amp;</strong></p></blockquote>
<p>This will start MySQL.</p>
<p>Now, you need to set the password for root account</p>
<blockquote><p><strong># /opt/mysql/mysql/bin/mysqladmin -u root password &#8216;newpassword&#8217;</strong><br />
<strong># /opt/mysql/mysql/bin/mysqladmin -u root -h &lt;hostname&gt; password &#8216;newpassword&#8217;</strong></p></blockquote>
<p>This completes a successful installation of MySQL on your Solaris Server. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/package-management/how-to-install-mysql-database-server-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install GNU tar in Sun Solaris</title>
		<link>http://www.sunsolarisadmin.com/package-management/how-to-install-gnu-tar-in-sun-solaris/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-gnu-tar-in-sun-solaris</link>
		<comments>http://www.sunsolarisadmin.com/package-management/how-to-install-gnu-tar-in-sun-solaris/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 10:49:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Package Management]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/package-management/how-to-install-gnu-tar-in-sun-solaris/</guid>
		<description><![CDATA[There are scenarios where you cannot untar a certain package with the builtin tar utility. A best example would be when you use it to untar the MySQL Packages downloaded from http://dev.mysql.com/downloads/mysql/5.0.html Follow the procedures listed below to sucessfully install GNU Tar installed in Sun Solaris. Download the GNU tar (tar-1.15.1) for your Solaris version <a href='http://www.sunsolarisadmin.com/package-management/how-to-install-gnu-tar-in-sun-solaris/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->There are scenarios where you cannot untar a certain package with the builtin tar utility. A best example would be when you use it to untar the MySQL Packages downloaded from</p>
<blockquote><p><a target="_blank" href="http://dev.mysql.com/downloads/mysql/5.0.html" title="MySQL Download website">http://dev.mysql.com/downloads/mysql/5.0.html</a></p></blockquote>
<p>Follow the procedures listed below to sucessfully install GNU Tar installed in Sun Solaris.</p>
<p><span id="more-7"></span></p>
<p>Download the GNU tar (tar-1.15.1) for your Solaris version and platform (SPARC/X86) from,</p>
<blockquote><p><a target="_blank" href="http://www.sunfreeware.com/" title="Possibly the best download centre for Solaris"><font color="#808080">http://www.sunfreeware.com</font></a></p></blockquote>
<p>Once downloaded, change to the directory where the file is downloaded (ex: /export/software/)</p>
<blockquote><p><strong># cd /export/software</strong></p></blockquote>
<p>Now, unzip using,</p>
<blockquote><p><strong># gzip -d tar-1.15.1-sol</strong><strong>8-sparc-local.gz</strong></p></blockquote>
<p class="small highlight">NOTE: File Name varies as per your solaris version/platform</p>
<p>Once done, install the package using,</p>
<blockquote><p><strong># pkgadd -d tar-1.15.1-sol9-sparc-local</strong></p></blockquote>
<p>NOTE: Be sure that you change to the directory and and just enter the package name after -d</p>
<p>Answer the prompts for confirmation and creation of new folder (if required).</p>
<p>This completes the installation.</p>
<p>To check the installation,</p>
<blockquote><p><strong># pkginfo | grep tar</strong></p></blockquote>
<p>This will show up as</p>
<blockquote><p><strong>application SMCtar GNU tar..</strong></p></blockquote>
<p>To confirm with more details,</p>
<blockquote><p><strong>#pkginfo -l SMCtar</strong></p></blockquote>
<p>This should do. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/package-management/how-to-install-gnu-tar-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

