<?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>Tork Wrench</title>
	<atom:link href="http://www.torkwrench.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.torkwrench.com</link>
	<description>Things I learnt today, working on IBM Lotus Web Content Management.</description>
	<lastBuildDate>Tue, 17 Aug 2010 06:50:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to override a NetApp Filer missing battery shutdown</title>
		<link>http://www.torkwrench.com/2010/08/17/how-to-overide-a-netapp-filer-missing-battery-shutdown/</link>
		<comments>http://www.torkwrench.com/2010/08/17/how-to-overide-a-netapp-filer-missing-battery-shutdown/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 06:50:30 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[FAS960C]]></category>
		<category><![CDATA[Filer]]></category>
		<category><![CDATA[NetApp]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=256</guid>
		<description><![CDATA[How to override the automatic shutdown in a NetApp Filer <a href="http://www.torkwrench.com/2010/08/17/how-to-overide-a-netapp-filer-missing-battery-shutdown/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Our team recently became the proud owners of a dirty massive NetApp disk array. It was ex lease, so we got it for almost nothing. It&#8217;s circa 2004, so it old and dusty and a some of the hardware doesn&#8217;t work, but with a little TLC we&#8217;ve got it up and humming away. It was good fun getting it to work. I&#8217;m not entirely sure what to do with it, probably just dump more VMs on it!</p>
<p>One of the problems we had getting it to work was the NVRAM IV card . Being such an old machine, the battery backed cache on there was getting on a bit. Messages like this would come up in the console when booting:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[nvram.bat.error:CRITICAL]: The NVRAM battery in the chassis is *degraded*<br />
[nvram.bat.error:CRITICAL]: The NVRAM battery in the chassis is *partially discharged*<br />
[monitor.nvramLowBattery:CRITICAL]: NVRAM battery is dangerously low.<br />
[nvram.bat.error:CRITICAL]: replayed event: The NVRAM battery in the chassis is *not safe to boot. Delay for charging canceled by user. Charger is ON *</div></div>
<p>In this situation, the machine sits in suspended animation for up to 10 hours until the battery charges to a certain level. It&#8217;s like being stuck in the bios. My battery is so old that it won&#8217;t hold enough charge, so I&#8217;m SOL. </p>
<p>You can override this charging phase by pressing ctrl-c when the filer is booting, however it will turn itself off after 24 hours, lest you should get complacent and think that your data is safe in the event of a power outage. NetApp as a company seem to be really serious about preventing data outage (mad respect yo)!</p>
<p>I think it would be cool to replace the battery in there, but I haven&#8217;t been able to find anywhere that will send me one for a reasonable price. Reading through the lines of the NetApp support site seams to suggest that the battery is only bundled with a NVRAM card, and that you can&#8217;t get them separately. I&#8217;ve cracked open the plastic seal on the battery and it looks like it is just a few camera batteries wired together and attached to a random circuit board. Haven&#8217;t been able to find any suitable parts yet to build my own, but if I do, you dear reader will be the first to know.</p>
<p>Until then I will disable the automatic shutdown, which seems to be undocumented, for obvious reasons. At the NetApp console, go :</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">options raid.timeout 0</div></div>
<p>It&#8217;ll periodically spit out little passive aggressive missives like this:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">nvram.bat.missing.error:CRITICAL]: The NVRAM battery in the chassis is *missing or dead*. . Ensure battery is present and connected to the NVRAM card.<br />
[no.halt.nvramLowBattery:warning]: NVRAM battery is dangerously low. Automatic system shutdown is disabled. Replace the battery immediately!</div></div>
<p>But just ignore them &#8211; it should keep on trucking!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/08/17/how-to-overide-a-netapp-filer-missing-battery-shutdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Workaround for Solaris 10 slow boot on VMware ESX 4.0</title>
		<link>http://www.torkwrench.com/2010/07/02/workaround-for-solaris-10-slow-boot-on-vmware-esx-4-0/</link>
		<comments>http://www.torkwrench.com/2010/07/02/workaround-for-solaris-10-slow-boot-on-vmware-esx-4-0/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 22:32:32 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[random]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=248</guid>
		<description><![CDATA[When installing Solaris 10 as a VMware guest, the boot sequence is very slow. Here's how to fix it. <a href="http://www.torkwrench.com/2010/07/02/workaround-for-solaris-10-slow-boot-on-vmware-esx-4-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When building a Solaris x64 guest on VMware , the boot sequence when booting from the Solaris DVD seems to take forever. About 5 minutes in fact.  Which is really annoying if you are trying to automate installing Solaris and you need to restart 50 times a day. The part I am talking about is after you select to boot Solaris from the grub menu &#8211; there is a sequence of dots that comes up until the next Solaris kernel seems to load. Incidentally the guest&#8217;s CPU goes to 100% during this sequence, which could be an issue if you are running on a loaded system.</p>
<p>Luckily there is a workaround. Go into the &#8216;edit settings&#8217; screen for the Solaris guest and click the options tab. Change the Guest Operating System Version to Solaris 10 32 Bit, instead of 64 bit. Then the boot goes more like this:</p>
<p><img src="http://www.torkwrench.com/wp-content/plugins/flash-video-player/default_video_player.gif" /></p>
<p>I made a screen cast of the slow boot as well, but it literally is the same thing as above, except it just goes on for 5 minutes. It could be the most boring video on the internet. The fast boot video above is probably the second most boring video on the internet! It&#8217;s just a hard problem to explain in words.</p>
<p>This setting doesn&#8217;t mean that you&#8217;ll be running a 32 bit OS or anything either &#8211; as far as I can tell it doesn&#8217;t do anything besides fix the slow boot problem! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/07/02/workaround-for-solaris-10-slow-boot-on-vmware-esx-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.torkwrench.com/wp-content/uploads/2010/07/solaris-10-boot-good.flv" length="1606803" type="video/x-flv" />
		</item>
		<item>
		<title>Why doesn&#8217;t the WCM authoring portlet come up after installing Portal?</title>
		<link>http://www.torkwrench.com/2010/06/30/why-doesnt-the-wcm-authoring-portlet-come-up-after-installing-portal/</link>
		<comments>http://www.torkwrench.com/2010/06/30/why-doesnt-the-wcm-authoring-portlet-come-up-after-installing-portal/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 01:29:46 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=245</guid>
		<description><![CDATA[Possible reasons why the WCM authoring portlet doesn't display on a new install of Portal. <a href="http://www.torkwrench.com/2010/06/30/why-doesnt-the-wcm-authoring-portlet-come-up-after-installing-portal/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hey a Q and A post! Let&#8217;s hope the Q gets &#8216;A-ed&#8217;. </p>
<p>Peter commented on my <a href="http://www.torkwrench.com/2009/05/04/getting-websphere-portal-to-install-on-ubuntu/">post</a> about installing Portal on Ubuntu, and my response got a bit long, so I thought it might might a good post by itself.</p>
<p>Peter writes: </p>
<p><em>got thru the install but WCM doesnt appear in the admin (for libraries) or UI. can you confirm you can see the WCM stuff in yr portal? and maybe share wpinstalllog.txt with me?</em></p>
<p>Hey Peter,</p>
<p>When WCM doesn&#8217;t come up, it could be a couple of things : </p>
<p>The simplest explanation is that you&#8217;ve selected the &#8216;admin&#8217; install in the setup wizard, so you get a blank Portal out of the box. You can validate this in the PortalServer/wps.properties file, the property <strong>WPInstallType</strong> will tell you what sort of install you have done. To add WCM to an admin install, run the task:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">wp_profile/ConfigEngine/ConfigEngine.sh configure-wcm-authoring -DPortalAdminPwd=&lt;password&gt; -DWasPassword=&lt;password&gt; .</div></div>
<p>Log into Portal and you should see the WCM stuff under the content tab.</p>
<p>It could also be that you have installed the server version of Portal. Check the file PortalServer/wps.properties and check the value of <strong>WPFamilyName</strong> . It should read WPFamilyName=content. If it says something else you&#8217;ve installed the &#8216;server&#8217; version of the software &#8211; which doesn&#8217;t include WCM. This is the worst problem because you basically have to reinstall again &#8211; there&#8217;s no way to add WCM to a server version. You can see which downloaded files make up each version of Portal in the download documents for each release. The download document for the server version is <a href="http://www-01.ibm.com/support/docview.wss?uid=swg24024422">here</a>, and the content version is <a href="http://www-01.ibm.com/support/docview.wss?rs=688&#038;uid=swg24024338">here</a>.  I hope this isn&#8217;t your problem <img src='http://www.torkwrench.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>With 6.0 (not valid for 6.1, but I&#8217;ll include it anyway), on Linux you can get a problem where the WCM authoring page and portlet are there, but don&#8217;t render properly &#8211; the inside of the portlet is just blank. I&#8217;ve covered this before in this <a href="http://www.torkwrench.com/2009/04/01/javalangunsatisfiedlinkerror/">post.</a>  </p>
<p>Let us know how you go Peter!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/06/30/why-doesnt-the-wcm-authoring-portlet-come-up-after-installing-portal/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>DB2 9.5 install hangs on Linux during db2icrt</title>
		<link>http://www.torkwrench.com/2010/06/22/db2-9-5-install-hangs-on-linux-during-db2icrt/</link>
		<comments>http://www.torkwrench.com/2010/06/22/db2-9-5-install-hangs-on-linux-during-db2icrt/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 02:07:16 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[random]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[db2]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=243</guid>
		<description><![CDATA[How to fix a hung DB2 9.5 install on Linux. <a href="http://www.torkwrench.com/2010/06/22/db2-9-5-install-hangs-on-linux-during-db2icrt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I spent a bunch of time cleaning up our collection of kickstart files. It&#8217;s a grind, I must&#8217;ve rerun the Redhat installer 40 times in the last 24 hours. The nice thing is that we now have the same base linux install for all the different versions of Redhat and Fedora that we are using. </p>
<p>All this change has thrown up some new problems however. For each of the installs I was doing, the system would hang when trying to install DB2. </p>
<p>When there is a problem with the db2 install, the first place to go is the /tmp/db2setup.log. Inside that it seemed to be hanging on the instance creation step.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Command to be run: &quot;cd /opt/ibm/db2/V9.5/;/opt/ibm/db2/V9.5/instance/db2icrt -a server -s wse -u db2fenc1 -p db2c_db2inst1 db2inst1&quot;.</div></div>
<p>Looking through the output of <strong>ps -ef | grep db2</strong>, I saw a suspicious process called UpdateAutoRun.sh. </p>
<p>I couldn&#8217;t find a DB2 specific technote for this error, but a bit of searching brought up <a href="http://www-01.ibm.com/support/docview.wss?uid=swg1IZ18123">this one from Tivoli Monitoring (ITM).</a> Apparently DB2 installs an instance of ITM along with DB2 &#8211; I&#8217;m not sure what it is for. Anyway, there seems to be a dodgy script inside the ITM that relies on the venerable text editor &#8216;ed&#8217;. Without ed installed the log file <db2home>/itma/logs/UpdateAutoRun.log keeps filling up with the line:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">UpdateAutoRun.sh info: &nbsp;Delete of agent start all record successful.</div></div>
<p>Installing ed in (even while db2setup is running!) allows this script to finish and the rest of the install to complete successfully.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/06/22/db2-9-5-install-hangs-on-linux-during-db2icrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mod_was_ap22_http.so wrong ELF class: ELFCLASS32</title>
		<link>http://www.torkwrench.com/2010/06/09/mod_was_ap22_http-so-wrong-elf-class-elfclass32/</link>
		<comments>http://www.torkwrench.com/2010/06/09/mod_was_ap22_http-so-wrong-elf-class-elfclass32/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 22:39:42 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[tip]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[IHS]]></category>
		<category><![CDATA[WebSphere Application Server]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=228</guid>
		<description><![CDATA[Simple fix to an error seen when using the 32 bit WebSphere Application Server plugin with 64 bit Apache <a href="http://www.torkwrench.com/2010/06/09/mod_was_ap22_http-so-wrong-elf-class-elfclass32/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m experimenting with running Apache on our servers instead of IBM HTTP Server. This could be an advantage in terms of security updates &#8211; if a particular security vulnerability is fixed in Apache, it is going to be much easier to apply it by typing <strong>yum update</strong> than going to the IBM site and downloading the latest update and then struggling through the WAS Update Installer. </p>
<p>Anyway, when trying this out, I got this error when starting Apache. This error is pretty straightforward :</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Starting httpd: httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Cannot load /opt/WebSphere70/Plugin/bin/mod_was_ap22_http.so into server: /opt/WebSphere70/Plugin/bin/mod_was_ap22_http.so: wrong ELF class: ELFCLASS32</div></div>
<p>This simply means that the wrong version of the plugin is installed. I&#8217;m using 64 bit linux and 64 bit Apache, but the 32 bit version of the WAS Plugin. Reinstalling the 64 bit version made it work fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/06/09/mod_was_ap22_http-so-wrong-elf-class-elfclass32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CWUPI0033E on Solaris 10 when installing WAS</title>
		<link>http://www.torkwrench.com/2010/05/13/cwupi0033e-on-solaris-10-when-installing-was/</link>
		<comments>http://www.torkwrench.com/2010/05/13/cwupi0033e-on-solaris-10-when-installing-was/#comments</comments>
		<pubDate>Thu, 13 May 2010 02:57:58 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[random]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[dtrace]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[WebSphere Application Server]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=224</guid>
		<description><![CDATA[How to fix this 'out of disk space' error when installing WebSphere Application Server on Solaris 10.  <a href="http://www.torkwrench.com/2010/05/13/cwupi0033e-on-solaris-10-when-installing-was/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a weird one for you. We were trying to install 6.1.0.3 on a Solaris 10 system to do some tests. The Portal install would fail after about 10 minutes. In the /tmp/wpinstalllog.txt file, it was clear that the problem was due to a failure in the internal WebSphere Application Server install. (When you install Portal, the Portal installer will kick off it&#8217;s own silent install of WAS).</p>
<p>The first thing to do when debugging a WAS install problem is to look at the logs in ~/waslogs . These indicated the following problem:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CWUPI0033E: <br />
There is insufficient free disk space on the system: <br />
<br />
/opt/WebSphere/AppServer:<br />
&nbsp; &nbsp; &nbsp; Required: 1403 MB<br />
&nbsp; &nbsp; &nbsp; Available: 0 MB<br />
<br />
/var/tmp/:<br />
&nbsp; &nbsp; &nbsp; Required: 1403 MB<br />
&nbsp; &nbsp; &nbsp; Available: 0 MB<br />
<br />
/opt/.ibm/.nif:<br />
&nbsp; &nbsp; &nbsp; Required: 2 MB<br />
&nbsp; &nbsp; &nbsp; Available: 0 MB<br />
<br />
Please ensure that there is enough free disk space<br />
on all required filesystems and restart the installation.<br />
<br />
If /var/tmp/ , /opt/WebSphere/AppServer <br />
and /opt/.ibm/.nif are on the same partition, <br />
then the amount of space required is the sum of the space<br />
required on /var/tmp/ , /opt/WebSphere/AppServer and <br />
/opt/.ibm/.nif.</div></div>
<p>My system had heaps of space on it! Surely the installer wouldn&#8217;t even run if there was 0 MB free! The method that the installer used to determine how much disk space was free was failing. But how does the installer figure out how much disk space is free? After lots of poking and prodding around I stumbled on <a href="http://www.sun.com/bigadmin/content/dtrace/">dtrace</a>. I had heard of it before, but never had the opportunity to use it. Dtrace is a mechanism to instrument and probe the tiniest little interactions on a Solaris/BSD/OSX machine. Being so powerful, it has a steep learning curve. <a href="http://www.brendangregg.com/DTrace/dtrace_oneliners.txt">This collection of handy dtrace oneliners was really helpful. </a> </p>
<p>I kicked off the WAS install portion of the Portal install and ran this dtrace command in another window.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dtrace -n 'syscall::open*:entry { printf(&quot;%s %s&quot;,execname,copyinstr(arg0)); }' -o trace.log</div></div>
<p>It captured each file interaction that occurred when running the install. Luckily the WAS install failed after about 30 seconds, so there wasn&#8217;t too much data to wade through. </p>
<p>Here is the dtrace log (trace.log from the command above). Something called gushellsupport.sh is calling df (standard unix disk free command). This must be how the installer determines how much disk space is free. The column on the left is the pid of the install process (which is java) . The library files on the far right are what is being called by each executable; the next column over to the left.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; 0 &nbsp;44056 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open64:entry gushellsupport.s /var/tmp/ismp003/gushellsupport.sh<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /var/ld/ld.config<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /lib/libcmd.so.1<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /lib/libc.so.1<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /usr/dt/lib/nls/msg/C/SUNW_OST_OSCMD.cat<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /usr/lib/locale/C/LC_MESSAGES/SUNW_OST_OSCMD.mo<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /var/ld/ld.config<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /lib/libcmd.so.1<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /lib/libc.so.1<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /etc/mnttab<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /usr/dt/lib/nls/msg/C/SUNW_OST_OSCMD.cat<br />
&nbsp; 0 &nbsp;43668 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; open:entry df /usr/lib/locale/C/LC_MESSAGES/SUNW_OST_OSCMD.mo</div></div>
<p>This script, gushellsupport.sh, is owned by InstallShield so I can&#8217;t publish the contents of it. But it has a diskcheck function in it that relies on &#8216;/usr/xpg4/bin/df&#8217; which I didn&#8217;t have installed. Solaris has many different versions of the same tools that are left behind for backwards compatibility. When installing this system initially, I used the &#8220;Core System Support&#8221; option in the Solaris install to build a lean, quick machine. Unfortunately it didn&#8217;t come with this legacy version of df. </p>
<p>df belongs in a package called SUNWxcu4. To install it, mount your Solaris CD and go to the directory Solaris_10/Product/ . In there, copy the subdirectory &#8216;SUNWxcu4&#8242; to /var/spool/pkg and run</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">pkgadd SUNWxcu4</div></div>
<p>If you rerun the install again it&#8217;ll work since gushellsupport.sh is calling the correct version of df. Talk about obscure huh? </p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/05/13/cwupi0033e-on-solaris-10-when-installing-was/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find ConfigEngine tasks in WebSphere Portal 6.1</title>
		<link>http://www.torkwrench.com/2010/05/10/find-configengine-tasks-in-porta/</link>
		<comments>http://www.torkwrench.com/2010/05/10/find-configengine-tasks-in-porta/#comments</comments>
		<pubDate>Mon, 10 May 2010 00:42:09 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=218</guid>
		<description><![CDATA[Here's how to find ConfigEngine tasks in WebSphere Portal 6.1, with a script included. <a href="http://www.torkwrench.com/2010/05/10/find-configengine-tasks-in-porta/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Sometimes when a ConfigEngine task fails, it can be handy to be able to look up in the code to see more information about which task failed. And since all the tasks are written in plain old xml files it&#8217;s quite easy to just go in there and look at them. In Portal 6.0 (and before) this was really easy to do, since all the configuration scripts were located in the same place (or two places &#8211; WebSphere/PortalServer/config/actions and WebSphere/PortalServer/config/includes) . You could simply grep over all the xml files in these two directories for the task name that was failing and it would return the xml file the task was in.</p>
<p>From 6.1 and on this is more difficult because the configuration scripts are located with each component of Portal, in form like this: /config/includes/.xml . Here&#8217;s a oneliner than you can use to search for task names in just these directories. Run it from the PortalServer directory.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#!/bin/bash<br />
find . -wholename */config/includes/*.xml -print0 -type f | xargs -0 grep -l &quot;task-name&quot;</div></div>
<p>Here&#8217;s the same thing in a script.<br />
<a href="http://www.torkwrench.com/wp-content/uploads/2010/05/config-engine-search.sh">config-engine-search</a></p>
<p>If you make any changes to the ConfigEngine scripts, make sure you take a backup first!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/05/10/find-configengine-tasks-in-porta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add additional packages to a Fedora repo</title>
		<link>http://www.torkwrench.com/2010/04/21/how-to-add-additional-packages-to-a-fedora-repo/</link>
		<comments>http://www.torkwrench.com/2010/04/21/how-to-add-additional-packages-to-a-fedora-repo/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 05:28:56 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[createrepo]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[kickstart]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=212</guid>
		<description><![CDATA[How to add extra packages to your Fedora / CentOS / RHEL repository with the createrepo command. <a href="http://www.torkwrench.com/2010/04/21/how-to-add-additional-packages-to-a-fedora-repo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time to give Fedora 12 a whirl on our servers. In the lab we are massive users of anaconda&#8217;s kickstart system for doing unattended installs. This means that everything has to be perfect, otherwise the install will hang. For instance, if a package that you have defined in the kickstart isn&#8217;t there, anaconda (the name for Fedora&#8217;s installer) will hang. </p>
<p>I&#8217;ve noticed that Fedora has dropped the compat-libstdc++-296 and compat-libstdc++-33, which we require for DB2. The compat packages are in still the &#8216;Everything&#8217; directory in the <a href="http://mirrors.fedoraproject.org/publiclist/Fedora/12/">Fedora 12 mirror sites</a>, so we can download them and add them to our repository. This approach would work with any RHEL/CentOS/Fedora type distro.</p>
<p>1. Extract the CD/DVD to a folder.<br />
2. Copy the packages you would like to add to the Packages subdirectory<br />
3. Cd to the top level directory of the extracted files (you should see directories like Packages, repodata, images as subdirectories )<br />
4. Run this command :</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">createrepo --update -g repodata/comps.xml .</div></div>
<p>This will update the package metadata in the repodata directory to include the new packages that you have added.<br />
5. Add your new packages to the %packages section of the kickstart file &#8211; anaconda will now find the packages. For example, this is what mine says:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">%packages --nobase<br />
@core<br />
vim-enhanced<br />
-exim<br />
-samba-winbind<br />
-cairo<br />
-krb5-libs<br />
-fedora-release-notes<br />
-python<br />
-python-libs<br />
-gtk2<br />
-selinux-policy-targeted<br />
-selinux-policy<br />
-policycoreutils<br />
-system-config-samba<br />
-wireless-tools<br />
-openldap<br />
-libthai<br />
-cups-libs<br />
-efibootmgr<br />
-hicolor-icon-theme<br />
-fedora-logos<br />
-system-config-network-tui<br />
-system-config-firewall-tui<br />
-perl-Module-Pluggable<br />
-perl-Convert-ASN1<br />
-perl<br />
-popt<br />
-libtiff<br />
-libselinux<br />
-libselinux-devel<br />
-linux-atm-libs<br />
-cyrus-sasl-lib<br />
-ed<br />
-newt-python<br />
-mdadm<br />
-python-numeric<br />
-kudzu<br />
-gamin<br />
-parted<br />
-wireless-tools<br />
@smb-server<br />
libaio<br />
wget<br />
yum<br />
rpm-build<br />
createrepo<br />
sudo<br />
ntp<br />
openssh-server<br />
openssh-clients<br />
dhclient<br />
kernel-headers<br />
gcc<br />
gcc-c++<br />
mlocate<br />
anacron<br />
vixie-cron<br />
crontabs<br />
make<br />
curl<br />
unzip<br />
svn<br />
compat-libstdc++-296<br />
compat-libstdc++-33<br />
<br />
%post</div></div>
<p>This package selection is really minimal and enables us to build a Fedora machine from nothing in about 5 minutes!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/04/21/how-to-add-additional-packages-to-a-fedora-repo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vmware player on RHEL 5: How to get rid of Clearlooks error</title>
		<link>http://www.torkwrench.com/2010/04/12/vmware-player-on-rhel-5-how-to-get-rid-of-clearlooks-error/</link>
		<comments>http://www.torkwrench.com/2010/04/12/vmware-player-on-rhel-5-how-to-get-rid-of-clearlooks-error/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 03:10:28 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=208</guid>
		<description><![CDATA[How to get rid of a clearlooks theme error when starting vmware from the command line. <a href="http://www.torkwrench.com/2010/04/12/vmware-player-on-rhel-5-how-to-get-rid-of-clearlooks-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Quick tip: if you get this error when starting vmplayer from the command line on RHEL 5:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:59: error: unexpected identifier `animation', expected character `}'</div></div>
<p>Just open the file /usr/share/themes/Clearlooks/gtk-2.0/gtkrc and comment out line 59, like so:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#animation &nbsp; &nbsp; &nbsp; &nbsp; = FALSE</div></div>
<p>This doesn&#8217;t seem to affect functionality, but if you&#8217;re one of those people who wants their logs to be clean, the fix is easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/04/12/vmware-player-on-rhel-5-how-to-get-rid-of-clearlooks-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offline Physical 2 Virtual conversion (p2v) using free tools</title>
		<link>http://www.torkwrench.com/2010/02/23/offline-physical-2-virtual-conversion-p2v-using-free-tools/</link>
		<comments>http://www.torkwrench.com/2010/02/23/offline-physical-2-virtual-conversion-p2v-using-free-tools/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 05:10:54 +0000</pubDate>
		<dc:creator>Graham</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[p2v]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.torkwrench.com/?p=200</guid>
		<description><![CDATA[How to convert a Physical Linux server to a Virtual Linux Server using free tools. <a href="http://www.torkwrench.com/2010/02/23/offline-physical-2-virtual-conversion-p2v-using-free-tools/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a bit confused about VMware&#8217;s Converter and when you can use it. Which offering is free? Which is paid? From the last time I looked, I think you need the enterprise product to do an offline conversion. And call me old school, but online conversion just seems like voodoo to me. I was in the office this weekend, trying to convert an important physical machine to a virtual one and it failed for all sorts of reasons:</p>
<p>1. SSH keys. If you have a heavily locked down machine with ssh key logins, you cannot use the online converter.</p>
<p>2. Network. If you can&#8217;t hit the &#8216;source&#8217; machine with ssh, you can&#8217;t convert it. Maybe it&#8217;s on another network, or has a firewall running on it. </p>
<p>3. So since all that didn&#8217;t work, you&#8217;re forced to install the converter on the same machine you are converting. Except you don&#8217;t want to do that because you will have to fill out lots of forms because you are installing a new piece of software on a production machine.</p>
<p>This is a fail safe method of converting a physical Linux server into a virtual one. I converted my physical machine to an ESX 4.0 host, but this method would probably work for other versions of VMware as well.</p>
<p>1. Power down the server.</p>
<p>2. Boot up the server using a linux live cd . <a href="http://www.slax.org/">(I like Slax)</a></p>
<p>3. At the command line, run:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dd if=/dev/sda | ssh user@server 'dd of=sda.img'</div></div>
<p>Where server is a (linux) server with about twice as much disk space as you have, and /dev/sda is the address of the disk you would like to convert. You could probably do more that one disk using this howto, but I only did one.</p>
<p>4. Install Qemu on the Linux server. You should be able to find it in your yum repo, or apt-get repo.</p>
<p>5. Run this to convert the raw dd image to a vmdk.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">qemu-img convert sda.img -O vmdk sda.vmdk</div></div>
<p>6. Copy the sda.vmdk to your datastore, using scp if you have ssh enabled on your VMware host, or using the Datastore browser if you don&#8217;t. Make sure to create a folder for the new machine.</p>
<p>7. Create a new VM in the vSphere Console, using values similar to the physical machine you are replacing. Make sure to select Custom at the first screen, not typical.</p>
<p>8. When it comes time to create a new disk, point vSphere at your newly converted vmdk file.</p>
<p>9. Boot up the server, and you&#8217;re done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.torkwrench.com/2010/02/23/offline-physical-2-virtual-conversion-p2v-using-free-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.963 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-09-04 08:05:39 -->
