<?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>Personal Blog of Emre Yaşar &#187; Unix</title>
	<atom:link href="http://www.yasars.com/index.php/category/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yasars.com</link>
	<description>A bit technical, a bit lifestyle..</description>
	<lastBuildDate>Tue, 27 Apr 2010 19:55:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Solaris 10 SNMP v3 Konfigürasyonu</title>
		<link>http://www.yasars.com/index.php/2009/12/28/solaris-10-snmp-v3-konfigurasyonu/</link>
		<comments>http://www.yasars.com/index.php/2009/12/28/solaris-10-snmp-v3-konfigurasyonu/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 07:56:52 +0000</pubDate>
		<dc:creator>Admin - Emre Yasar</dc:creator>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[sma]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[snmpd.conf]]></category>
		<category><![CDATA[snmpv3]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris 10 snmp v3 configuration]]></category>

		<guid isPermaLink="false">http://www.yasars.com/?p=363</guid>
		<description><![CDATA[Solaris 10 işletim sisteminde SNMPv3 konfigürasyonu yapmak için aşağıdaki 3 adımın tamamlanması gerekiyor:
1. /etc/sma/snmp/snmpd.conf dosyasının düzenlenmesi
vi /etc/sma/snmp/snmpd.conf
syscontact, syslocation bilgilerini düzenleyin
rocommunity ve rwcommunity satırlarını #&#8216;leyin
Dosyanın sonuna master agentx satırını ekleyin

2. SNMPv3 kullanıcısının oluşturulması
Aşağıdaki komut kullanılarak snmp kullanıcısı oluşturulur:
/usr/sfw/bin/net-snmp-config &#8211;create-snmpv3-user -a &#8220;Ş İ F R E&#8221; KULLANICI_ADI
3. SNMP serivisinin başlatılması
/usr/sbin/svcadm disable -t svc:/application/management/sma:default
/usr/sbin/svcadm enable -t svc:/application/management/sma:default
SNMP agent&#8217;ının [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-342" title="solaris_logo" src="http://www.yasars.com/wp-content/uploads/2009/12/solaris_logo-300x155.png" alt="solaris_logo" width="300" height="155" />Solaris 10 işletim sisteminde SNMPv3 konfigürasyonu yapmak için aşağıdaki 3 adımın tamamlanması gerekiyor:</p>
<p><span style="text-decoration: underline;"><strong>1. /etc/sma/snmp/snmpd.conf dosyasının düzenlenmesi</strong></span></p>
<p><strong>vi /etc/sma/snmp/snmpd.conf</strong></p>
<p><em>syscontact</em>, <em>syslocation</em> bilgilerini düzenleyin</p>
<p><em>rocommunity</em> ve <em>rwcommunity</em> satırlarını <em>#</em>&#8216;leyin</p>
<p>Dosyanın sonuna <em>master agentx</em> satırını ekleyin</p>
<p><span id="more-363"></span></p>
<p><span style="text-decoration: underline;"><strong>2. SNMPv3 kullanıcısının oluşturulması</strong></span></p>
<p>Aşağıdaki komut kullanılarak snmp kullanıcısı oluşturulur:</p>
<p><strong>/usr/sfw/bin/net-snmp-config &#8211;create-snmpv3-user -a &#8220;Ş İ F R E&#8221; KULLANICI_ADI</strong></p>
<p><span style="text-decoration: underline;"><strong>3. SNMP serivisinin başlatılması</strong></span></p>
<p>/usr/sbin/svcadm disable -t svc:/application/management/sma:default</p>
<p>/usr/sbin/svcadm enable -t svc:/application/management/sma:default</p>
<p>SNMP agent&#8217;ının çalışdığından emin olmak için /var/agentx konumunda master dosyası mevcut olmalı.</p>
<p>Kontrol etmek için:</p>
<p>ls -al /var/agentx/</p>
<p>total 4<br />
drwx&#8212;&#8212;   2 root     root         512 Dec 24 04:50 .<br />
drwxr-xr-x  54 root     sys         1024 Dec 24 04:28 ..<br />
srwxr-xr-x   1 root     root           0 Dec 24 04:50 master</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yasars.com/index.php/2009/12/28/solaris-10-snmp-v3-konfigurasyonu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix Tips &#8211; How to Find Hardware Information on Solaris</title>
		<link>http://www.yasars.com/index.php/2009/12/10/unix-tips-how-to-find-hardware-information-on-solaris/</link>
		<comments>http://www.yasars.com/index.php/2009/12/10/unix-tips-how-to-find-hardware-information-on-solaris/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 18:39:39 +0000</pubDate>
		<dc:creator>Admin - Emre Yasar</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[prtdiag]]></category>
		<category><![CDATA[psrinfo]]></category>
		<category><![CDATA[solaris hardware information]]></category>
		<category><![CDATA[solaris processor information]]></category>

		<guid isPermaLink="false">http://www.yasars.com/?p=340</guid>
		<description><![CDATA[You can find hardware information by typing the command below:
/usr/platform/`uname -i`/sbin/prtdiag -v
For processor information run this command:
/usr/sbin/psrinfo -v
]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-342" title="solaris_logo" src="http://www.yasars.com/wp-content/uploads/2009/12/solaris_logo-300x155.png" alt="solaris_logo" width="300" height="155" />You can find hardware information by typing the command below:</p>
<p><strong>/usr/platform/`uname -i`/sbin/prtdiag -v</strong></p>
<p>For processor information run this command:</p>
<p><strong>/usr/sbin/psrinfo -v</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yasars.com/index.php/2009/12/10/unix-tips-how-to-find-hardware-information-on-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Linux Tips #1 &#8211; Argument list too long -</title>
		<link>http://www.yasars.com/index.php/2009/11/20/basic-linux-tips-1-argument-list-too-long/</link>
		<comments>http://www.yasars.com/index.php/2009/11/20/basic-linux-tips-1-argument-list-too-long/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 11:14:18 +0000</pubDate>
		<dc:creator>Admin - Emre Yasar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Argument list too long]]></category>
		<category><![CDATA[basic linux tips]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[find -exec]]></category>

		<guid isPermaLink="false">http://www.yasars.com/?p=325</guid>
		<description><![CDATA[If you are getting an error message as &#8220;Argument list too long&#8221; while attempting to run a command at Linux shell &#8220;find&#8221; command will be your lifeguard.
This error message tells you, the directory you are trying to work contains a huge number of files. That&#8217;s why the shell can not handle this operation.
Solution is simple. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-8" title="LINUX1-emreyasar" src="http://www.yasars.com/wp-content/uploads/2009/08/LINUX1-full-300x187.jpg" alt="LINUX1-emreyasar" width="300" height="187" />If you are getting an error message as &#8220;<span style="text-decoration: underline;">Argument list too long</span>&#8221; while attempting to run a command at Linux shell <span style="text-decoration: underline;">&#8220;find&#8221;</span> command will be your lifeguard.</p>
<p>This error message tells you, the directory you are trying to work contains a huge number of files. That&#8217;s why the shell can not handle this operation.</p>
<p>Solution is simple. Try taking to pieces your batch. For instance try running <strong>cp conf*.txt /tmp</strong> instead of using <strong>cp * /tmp</strong></p>
<p>If you can&#8217;t group the files as above you may use find command with <span style="text-decoration: underline;">exec </span>option.</p>
<p><span id="more-325"></span></p>
<p><strong>emreyasar@testserver:~&gt; cp /srv/www/htdocs/cacti/rra/* /tmp/<br />
-bash: /bin/cp: Argument list too long</strong></p>
<p>At this situation this command will do what you are trying to do:</p>
<p><strong>emreyasar@testserver:~&gt; find /srv/www/htdocs/cacti/rra -name &#8220;*&#8221; -exec cp {} /tmp \; </strong></p>
<p>You will like using find command with exec option.</p>
<p>It may simplify your works so many times.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yasars.com/index.php/2009/11/20/basic-linux-tips-1-argument-list-too-long/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to Install VMware Tools for Solaris 8 VM on ESX Server</title>
		<link>http://www.yasars.com/index.php/2009/11/19/unable-to-install-vmware-tools-solaris8/</link>
		<comments>http://www.yasars.com/index.php/2009/11/19/unable-to-install-vmware-tools-solaris8/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 06:54:50 +0000</pubDate>
		<dc:creator>Admin - Emre Yasar</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris 8]]></category>
		<category><![CDATA[solaris8]]></category>
		<category><![CDATA[update_drv]]></category>
		<category><![CDATA[vmware tools]]></category>
		<category><![CDATA[vsphere]]></category>
		<category><![CDATA[wmware]]></category>

		<guid isPermaLink="false">http://www.yasars.com/?p=301</guid>
		<description><![CDATA[If you need a Solaris 8 (5.8) running on ESX server you may install OS without any error. But when you try to install VMware Tools after OS installation, strongly probable, you will get an error like this:
./vmware-install.pl
Setup is unable to find the &#8220;update_drv&#8221; program on your machine. Please make sure it is installed. Do [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-302" title="sollogo" src="http://www.yasars.com/wp-content/uploads/2009/11/sollogo.gif" alt="sollogo" width="237" height="237" /><img class="alignright size-full wp-image-303" title="vmware-logo" src="http://www.yasars.com/wp-content/uploads/2009/11/vmware-logo.jpg" alt="vmware-logo" width="158" height="108" />If you need a Solaris 8 (5.8) running on ESX server you may install OS without any error. But when you try to install VMware Tools after OS installation, strongly probable, you will get an error like this:</p>
<p><strong>./vmware-install.pl</strong></p>
<p><strong>Setup is unable to find the &#8220;update_drv&#8221; program on your machine. Please make sure it is installed. Do you want to specify the location of this program by hand? [yes]</strong></p>
<p><span id="more-301"></span></p>
<p>At this point do not try to locate update_drv  on your disk &#8220;by hand&#8221;. Because you won&#8217;t find this at your Solaris 8.</p>
<p>update_drv was released with Solaris 9 included in SUNWcsu package.</p>
<p>But we know that Solaris 8 VM is being supported by vSphere 4.</p>
<p>So we opened a ticket to VMware about this issue. This is the answer of support request:</p>
<p><em>&#8230;according to this links as the guest os guide at the page 160, there is no VMware tools version supported under this version of Solaris 8 then unfortunately you won&#8217;t be able to install this package inside this VM.</em></p>
<p><em> </em></p>
<p><em><a href="http://www.vmware.com/pdf/GuestOS_guide.pdf">http://www.vmware.com/pdf/GuestOS_guide.pdf</a></em></p>
<p><em> </em></p>
<p>Solaris 8 is being supported within &#8220;experimental&#8221; logic yet. That&#8217;s why we can&#8217;t use VMware tools for Solaris 8.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yasars.com/index.php/2009/11/19/unable-to-install-vmware-tools-solaris8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
