<?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>Solutions Log &#187; sysadmin</title> <atom:link href="http://solutions.unixsherpa.com/category/sysadmin/feed/" rel="self" type="application/rss+xml" /><link>http://solutions.unixsherpa.com</link> <description>by Dan Reiland</description> <lastBuildDate>Tue, 05 Apr 2011 16:42:14 +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>Updating rubygems on Ubuntu</title><link>http://solutions.unixsherpa.com/2011/02/28/updating-ruby-on-ubuntu/</link> <comments>http://solutions.unixsherpa.com/2011/02/28/updating-ruby-on-ubuntu/#comments</comments> <pubDate>Mon, 28 Feb 2011 17:37:25 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Language]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Ruby]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[ubuntu]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=348</guid> <description><![CDATA[If you have ever tried to update rubygems on a base Ubuntu 10.04 or 10.10 install you will have been greeted with: # gem update --system ERROR: &#160;While executing gem ... (RuntimeError) &#160; &#160; gem update --system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get. You [...]]]></description> <content:encoded><![CDATA[<p>If you have ever tried to update rubygems on a base Ubuntu 10.04 or 10.10 install you will have been greeted with:</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># gem update --system<br
/> ERROR: &nbsp;While executing gem ... (RuntimeError)<br
/> &nbsp; &nbsp; gem update --system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get.</div></div><p>You can work around this limitation:</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># gem install rubygems-update<br
/> # /var/lib/gems/1.8/bin/update_rubygems</div></div><p>You will now be able to update rubygems using the standard set of commands.</p><p>Reference:<br
/> <a
href="http://www.tinymission.com/blog/blogengine.web/post/2010/11/03/Updating-to-Rails-30-on-Ubuntu-1004.aspx">http://www.tinymission.com/blog/blogengine.web/post/2010/11/03/Updating-to-Rails-30-on-Ubuntu-1004.aspx</a></p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2011/02/28/updating-ruby-on-ubuntu/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>rsyslog consumes excessive memory when forwarding logs with compression</title><link>http://solutions.unixsherpa.com/2011/01/13/rsyslog-consumes-excessive-memory-when-forwarding-logs-with-compression/</link> <comments>http://solutions.unixsherpa.com/2011/01/13/rsyslog-consumes-excessive-memory-when-forwarding-logs-with-compression/#comments</comments> <pubDate>Thu, 13 Jan 2011 22:10:49 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[forwarding]]></category> <category><![CDATA[rsyslog]]></category> <category><![CDATA[ubuntu]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=334</guid> <description><![CDATA[Issue: rsyslog consumed growing amounts of memory when forwarding over TCP with compression enabled. *.* @@(z1)hostname.domain.tld Cause: The compression flag causes the rsyslog process to allocate, and never release, memory. I have not determined root cause but the likely culprits are zlib or TLS (both involved when compression is enabled in this situation). Resolution: Do [...]]]></description> <content:encoded><![CDATA[<p><strong>Issue:</strong><br
/> rsyslog consumed growing amounts of memory when forwarding over TCP with compression enabled.</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">*.* @@(z1)hostname.domain.tld</div></div><p><strong>Cause:</strong><br
/> The compression flag causes the rsyslog process to allocate, and never release, memory. I have not determined root cause but the likely culprits are zlib or TLS (both involved when compression is enabled in this situation).</p><p><strong>Resolution:</strong><br
/> Do not use compression when forwarding with rsyslog. With the compression flag dropped, I was unable to reproduce the errant behavior.</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">*.* @@hostname.domain.tld</div></div><p><strong>References:</strong><br
/> <a
href="http://www.rsyslog.com/doc/rsyslog_conf_actions.html">http://www.rsyslog.com/doc/rsyslog_conf_actions.html</a></p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2011/01/13/rsyslog-consumes-excessive-memory-when-forwarding-logs-with-compression/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>/etc/hosts entries not being used for non-root users</title><link>http://solutions.unixsherpa.com/2010/10/26/etchosts-entries-not-being-used-for-non-root-users/</link> <comments>http://solutions.unixsherpa.com/2010/10/26/etchosts-entries-not-being-used-for-non-root-users/#comments</comments> <pubDate>Tue, 26 Oct 2010 18:13:17 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[gentoo]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=321</guid> <description><![CDATA[Issue: Non-root users are unable to resolve addresses for entries in /etc/hosts. user@gentoo ~ $ ping localhost ping: unknown host localhost Troubleshooting: Potential causes: Malformed content or improper permissions on /etc/hosts Malformed content or improper permissions on /etc/host.conf Malformed content or improper permissions on /etc/nsswitch.conf Diagnostics: One may consider nslookup or dig to be suitable [...]]]></description> <content:encoded><![CDATA[<p><strong>Issue:</strong><br
/> Non-root users are unable to resolve addresses for entries in /etc/hosts.</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">user@gentoo ~ $ ping localhost<br
/> ping: unknown host localhost</div></div><p><strong>Troubleshooting:</strong></p><p><strong><em>Potential causes:</em></strong></p><ul><li> Malformed content or improper permissions on /etc/hosts</li><li> Malformed content or improper permissions on /etc/host.conf</li><li> Malformed content or improper permissions on /etc/nsswitch.conf</li></ul><p><strong><em>Diagnostics:</em></strong><br
/> One may consider nslookup or dig to be suitable diagnostic tools given the use case, however, they are applicable only when troubleshooting DNS server name resolution issues; these tools do not bother to look at /etc/hosts. <strong><a
href="http://linux.die.net/man/1/strace">strace</a></strong> is suitable given the diagnostic task at hand.</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">user@gentoo ~ $ strace -e open ping localhost<br
/> open(&quot;/etc/ld.so.cache&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/lib/libc.so.6&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/etc/resolv.conf&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/etc/resolv.conf&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/etc/nsswitch.conf&quot;, O_RDONLY) &nbsp; &nbsp;= -1 EACCES (Permission denied)<br
/> open(&quot;/etc/ld.so.cache&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/lib/libnss_dns.so.2&quot;, O_RDONLY) &nbsp;= 3<br
/> open(&quot;/lib/libresolv.so.2&quot;, O_RDONLY) &nbsp; = 3<br
/> open(&quot;/etc/host.conf&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp; &nbsp;= 3<br
/> ping: unknown host localhost</div></div><p><strong>Cause:</strong><br
/> As reported by our strace diagnostic, our user has insufficient privileges to read /etc/nsswitch.conf resulting in the file never being utilized for name resolution. In our case, /etc/nsswitch.conf had a permission mode of 600, allowing only the owner (root in our case) read/write access.</p><p><strong>Steps to Reproduce:</strong><br
/> Change the mode of /etc/resolv.conf, /etc/host.conf, /etc/hosts to 600.</p><p><strong>Resolution:</strong><br
/> Change the mode of /etc/nsswitch.conf to 644.</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">user@gentoo ~ $ sudo chomod 644 /etc/nsswitch.conf<br
/> user@gentoo ~ $ strace -e open ping localhost<br
/> open(&quot;/etc/ld.so.cache&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/lib/libc.so.6&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/etc/resolv.conf&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/etc/resolv.conf&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/etc/nsswitch.conf&quot;, O_RDONLY) &nbsp; &nbsp;= 3<br
/> open(&quot;/etc/ld.so.cache&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/lib/libnss_files.so.2&quot;, O_RDONLY) = 3<br
/> open(&quot;/etc/host.conf&quot;, O_RDONLY) &nbsp; &nbsp; &nbsp; &nbsp;= 3<br
/> open(&quot;/etc/hosts&quot;, O_RDONLY|O_CLOEXEC) &nbsp;= 3<br
/> ping: icmp open socket: Operation not permitted<br
/> user@gentoo ~ $ ping -c 2 localhost<br
/> PING localhost (127.0.0.1) 56(84) bytes of data.<br
/> 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.066 ms<br
/> 64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.056 ms<br
/> --- localhost ping statistics ---<br
/> 2 packets transmitted, 2 received, 0% packet loss, time 999ms<br
/> rtt min/avg/max/mdev = 0.056/0.061/0.066/0.005 ms</div></div><p><em>Note: We expect "ping: icmp open socket: Operation not permitted" -- non-root users are not allowed to open raw sockets.</em></p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2010/10/26/etchosts-entries-not-being-used-for-non-root-users/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The device, \Device\Ide\iaStor0, did not respond within the timeout period</title><link>http://solutions.unixsherpa.com/2010/03/25/the-device-deviceideiastor0-did-not-respond-within-the-timeout-period/</link> <comments>http://solutions.unixsherpa.com/2010/03/25/the-device-deviceideiastor0-did-not-respond-within-the-timeout-period/#comments</comments> <pubDate>Thu, 25 Mar 2010 16:38:21 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[sysadmin]]></category> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[ICH10R]]></category> <category><![CDATA[intel]]></category> <category><![CDATA[seagate]]></category> <category><![CDATA[ST3500320AS]]></category> <category><![CDATA[troubleshooting]]></category> <category><![CDATA[windows 7]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=280</guid> <description><![CDATA[Issue: After an updated release of Intel's Matrix Storage Manager [v.8.9.0.1023] and chipset drivers for Windows, you experience unexpected system timeouts, lockups, pausing, or freezing. The following event is recorded in the System event log: Log Name: System Source: iaStor EventID: 9 Level: Error The device, \Device\Ide\iaStor0, did not respond within the timeout period. Cause: [...]]]></description> <content:encoded><![CDATA[<p><strong>Issue:</strong><br
/> After an updated release of Intel's Matrix Storage Manager [v.8.9.0.1023] and chipset drivers for Windows, you experience unexpected system timeouts, lockups, pausing, or freezing. The following event is recorded in the System event log:</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Log Name: System<br
/> Source: iaStor<br
/> EventID: 9<br
/> Level: Error<br
/> The device, \Device\Ide\iaStor0, did not respond within the timeout period.</div></div><p><strong>Cause:</strong><br
/> The issue is the result of Aggressive Link State Power Management (ALPM) on the PCI-Express bus negotiating a lower power state for the link between the controller and disk when there is no activity. When ALPM works, disk requests are queued, the serial link revived, and the queued requests are sent to the relevant disk; this requires a disk that supports ALPM.</p><p><strong>Resolution:</strong><br
/> Modify the advanced settings of your active power management scheme in Windows to turn PCI Express Link State Power Management off.<br
/> <a
href="http://unixsherpa-solutions.s3.amazonaws.com/wp-content/uploads/2010/03/power-1.jpg"><img
src="http://unixsherpa-solutions.s3.amazonaws.com/wp-content/uploads/2010/03/power-1-300x224.jpg" alt="" title="Change Plan Settings" width="300" height="224" class="aligncenter size-medium wp-image-298" /></a><br
/> <a
href="http://unixsherpa-solutions.s3.amazonaws.com/wp-content/uploads/2010/03/power-2.jpg"><img
src="http://unixsherpa-solutions.s3.amazonaws.com/wp-content/uploads/2010/03/power-2-300x225.jpg" alt="" title="Change advanced power settings" width="300" height="225" class="aligncenter size-medium wp-image-295" /></a><br
/> <a
href="http://unixsherpa-solutions.s3.amazonaws.com/wp-content/uploads/2010/03/power-3.jpg"><img
src="http://unixsherpa-solutions.s3.amazonaws.com/wp-content/uploads/2010/03/power-3.jpg" alt="" title="PCI Express Link State Power Management" width="420" height="449" class="aligncenter size-full wp-image-294" /></a></p><p><strong>Commentary:</strong><br
/> Searching for a solution yielded a number of possibilities.</p><p>Setting the value of:</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">HKLM\SYSTEM\CurrentControlSet\Services\iaSTOR\Parameters\PortN\LPMDSTATE &nbsp;0</div></div><p>as discussed by <a
href="http://derek858.blogspot.com/2009/01/windows-7-intel-sataahci-lockups.html">Derek Seaman</a> did not resolve my issue.</p><p>Renaming:</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">HKLM\SYSTEM\CurrentControlSet\Services\iaSTOR\Parameters</div></div><p>to</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">HKLM\SYSTEM\CurrentControlSet\Services\iaSTOR\Parameters.dist</div></div><p>as suggested by <a
href="http://www.paulscomputerservice.net/index.php?body=./os/intelSataError9.php">Paul's Computer Service</a> was also ineffective. At the time I was running the latest set of drivers for my <a
href="http://www.intel.com/products/desktop/chipsets/x58/x58-overview.htm">platform</a>. Caveat emptor: the solution I outlined in this article worked for me.</p><p><strong>References:</strong><br
/> <a
href="http://www.intel.com/support/chipsets/imsm/sb/cs-025783.htm">Intel CS-025783 - Possible issues with Windows Vista* and Intel® RAID</a><br
/> <a
href="http://derek858.blogspot.com/2009/01/windows-7-intel-sataahci-lockups.html">Windows 7 Intel SATA/AHCI Lockups</a><br
/> <a
href="http://www.paulscomputerservice.net/index.php?body=./os/intelSataError9.php">Intel® Matrix Storage Manager Bug</a></p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2010/03/25/the-device-deviceideiastor0-did-not-respond-within-the-timeout-period/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Reformat and reindent an XML file</title><link>http://solutions.unixsherpa.com/2010/02/11/reformat-and-reindent-an-xml-file/</link> <comments>http://solutions.unixsherpa.com/2010/02/11/reformat-and-reindent-an-xml-file/#comments</comments> <pubDate>Thu, 11 Feb 2010 18:14:53 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Shell]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[xml]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=248</guid> <description><![CDATA[This is easy to accomplish with xmllint and a shell one-liner: xmllint --format inputfile.xml &#62; outputfile.xml]]></description> <content:encoded><![CDATA[<p>This is easy to accomplish with <em>xmllint</em> and a shell one-liner:</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">xmllint --format inputfile.xml &gt; outputfile.xml</div></div> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2010/02/11/reformat-and-reindent-an-xml-file/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>xinetd per_source limit issues</title><link>http://solutions.unixsherpa.com/2010/02/09/xinetd-per_source-limit-issues/</link> <comments>http://solutions.unixsherpa.com/2010/02/09/xinetd-per_source-limit-issues/#comments</comments> <pubDate>Tue, 09 Feb 2010 09:32:34 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[xinetd]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=241</guid> <description><![CDATA[Issue: Users note availability issues when accessing services backed by xinetd (subversion, rsync, etc.) Identification: Syslog on the affected server will present multiple lines containing daemon per_source_limit for 0.0.0.0. Cause: You have exceeded per_source_limit defaults imposed by your xinetd configuration. Many distributions include per_source limits that may not be suitable for your use case. Evaluate [...]]]></description> <content:encoded><![CDATA[<p><strong>Issue:</strong><br
/> Users note availability issues when accessing services backed by xinetd (subversion, rsync, etc.)</p><p><strong>Identification:</strong><br
/> Syslog on the affected server will present multiple lines containing <code
class="codecolorer text twitlight"><span
class="text">daemon per_source_limit for 0.0.0.0</span></code>.</p><p><strong>Cause:</strong><br
/> You have exceeded per_source_limit defaults imposed by your xinetd configuration. Many distributions include per_source limits that may not be suitable for your use case. Evaluate your needs carefully.</p><p><strong>Resolution:</strong><br
/> Modify the default setting for per_source in <code
class="codecolorer text twitlight"><span
class="text">/etc/xinetd.conf</span></code> or modify the service specific configuration (recommended) under <code
class="codecolorer text twitlight"><span
class="text">/etc/xinet.d</span></code>. per_source limits may be set as follows:</p><div
class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">per_source = 10</div></div><p>per_source may be set to an integer or UNLIMITED (the number represents the number of connections allowed per host). A sensible fixed value is <strong>always</strong> better than UNLIMITED.</p><p><em>Reference:</em> xinetd.conf(5)</p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2010/02/09/xinetd-per_source-limit-issues/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Reset HP Integrated Lights Out Board to Factory Defaults</title><link>http://solutions.unixsherpa.com/2010/01/05/reset-hp-integrated-lights-out-board-to-factory-defaults/</link> <comments>http://solutions.unixsherpa.com/2010/01/05/reset-hp-integrated-lights-out-board-to-factory-defaults/#comments</comments> <pubDate>Tue, 05 Jan 2010 21:45:19 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[howto]]></category> <category><![CDATA[hp]]></category> <category><![CDATA[ilo]]></category> <category><![CDATA[recovery]]></category> <category><![CDATA[riloe]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=230</guid> <description><![CDATA[Issue: Cannot login to HP Integrated Lights Out Board (bad credentials). Cause: Someone failed to record the configuration. Solution: If an operating system supported by HP Proliant Essentials is installed along with a recent Proliant Support Pack, you may reset the Integrated Lights Out board to its factory defaults. Use the HP Lights-Out Online Configuration [...]]]></description> <content:encoded><![CDATA[<p><strong>Issue:</strong><br
/> Cannot login to HP Integrated Lights Out Board (bad credentials).</p><p><strong>Cause:</strong><br
/> Someone failed to record the configuration.</p><p><strong>Solution:</strong><br
/> If an operating system supported by HP Proliant Essentials is installed along with a recent Proliant Support Pack, you may reset the Integrated Lights Out board to its factory defaults. Use the HP Lights-Out Online Configuration utility.</p><div
class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">C:\Program Files\HP\hponcfg\hponcfg.exe <span
style="color: #000000; font-weight: bold;">/</span>reset</div></div> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2010/01/05/reset-hp-integrated-lights-out-board-to-factory-defaults/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Honor Guest IDE/SATA Flush Requests</title><link>http://solutions.unixsherpa.com/2009/12/07/honor-guest-idesata-flush-requests/</link> <comments>http://solutions.unixsherpa.com/2009/12/07/honor-guest-idesata-flush-requests/#comments</comments> <pubDate>Mon, 07 Dec 2009 20:43:59 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[sysadmin]]></category> <category><![CDATA[VirtualBox]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=226</guid> <description><![CDATA[Issue: VirtualBox ignores IDE/SATA disk flush requests. Cause: This is by design. To improve performance VirtualBox ignores these requests. This can create an issue with filesystems that do not have fsck-like tools (ZFS is an example) create a situation where the on disk information is inconsistent due to data held in RAM. Solution: To enable [...]]]></description> <content:encoded><![CDATA[<p><strong>Issue:</strong><br
/> VirtualBox ignores IDE/SATA disk flush requests.</p><p><strong>Cause:</strong><br
/> This is by design. To improve performance VirtualBox ignores these requests. This can create an issue with filesystems that do not have fsck-like tools (ZFS is an example) create a situation where the on disk information is inconsistent due to data held in RAM.</p><p><strong>Solution:</strong><br
/> To enable flushing for IDE disks, issue the following command:</p><div
class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">VBoxManage setextradata VMNAME <br
/> &nbsp; &nbsp; &nbsp; <span
style="color: #ff0000;">&quot;VBoxInternal/Devices/piix3ide/0/LUN#[x]/Config/IgnoreFlush&quot;</span> <span
style="color: #000000;">0</span></div></div><p>The value [x] that selects the disk is 0 for the master device on the first channel, 1 for the slave device on the first channel, 2 for the master device on the second channel or 3 for the master device on the second channel.</p><p>To enable flushing for SATA disks, issue the following command:</p><div
class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">VBoxManage setextradata VMNAME <br
/> &nbsp; &nbsp; &nbsp; <span
style="color: #ff0000;">&quot;VBoxInternal/Devices/ahci/0/LUN#[x]/Config/IgnoreFlush&quot;</span> <span
style="color: #000000;">0</span></div></div><p>The value [x] that selects the disk can be a value between 0 and 29.</p><p>Reference: <a
href="http://www.virtualbox.org/manual/UserManual.html#id2499944">http://www.virtualbox.org/manual/UserManual.html#id2499944</a></p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/12/07/honor-guest-idesata-flush-requests/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Replace Pipes with Tabs in a Delimited File</title><link>http://solutions.unixsherpa.com/2009/12/04/replace-pipes-with-tabs-in-a-delimited-file/</link> <comments>http://solutions.unixsherpa.com/2009/12/04/replace-pipes-with-tabs-in-a-delimited-file/#comments</comments> <pubDate>Fri, 04 Dec 2009 20:44:37 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Apple OSX]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Regular Expression]]></category> <category><![CDATA[Shell]]></category> <category><![CDATA[Solaris]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[Windows]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=224</guid> <description><![CDATA[Issue: It is often necessary to replace delimiters in a file with a form the receiving party expects. sed is my favorite method of meeting the need. Solution: Replace double pipes with tabs sed 's/&#124;&#124;/ &#160; &#160; &#160; &#160; &#160; /g' file.in &#62; file.out Note: If you find the tab key simply does not work, [...]]]></description> <content:encoded><![CDATA[<p><strong>Issue:</strong><br
/> It is often necessary to replace delimiters in a file with a form the receiving party expects. sed is my favorite method of meeting the need.</p><p><strong>Solution:</strong><br
/> Replace double pipes with tabs</p><div
class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span
style="color: #c20cb9; font-weight: bold;">sed</span> <span
style="color: #ff0000;">'s/||/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /g'</span> file.in <span
style="color: #000000; font-weight: bold;">&gt;</span> file.out</div></div><p><em>Note: If you find the tab key simply does not work, try CTRL+V+I from your terminal.</em><br
/> <em>Reference: <a
href="http://forums.devshed.com/unix-help-35/replacing-tabs-with-spaces-372623.html">http://forums.devshed.com/unix-help-35/replacing-tabs-with-spaces-372623.html</a></em></p><p><strong>Caveats:</strong><br
/> Special consideration (and a regex) will be required for data where delimiters are present in the data itself. Consider your use case and apply appropriately.</p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/12/04/replace-pipes-with-tabs-in-a-delimited-file/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Remove a Range of Unwanted ZFS Snapshots from the Command Line</title><link>http://solutions.unixsherpa.com/2009/11/25/remove-a-range-of-unwanted-zfs-snapshots-from-the-command-line/</link> <comments>http://solutions.unixsherpa.com/2009/11/25/remove-a-range-of-unwanted-zfs-snapshots-from-the-command-line/#comments</comments> <pubDate>Thu, 26 Nov 2009 05:51:41 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Solaris]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[howto]]></category> <category><![CDATA[snapshots]]></category> <category><![CDATA[zfs]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=218</guid> <description><![CDATA[Remove a range of unwanted snapshots, from the command line, if necessary. In the following example, all automatic snapshots in the bash shell are removed. for s in $&#40;zfs list -H -o name -t snapshot &#124; grep @zfs-auto-snap&#41;; do zfs destroy $s; done One could add a secondary pipe and grep statement to filter on [...]]]></description> <content:encoded><![CDATA[<p>Remove a range of unwanted snapshots, from the command line, if necessary.<br
/> In the following example, <strong>all</strong> automatic snapshots in the bash shell are removed.</p><div
class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div
class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span
style="color: #000000; font-weight: bold;">for</span> s <span
style="color: #000000; font-weight: bold;">in</span> $<span
style="color: #7a0874; font-weight: bold;">&#40;</span>zfs list <span
style="color: #660033;">-H</span> <span
style="color: #660033;">-o</span> name <span
style="color: #660033;">-t</span> snapshot <span
style="color: #000000; font-weight: bold;">|</span> <span
style="color: #c20cb9; font-weight: bold;">grep</span> <span
style="color: #000000; font-weight: bold;">@</span>zfs-auto-snap<span
style="color: #7a0874; font-weight: bold;">&#41;</span>; <span
style="color: #000000; font-weight: bold;">do</span> zfs destroy <span
style="color: #007800;">$s</span>; <span
style="color: #000000; font-weight: bold;">done</span></div></div><p>One could add a secondary pipe and grep statement to filter on individual file systems.</p><p>Reference: <a
href="http://wikis.sun.com/display/OpenSolarisInfo200906/How+to+Manage+the+Automatic+ZFS+Snapshot+Service">How to Manage the Automatic ZFS Snapshot Service</a></p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/11/25/remove-a-range-of-unwanted-zfs-snapshots-from-the-command-line/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 2/38 queries in 0.008 seconds using memcached
Object Caching 1682/1763 objects using memcached
Content Delivery Network via Amazon Web Services: S3: unixsherpa-solutions.s3.amazonaws.com

Served from: solutions.unixsherpa.com @ 2012-02-06 15:25:20 -->
