<?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</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/package/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sunsolarisadmin.com</link>
	<description>Sun Solaris HowTo's Tips Tricks Tutorials</description>
	<lastBuildDate>Wed, 16 Jun 2010 21:07:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.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>How to find the package which installed a file</title>
		<link>http://www.sunsolarisadmin.com/general/how-to-find-the-package-which-installed-a-file/</link>
		<comments>http://www.sunsolarisadmin.com/general/how-to-find-the-package-which-installed-a-file/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 17:25:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[bin]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[solaris pkgchk]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=92</guid>
		<description><![CDATA[If you have a file and need to know the package that installed the file on the system then the following procedure using &#8220;pkgchk&#8221; should help. Let&#8217;s look at the &#8220;which&#8221; utility in Solaris and find which package installed the file. The file path for which is /usr/bin/which # which which /usr/bin/which To find the [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->If you have a file and need to know the package that installed the file on the system then the following procedure using &#8220;pkgchk&#8221; should help.</p>
<p><span id="more-92"></span><br />
Let&#8217;s look at the &#8220;which&#8221; utility in Solaris and find which package installed the file.</p>
<p>The file path for which is <strong>/usr/bin/which</strong></p>
<blockquote><p><strong># which which</strong><br />
/usr/bin/which</p></blockquote>
<p>To find the package which installed it use the &#8220;pkgchk&#8221; command with the &#8220;-l&#8221; &#8220;and -p&#8221; options and the full file path of the file as follows,</p>
<blockquote><p><strong># pkgchk -l -p /usr/bin/which</strong><br />
Pathname: /usr/bin/which<br />
Type: regular file<br />
Expected mode: 0555<br />
Expected owner: root<br />
Expected group: bin<br />
Expected file size (bytes): 1288<br />
Expected sum(1) of contents: 25204<br />
Expected last modification: Jan 21 23:32:39 2005<br />
Referenced by the following packages:<br />
<span style="color: #339966;"><em><strong>SUNWcsu</strong></em></span></p></blockquote>
<p>You can see that the which utility is installed by the package<span style="color: #ff0000;"> &#8220;SUNWcsu&#8221;</span>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/how-to-find-the-package-which-installed-a-file/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/</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 [...]]]></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/</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 [...]]]></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>
	</channel>
</rss>
