<?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>System Adm &#187; unix</title>
	<atom:link href="http://www.system.adm.br/tag/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.system.adm.br</link>
	<description>Some IT Tips (Linux, Unix, HP-UX, AIX, Solaris, etc).</description>
	<lastBuildDate>Wed, 30 Nov 2011 17:59:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Create *.db files for sendmail</title>
		<link>http://www.system.adm.br/2011/01/create-db-files-for-sendmail/</link>
		<comments>http://www.system.adm.br/2011/01/create-db-files-for-sendmail/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 18:46:29 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[General Unix]]></category>
		<category><![CDATA[e-mail]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=355</guid>
		<description><![CDATA[You can use the following command to create a *.db file to be used, for example, in sendmail: makemap btree /etc/userdb.db &#60; /etc/userdb It will create a userdb.db based in the userdb file]]></description>
			<content:encoded><![CDATA[<p>You can use the following command to create a *.db file to be used, for example, in sendmail:</p>
<p><code><span style="font-size: 12px;">makemap btree /etc/userdb.db &lt; /etc/userdb</span></code></p>
<p>It will create a userdb.db based in the userdb file</p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2011/01/create-db-files-for-sendmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recovery files from a IGNITE HP-UX backup</title>
		<link>http://www.system.adm.br/2010/11/recovery-files-from-a-ignite-hp-ux-backup/</link>
		<comments>http://www.system.adm.br/2010/11/recovery-files-from-a-ignite-hp-ux-backup/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 17:54:50 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=349</guid>
		<description><![CDATA[If you have a backup made using the ignite tool on a HP-UX, you can use the following commands to recovery just a part of it. For PA-RISC: -Rewind the tape mt -t /dev/rmt/0mn rew -Forward to the sector after the boot mt -t /dev/rmt/0mn fsf 1 -Use tar to extract the file tar xvf [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a backup made using the ignite tool on a HP-UX, you can use the following commands to recovery just a part of it.</p>
<p>For <strong>PA-RISC</strong>:<br />
-Rewind the tape<br />
<code><span style="font-size: 12px;">mt -t /dev/rmt/0mn rew</span></code></p>
<p>-Forward to the sector after the boot<br />
<code><span style="font-size: 12px;">mt -t /dev/rmt/0mn fsf 1</span></code></p>
<p>-Use tar to extract the file<br />
<code><span style="font-size: 12px;">tar xvf /dev/rmt/0mn etc/hosts</span></code></p>
<p>For <strong>Itanium2</strong>:<br />
-Rewind the tape<br />
<code><span style="font-size: 12px;">mt -t /dev/rmt/0mn rew</span></code></p>
<p>-Forward to the sector after the boot<br />
<code><span style="font-size: 12px;">mt -t /dev/rmt/0mn fsf 22</span></code></p>
<p>-Use tar to extract the file<br />
<code><span style="font-size: 12px;">tar xvf /dev/rmt/0mn etc/hosts</span></code></p>
<p>NOTE: change &#8220;/dev/rmt/0mn&#8221; to your tape device. If you don&#8217;t know what it is, run the command &#8220;ioscan -fnC tape&#8221; do find it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2010/11/recovery-files-from-a-ignite-hp-ux-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert a text to/from UPPER to/from lower</title>
		<link>http://www.system.adm.br/2010/11/convert-a-text-tofrom-upper-tofrom-lower/</link>
		<comments>http://www.system.adm.br/2010/11/convert-a-text-tofrom-upper-tofrom-lower/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 13:42:19 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[General Unix]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=343</guid>
		<description><![CDATA[You can use the following command do convert a file content from upper case do lower case: cat /tmp/upper_file.txt &#124;tr '[:upper:]' '[:lower:]' &#62; /tmp/lower_file.txt Or the following command to convert from lower to upper case: cat /tmp/lower_file.txt &#124;tr '[:lower:]' '[:upper:]' &#62; /tmp/upper_file.txt]]></description>
			<content:encoded><![CDATA[<p>You can use the following command do convert a file content from upper case do lower case:</p>
<p><code><span style="font-size: 12px;">cat /tmp/upper_file.txt |tr '[:upper:]' '[:lower:]' &gt; /tmp/lower_file.txt</span></code></p>
<p>Or the following command to convert from lower to upper case:</p>
<p><code><span style="font-size: 12px;">cat /tmp/lower_file.txt |tr '[:lower:]' '[:upper:]' &gt; /tmp/upper_file.txt</span></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2010/11/convert-a-text-tofrom-upper-tofrom-lower/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check HBA card settings in HP-UX</title>
		<link>http://www.system.adm.br/2010/09/how-to-check-hba-card-settings-in-hp-ux/</link>
		<comments>http://www.system.adm.br/2010/09/how-to-check-hba-card-settings-in-hp-ux/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 19:53:45 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[fc]]></category>
		<category><![CDATA[hba]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=329</guid>
		<description><![CDATA[First of all, you need if the device exists: myserver@root:/root # ioscan -fnC fc Class&#160;&#160;&#160;&#160; I&#160; H/W Path&#160;&#160;&#160; Driver S/W State&#160;&#160; H/W Type&#160;&#160;&#160;&#160; Description =================================================================== fc&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1&#160; 0/0/4/1/0&#160;&#160; fcd&#160; CLAIMED&#160;&#160;&#160;&#160; INTERFACE&#160;&#160;&#160; HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1) &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /dev/fcd1 fc&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2&#160; 0/0/10/1/0&#160; fcd&#160; CLAIMED&#160;&#160;&#160;&#160; INTERFACE&#160;&#160;&#160; HP AB378-60101 4Gb Single [...]]]></description>
			<content:encoded><![CDATA[<p>First of all, you need if the device exists:</p>
<p>	<span style="font-size: 12px;"><kbd>myserver@root:/root # ioscan -fnC fc<br />
	Class&nbsp;&nbsp;&nbsp;&nbsp; I&nbsp; H/W Path&nbsp;&nbsp;&nbsp; Driver S/W State&nbsp;&nbsp; H/W Type&nbsp;&nbsp;&nbsp;&nbsp; Description<br />
	===================================================================<br />
	fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp; 0/0/4/1/0&nbsp;&nbsp; fcd&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; INTERFACE&nbsp;&nbsp;&nbsp; HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/fcd1<br />
	fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp; 0/0/10/1/0&nbsp; fcd&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; INTERFACE&nbsp;&nbsp;&nbsp; HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/fcd2<br />
	fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp; 0/0/12/1/0&nbsp; fcd&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; INTERFACE&nbsp;&nbsp;&nbsp; HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/fcd3<br />
	fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 0/0/13/1/0&nbsp; fcd&nbsp; CLAIMED&nbsp;&nbsp;&nbsp;&nbsp; INTERFACE&nbsp;&nbsp;&nbsp; HP AB378-60101 4Gb Single Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/fcd0</kbd></span></p>
<p>	Now, you can check the settings:<br />
	<code><span style="font-size: 12px;"><kbd>myserver@root:/root # fcmsutil /dev/fcd1<br />
	<tt><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Vendor ID is = 0x001077<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Device ID is = 0x002422<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PCI Sub-system Vendor ID is = 0x00103c<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PCI Sub-system ID is = 0x0012d6</tt><br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PCI Mode = PCI-X 133 MHz<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ISP Code version = 4.0.22<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ISP Chip version = 3<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Topology = PTTOPT_FABRIC<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link Speed = 4Gb<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Local N_Port_id is = 0x020300<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Previous N_Port_id is = None<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N_Port Node World Wide Name = 0x5001438002fdf7c3<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N_Port Port World Wide Name = 0x5001438002fdf7c2<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Switch Port World Wide Name = 0x200300051e365dca<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Switch Node World Wide Name = 0x100000051e365dca<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver state = ONLINE<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hardware Path is = 0/0/4/1/0<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Maximum Frame Size = 2048<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver-Firmware Dump Available = NO<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver-Firmware Dump Timestamp = N/A<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver Version = @(#) libfcd.a HP Fibre Channel ISP 23xx &amp; 24xx Driver B.11.23.06 /ux/core/isu/FCD/kern/src/common/wsio/fcd_init.c:Jun 23 2006,14:06:46</kbd></span></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2010/09/how-to-check-hba-card-settings-in-hp-ux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove/move/copy/rename file that has a non-printable name</title>
		<link>http://www.system.adm.br/2010/09/how-to-removemovecopyrename-file-that-has-a-non-printable-name/</link>
		<comments>http://www.system.adm.br/2010/09/how-to-removemovecopyrename-file-that-has-a-non-printable-name/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 19:34:08 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[General Unix]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=324</guid>
		<description><![CDATA[How to remove/move/copy/rename file that has a non-printable name, for example: backup@root:/home/userhome/test # ls -la total 2 -rw-rw-rw- 1 root sys 0 Sep 23 15:48 drwxrwxrwx 2 root sys 96 Sep 23 15:50 . drwxr-xr-x 5 userhome adm 1024 Sep 23 16:20 .. -rw-rw-rw- 1 root sys 0 Sep 23 15:47 -test The easiest one [...]]]></description>
			<content:encoded><![CDATA[<p>How to remove/move/copy/rename file that has a non-printable name, for example:<br />
	<span style="font-size: 12px;"><code><br />
	backup@root:/home/userhome/test # ls -la<br />
	total 2<br />
	-rw-rw-rw- 1 root sys 0 Sep 23 15:48<br />
	drwxrwxrwx 2 root sys 96 Sep 23 15:50 .<br />
	drwxr-xr-x 5 userhome adm 1024 Sep 23 16:20 ..<br />
	-rw-rw-rw- 1 root sys 0 Sep 23 15:47 -test<br />
	</code></span><br />
	The easiest one is the file named &quot;-test&quot;, you can do a &quot;<span style="font-size: 12px;"><code>mv -- -test xx</code></span>&quot; to rename it to test, getting rid of the &quot;-&quot;.</p>
<p>	The most annoying is the other file, which apparently has the name &quot;blank&quot;, but not quite.</p>
<p>	There are two ways to find the real file name.,&quot;ls -lq&quot; e &quot;ls -lb&quot;:</p>
<p>	<span style="font-size: 12px;"><code> backup@root:/home/userhome/test # ls -lq<br />
	total 0<br />
	-rw-rw-rw- 1 root sys 0 Sep 23 15:48 ?<br />
	-rw-rw-rw- 1 root sys 0 Sep 23 15:47 xx<br />
	backup@root:/home/userhome/test # ls -lb<br />
	total 0<br />
	-rw-rw-rw- 1 root sys 0 Sep 23 15:48 \002<br />
	-rw-rw-rw- 1 root sys 0 Sep 23 15:47 xx<br />
	backup@root:/home/userhome/test # ls -li<br />
	total 0<br />
	17334 -rw-rw-rw- 1 root sys 0 Sep 23 15:48<br />
	17332 -rw-rw-rw- 1 root sys 0 Sep 23 15:47 xx<br />
	</code></span><br />
	The &quot;ls -lb&quot; shows the non-printable characters with &quot;\ XXX&quot; where XXX is the ASCII representation of the non-printable character.<br />
	The &quot;ls -lq&quot; shows the non-printable characters with &quot;???&quot; (quantity of ? is defined by the amount of non-printable caracters).<br />
	The &quot;ls -li&quot; shows the file inode.</p>
<p>	To handle this file, the best option is to use the &quot;find&quot;.</p>
<p>	- Using the find based on the inode:<br />
	<span style="font-size: 12px;"><code>find . -inum 17334 -exec mv {} asd \;</code></span></p>
<p>	- Using find with &quot;wildcards&quot; (based on the ls-lq returned):<br />
	<span style="font-size: 12px;"><code>find . -type f -name &quot;?&quot; -exec mv {} asd \;</code></span></p>
<p>	Be careful when using the find with &quot;meta character&quot;! If a file whose name has only one character, it will enter the result.<br />
	&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2010/09/how-to-removemovecopyrename-file-that-has-a-non-printable-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When Glance stop working</title>
		<link>http://www.system.adm.br/2009/12/when-glance-stop-working/</link>
		<comments>http://www.system.adm.br/2009/12/when-glance-stop-working/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 20:41:39 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=192</guid>
		<description><![CDATA[Sometimes glance (performance monitor for HP-UX) can crash (before crash, it will return 0% of CPU, Disk and networking) working with the following error: GlancePlus fatal error. == Fatal Nums Error == C.04.50.57 02/10/07 == User: root/6pts/6(/dev/pts/6) Date: Sun Dec 6 15:52:12 File: /crm/numsVob/hp/11.0/nums.C Line: 485 Product id: Glance System: server B.11.11 9000/800 Errno: 0 [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes glance (performance monitor for HP-UX) can crash (before crash, it will return 0% of CPU, Disk and networking) working with the following error:<br />
	<span style="font-size: 12px;"><code>GlancePlus fatal error.<br />
	== Fatal Nums Error == C.04.50.57 02/10/07 ==<br />
	User: root/6pts/6(/dev/pts/6) Date: Sun Dec 6 15:52:12<br />
	File: /crm/numsVob/hp/11.0/nums.C Line: 485 Product id: Glance<br />
	System: server B.11.11 9000/800<br />
	Errno: 0 (Error 0)<br />
	Connection to midaemon lost -- check midaemon process and status.mi == End of Error Msg<br />
	=============================</code></span></p>
<p>	To solve it, you should:</p>
<p>	Stop MWA:<br />
	<span style="font-size: 12px;"><code># mwa stop</code></span></p>
<p>	Remove all files (including the hidden ones) from /var/opt/perf/datafiles:<br />
	<span style="font-size: 12px;"><code># rm -rf /var/opt/perf/datafiles/* rm -rf /var/opt/perf/datafiles/.*</code></span></p>
<p>	Check if midaemon and ttd are stopped:<br />
	<span style="font-size: 12px;"><code># mwa status</code></span></p>
<p>	If midaemon and ttd didn&rsquo;t stop, force stops them with the command kill (the PID was returned by the command &lsquo;mwa status&rsquo;).</p>
<p>	Now, start MWA again:<br />
	<span style="font-size: 12px;"><tt># mwa start</tt></span></p>
<p>	&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2009/12/when-glance-stop-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an user on AIX</title>
		<link>http://www.system.adm.br/2009/12/creating-an-user-on-aix/</link>
		<comments>http://www.system.adm.br/2009/12/creating-an-user-on-aix/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 11:33:12 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[Aix]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=178</guid>
		<description><![CDATA[Creating an user on AIX On AIX, you can use the following commands to create an user # mkuser pgrp=&#39;primary group&#39; groups=&#39;other groups&#39; home=&#39;home directory&#39; shell=&#39;/usr/bin/ksh&#39; gecos=&#39;GECOS&#39; USERNAME &#160;]]></description>
			<content:encoded><![CDATA[<p>Creating an user on AIX</p>
<p>	On AIX, you can use the following commands to create an user<br />
	<span style="font-size: 12px;"><code># mkuser pgrp=&#39;primary group&#39; groups=&#39;other groups&#39; home=&#39;home directory&#39; shell=&#39;/usr/bin/ksh&#39; gecos=&#39;GECOS&#39; USERNAME</code></span></p>
<p>	&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2009/12/creating-an-user-on-aix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

