<?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; opensource</title>
	<atom:link href="http://www.sunsolarisadmin.com/tag/opensource/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>Error:  Your &#8220;crontab&#8221; on  unexpected end of line. This entry has been ignored</title>
		<link>http://www.sunsolarisadmin.com/general/error-your-crontab-on-unexpected-end-of-line-this-entry-has-been-ignored/</link>
		<comments>http://www.sunsolarisadmin.com/general/error-your-crontab-on-unexpected-end-of-line-this-entry-has-been-ignored/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 20:36:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=60</guid>
		<description><![CDATA[Everytime you edit your crontabe file, the error &#8220;Your &#8220;crontab&#8221; on &#60;server&#62; unexpected end of line. This entry has been ignored&#8221; is sent to the users email. This happens if there is a blank line in your crontab file. For instance, in the following crontab file there is a blank line between the last two [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->Everytime you edit your crontabe file, the error <span style="color: #ff0000;"><strong>&#8220;Your &#8220;crontab&#8221; on &lt;server&gt; unexpected end of line. This entry has been ignored&#8221;</strong></span> is sent to the users email. This happens if there is a blank line in your crontab file.</p>
<p><span id="more-60"></span><br />
For instance, in the following crontab file there is a blank line between the last two cron jobs.</p>
<blockquote><p><strong>root@sunsolaris# crontab -l</strong><br />
# The root crontab should be used to perform accounting data collection.<br />
#<br />
# The rtc command is run to adjust the real time clock if and when<br />
# daylight savings time changes.<br />
#<br />
10 1 * * 0,4 /etc/cron.d/logchecker<br />
10 2 * * 0  /usr/lib/newsyslog<br />
15 3 * * 0 /usr/lib/fs/nfs/nfsfind</p>
<p>30 4 * * * /usr/local/bin/disk_check,sh<br />
;;;;<br />
;;;<br />
;;<br />
;</p></blockquote>
<p>To resolve the problem edit the crontab file and look for the blank line and delete the line. In the above, after editing the crontab, it should look lie the follows:</p>
<blockquote><p><strong>root@sunsolaris# crontab -l</strong><br />
# The root crontab should be used to perform accounting data collection.<br />
#<br />
# The rtc command is run to adjust the real time clock if and when<br />
# daylight savings time changes.<br />
#<br />
10 1 * * 0,4 /etc/cron.d/logchecker<br />
10 2 * * 0  /usr/lib/newsyslog<br />
15 3 * * 0 /usr/lib/fs/nfs/nfsfind<br />
30 4 * * * /usr/local/bin/disk_check,sh<br />
;;;<br />
;;<br />
;</p></blockquote>
<p>You can see the  blank line removed from the crontab file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/error-your-crontab-on-unexpected-end-of-line-this-entry-has-been-ignored/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to mount an ISO image in SUN Solaris</title>
		<link>http://www.sunsolarisadmin.com/general/how-to-mount-an-iso-image-in-sun-solaris/</link>
		<comments>http://www.sunsolarisadmin.com/general/how-to-mount-an-iso-image-in-sun-solaris/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 20:16:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[CD.DVD]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/?p=59</guid>
		<description><![CDATA[In Sun Solaris, we can use the Loopback File driver to mount an ISO image without having to write the ISO image onto a CD or DVD. Following procedure should help you mount an ISO image in Sun Solaris Attach a Block Device sunsolaris# lofiadm -a /export/software/iso_image.iso /dev/lofi/1 Mount the ISO Image block device sunsolaris# [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
In Sun Solaris, we can use the Loopback File driver to mount an ISO image without having to write the ISO image onto a CD or DVD.</p>
<p>Following procedure should help you mount an ISO image in Sun Solaris</p>
<p><span id="more-59"></span></p>
<p><strong><span style="text-decoration: underline;">Attach a Block Device</span></strong></p>
<blockquote><p><strong>sunsolaris# lofiadm -a /export/software/iso_image.iso<br />
</strong>/dev/lofi/1</p></blockquote>
<p><strong><span style="text-decoration: underline;">Mount the ISO Image block device</span></strong></p>
<blockquote><p><strong>sunsolaris# mount -F hsfs -o ro /dev/lofi/1 /mnt</strong></p></blockquote>
<p>Where /mnt is the mount point.</p>
<p>This should mount the ISO image.</p>
<p>To confirm, change directory to /mnt and do a &#8220;ls&#8221; to lis the files</p>
<blockquote><p><strong>sunsolaris# cd /mnt</strong></p>
<p><strong>sunsolaris# ls</strong></p></blockquote>
<p>if at anytime, you want to look at these block devices simply type &#8220;lofiadm&#8221; command with no arguement.</p>
<blockquote><p><strong>sunsolaris# lofiadm</strong><br />
Block Device File<br />
/dev/lofi/1 /export/software/iso_image.iso</p></blockquote>
<p>When we are done with the files on the mounted ISO, we can unmount and detach the Block device we attached earlier:</p>
<blockquote><p><strong>sunsolaris# umount /mnt</strong></p>
<p><strong>sunsolaris# lofiadm -d /dev/lofi/1</strong></p></blockquote>
<p>For instructions on how to mount an ISO image in Linux, <a title="Mount an ISO image in openSUSE &amp; SUSE Linux" href="http://www.susegeek.com/general/how-to-mount-an-iso-image-in-suse-linux-opensuse/" target="_self">click here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/how-to-mount-an-iso-image-in-sun-solaris/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sun Patch Check &#8211; Free Opensource utility to check Patch Status</title>
		<link>http://www.sunsolarisadmin.com/general/sun-patch-check-free-opensource-utility-to-check-patch-status/</link>
		<comments>http://www.sunsolarisadmin.com/general/sun-patch-check-free-opensource-utility-to-check-patch-status/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 18:41:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[showrev]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.sunsolarisadmin.com/general/sun-patch-check-free-opensource-utility-to-check-patch-status/</guid>
		<description><![CDATA[Sun Patch Check is a simple opensource utility from &#8220;Titania&#8221; that runs in UNIX or Linux systems to check the Patch installation status in a Sun Solaris server running on a SPARC or Intel platform and compare it to its own database of the latest recommended patches for that version of Solaris operating system. I [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
Sun Patch Check is a simple opensource utility from &#8220;Titania&#8221; that runs in UNIX or Linux systems to check the Patch installation status in a Sun Solaris server running on a SPARC or Intel platform and compare it to its own database of the latest recommended patches for that version of Solaris operating system.</p>
<p>I loved the authors <a target="_blank" href="http://www.itsyourip.com/networking/nipper-network-device-security-audit-tool/" title="Nipper Network device Security Audit Tool">Nipper security audit tool </a>for network devices. It was one of the greatest utilities I have ever come across and this is no ordinary as well.</p>
<p><span id="more-44"></span></p>
<p>Sun Patch Utility can make life for Admin much easier and can be included in scripts to run in a big Sun Server farm to help stay on top of the recommended patch status.</p>
<p>To install, you need to have GNU C Compiler installed on the server. For more information on installing GNU C Compiler on your Sun Server <a target="_blank" href="http://www.sunsolarisadmin.com/package-management/how-to-install-gnu-tar-in-sun-solaris/" title="Install GNU Tar in Sun Solaris">click here</a>. While if you choose to run on a Linux system most if not all should by default have the GNU C compiler installed.</p>
<p>Once GNU C Compiler is installed.</p>
<p><strong><u>Download the source</u></strong></p>
<blockquote><p><strong>solaris10# wget </strong></p>
<p><a href="http://www.titania.co.uk/downloads/sunpatchcheck-1.6.tgz"><strong>http://www.titania.co.uk/downloads/sunpatchcheck-1.6.tgz</strong></a></p></blockquote>
<p><strong><u>Unzip &amp; untar the downloaded file</u></strong></p>
<blockquote><p><strong>solaris10# gzip sunpatchcheck-1.6.tgz</strong></p>
<p><strong>solaris10# tar -xvf sunpatchcheck-1.6.tar</strong></p></blockquote>
<p><strong><u>Change Directory to sunpatchcheck-1.6</u></strong></p>
<blockquote><p><strong>solaris10# cd sunpatchcheck-1.6</strong></p></blockquote>
<p><strong><u>Run the compiler</u></strong></p>
<blockquote><p><strong>solaris10 ~/sunpatchcheck-1.6# gcc -o sunpatchcheck sunpatchcheck.c</strong></p></blockquote>
<p>That should install the utility.</p>
<p><strong><u>Update Database</u></strong></p>
<p>Sun Patch Check maintains individual database for the latest recommended patches for each of the Sun Solaris versions (SPARC/Intel)</p>
<blockquote><p><strong>solaris10 ~/sunpatchcheck-1.6# ./sunpatchcheck &#8211;update</strong></p></blockquote>
<p><strong><u>Run showrev</u></strong></p>
<p>Run a showrev -p on your Sun Server and pipe it to a text file</p>
<blockquote><p><strong>solaris10 ~/sunpatchcheck-1.6# showrev -p &gt; showrev_intel10.txt</strong></p></blockquote>
<p>Now compare the results</p>
<blockquote><p><strong>solaris10 ~/sunpatchcheck-1.6# ./sunpatchcheck &#8211;check=showrev_intel10.txt &#8211;solaris=10i</strong></p></blockquote>
<p>where</p>
<p><em>&#8211;check</em> instructs to check the file mentioned</p>
<p><em>&#8211;solaris</em> denotes the version of Sun Solaris against which this showrev is run. This can 10,9,8,7,2.6,2.5.1 (where applicable if the platform is intel, use an &#8220;i&#8221; like 10i)</p>
<p>This should compare and give you the results.</p>
<p>For more options,</p>
<blockquote><p><strong>solaris10 ~/sunpatchcheck-1.6# ./sunpatchcheck &#8211;help</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sunsolarisadmin.com/general/sun-patch-check-free-opensource-utility-to-check-patch-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
