<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Behind Aisle8</title>
	<atom:link href="http://www.aisle8.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aisle8.net/blog</link>
	<description>where the shoemaker's children live</description>
	<pubDate>Sat, 20 Dec 2008 01:49:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9;Aisle8, Inc. </copyright>
		<managingEditor>dave@aisle8.net (Aisle8, Inc.)</managingEditor>
		<webMaster>dave@aisle8.net(Aisle8, Inc.)</webMaster>
		<category>Technology</category>
		<ttl>1440</ttl>
		<itunes:keywords>OpenBlueDragon, Drupal, Open Source, Technology</itunes:keywords>
		<itunes:subtitle>Our thoughts on technology, open source software, OpenBlueDragon, Drupal and life on the web.</itunes:subtitle>
		<itunes:summary>Where the shoemaker's children live - Toughts from Aisle8, Inc. on technology, open source software, OpenBlueDragon, Drupal and life on the web.</itunes:summary>
		<itunes:author>Aisle8, Inc.</itunes:author>
		<itunes:category text="Technology">
  <itunes:category text="Tech News"/>
</itunes:category>
<itunes:category text="Technology">
  <itunes:category text="Software How-To"/>
</itunes:category>
		<itunes:owner>
			<itunes:name>Aisle8, Inc.</itunes:name>
			<itunes:email>dave@aisle8.net</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.aisle8.net/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.aisle8.net/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>Behind Aisle8</title>
			<link>http://www.aisle8.net/blog</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Listing Domains Managed on a Plesk Server</title>
		<link>http://www.aisle8.net/blog/listing-domains-managed-on-a-plesk-server-68/</link>
		<comments>http://www.aisle8.net/blog/listing-domains-managed-on-a-plesk-server-68/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 01:49:26 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[Plesk]]></category>

		<guid isPermaLink="false">http://www.aisle8.net/blog/?p=68</guid>
		<description><![CDATA[I&#8217;ve learned the hard way that while directly altering Plesk&#8217;s database is almost never a good idea, the Plesk database &#8216;PSA&#8217; holds a ton of useful information that&#8217;s not always readily exportable from the interface.  Here are a couple of useful queries.  The first simply exports a list of &#8220;standard hosted&#8221; domains.  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve learned the hard way that while directly altering Plesk&#8217;s database is almost never a good idea, the Plesk database &#8216;PSA&#8217; holds a ton of useful information that&#8217;s not always readily exportable from the interface.  Here are a couple of useful queries.  The first simply exports a list of &#8220;standard hosted&#8221; domains.  The second includes client information.</p>
<p>You&#8217;ll need to be logged in as root.  </p>
<p>First, Get into MySQL and use the Plesk database, &#8220;psa&#8221;:<br />
<code><br />
mysql -u admin -p`cat /etc/psa/.psa.shadow`;<br />
use psa;<br />
</code></p>
<p><strong>Query 1:  List all the standard hosted domains, send the results to a csv file:</strong><br />
<code><br />
select name from domains where htype='vrt_hst' INTO OUTFILE '/tmp/domains.csv';<br />
</code></p>
<p><strong>Query 2:  Building on that, lets add client information and sort it to make it pretty:</strong><br />
<code><br />
select cname,name from domains, clients where cl_id = clients.id and htype='vrt_hst' order by cname,name INTO OUTFILE '/tmp/domains-client.csv';<br />
</code></p>
<p>Nothing earth shattering here, but it might save you 5 minutes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aisle8.net/blog/listing-domains-managed-on-a-plesk-server-68/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Managing Orphaned Parallels Plesk Mailboxes</title>
		<link>http://www.aisle8.net/blog/managing-orphaned-parallels-plesk-mailboxes-66/</link>
		<comments>http://www.aisle8.net/blog/managing-orphaned-parallels-plesk-mailboxes-66/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 02:00:13 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[Plesk]]></category>

		<guid isPermaLink="false">http://www.aisle8.net/blog/?p=66</guid>
		<description><![CDATA[Intro
Over the past few months I began to notice a steady erosion in available disk space on a server running the Parallels&#8217; Plesk control panel.  After some sleuthing I tracked it down to the management of mailboxes in combination with the &#8220;Mail Forward&#8221; and &#8220;Mail Group&#8221; functions on domains the &#8220;Mailbox quota&#8221; set to [...]]]></description>
			<content:encoded><![CDATA[<h2>Intro</h2>
<p>Over the past few months I began to notice a steady erosion in available disk space on a server running the Parallels&#8217; <a href="http://www.parallels.com/plesk/">Plesk</a> control panel.  After some sleuthing I tracked it down to the management of mailboxes in combination with the &#8220;Mail Forward&#8221; and &#8220;Mail Group&#8221; functions on domains the &#8220;Mailbox quota&#8221; set to unlimited.</p>
<p>There are two basic issues:</p>
<ol>
<li>Users setup &#8216;redirects&#8217; or &#8216;mail group&#8217; functions and leave the account mailbox enabled, then never check the mailbox and delete the messages.  (e.g. sales@somedomain.com forwards to bill@somedomain.com and jim@gmail.com, but nobody logs on to sales@ and deletes the message)</li>
<li><strong><em>Disabling</em></strong> the mailbox does not <strong><em>delete</em></strong> the existing files in the mailbox.  All those mail files will just hang around forever, orphaned from the control panel.</li>
</ol>
<div>Slogging around in the qmail directories looking for files is no fun.  Here&#8217;s how I rid myself of these pesky disk-eaters.  I took a two pronged approach:</div>
<div>
<ul>
<li>Query the Plesk database to identify mail accounts with mailboxes that redirect.</li>
<li>Query the filesystem to find Mailbox directories that are large.</li>
</ul>
</div>
<h2>Query the Plesk Database</h2>
<p>You&#8217;ll need shell access to your server.  Login to your server, pop into mysql and use the Plesk database (PSA) using the following command:<br />
<code><br />
mysql -u admin -p`cat /etc/psa/.psa.shadow`;<br />
use psa;<br />
</code></p>
<p>Use the following query to select mailboxes that redirect:</p>
<p><code><br />
select name,mail_name,redir_addr from mail, domains where mail.dom_id = domains.id and postbox = 'true' and redirect = 'true';<br />
</code></p>
<p>Now you&#8217;ve got some ammunition.  Exit out of mysql.</p>
<p> </p>
<h2>Finding Big Mailboxes</h2>
<p>A &#8216;mailbox&#8217; in qmail is simply a directory.  Each undelivered message is a file in that directory.  On my  installation of Plesk qmail  is installed in &#8216;/var/qmail/&#8217;   The mailbox for &#8216;jimbo@somedomain.com&#8217; takes the form: &#8216;/var/qmail/somedomain.com/jimbo/Maildir/new&#8217;.</p>
<p>The command below uses &#8216;du&#8217; to grab the size of all the directories in mailnames, grep filters out all but the &#8216;Maildir/new&#8217; directory leaving us with a list of all our mailboxes and their size.  Running them through sort in the manner shown orders them biggest to smallest.  Just the way we want &#8216;em.</p>
<p>Log in as root and run the following:</p>
<p><code><br />
du  /var/qmail/mailnames | grep 'Maildir/new' | sort -rnk1 &gt; mboxsize.txt<br />
</code></p>
<p>Sample Output:<br />
<code><br />
1047680 /var/qmail/mailnames/somedomain.com/karyon/Maildir/new<br />
123820  /var/qmail/mailnames/somedomain.com/vickih/Maildir/new<br />
94156   /var/qmail/mailnames/somedomain.com/info/Maildir/new<br />
88368   /var/qmail/mailnames/somedomain.com/kathyh/Maildir/new<br />
</code></p>
<h2>Delete those Suckers</h2>
<p>Armed with all the mailboxes that forward and a list of the big offenders you wouldn&#8217;t think this would need much explanation, but after several weeks or months of collecting files you may find you have to many files in the directory to delete with a simple &#8220;rm * -f&#8221;.   Apparently there are limits to the number of files you can delete at one time with a wildcard.</p>
<p>If you run into difficulties with rm give this a shot:</p>
<p>CD to the directory and run &#8216;ls -al&#8217;. Note that the name of your server is a string common to all files, replace MYSERVER below with the common string:</p>
<p><code>find . -name '*MYSERVER*' | xargs rm</code></p>
<p>In your gusto to clean things out remember that there are legitimate reasons to keep a mailbox turned on for forwarded accounts, (The boss may want to be able to review mail sent to sales@ to make sure that leads are being followed up on, etc.) and some users may just get incredible amounts of mail.  With that in mind this should help you keep a lid on things.  Once you&#8217;ve got things cleaned out you may be able to use quotas to help the problem from repeating.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aisle8.net/blog/managing-orphaned-parallels-plesk-mailboxes-66/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wow, Gmail is down - 502 bad gateway.</title>
		<link>http://www.aisle8.net/blog/wow-gmail-is-down-502-bad-gateway-52/</link>
		<comments>http://www.aisle8.net/blog/wow-gmail-is-down-502-bad-gateway-52/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 21:58:16 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[Random Tech]]></category>

		<category><![CDATA[gmail]]></category>

		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.aisle8.net/blog/?p=52</guid>
		<description><![CDATA[
Well, it looks like I really can&#8217;t blame this on a flaky WIFI connection at the coffee shop.  Gmail is returning a 502 error. In other words, gmail is down.  Looks like I&#8217;m not the only one.  There&#8217;s some chatter HERE on google groups.
So, what exactly causes a 502 error?  The folks [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_57" class="wp-caption alignnone" style="width: 310px"><a href="http://www.aisle8.net/blog/wp-content/uploads/2008/08/gmail-502.gif"><img class="size-medium wp-image-57" title="gmail-502" src="http://www.aisle8.net/blog/wp-content/uploads/2008/08/gmail-502-300x226.gif" alt="Gmail Down - 502 error message" width="300" height="226" /></a><p class="wp-caption-text">Gmail Down - 502 error message</p></div>
<p>Well, it looks like I really can&#8217;t blame this on a flaky WIFI connection at the coffee shop.  Gmail is returning a 502 error. In other words, gmail is down.  Looks like I&#8217;m not the only one.  There&#8217;s some chatter <a href="http://groups.google.com/group/Gmail-down/browse_thread/thread/1a9d39ea5ac6dad7" target="_blank">HERE</a> on google groups.</p>
<p>So, what exactly causes a 502 error?  The folks at checkupdown.com have a nice explanation <a title="http://www.checkupdown.com/status/E502.html" href="http://" target="_blank">here</a>.  They suggest cleaning out your browser cache, but it looks like this is beyond that.  We&#8217;ve tried from an ISP in NY and one in the Midwest.  If you&#8217;re not logged in to your account it will authenticate you.  The error occurs after authentication.  Curious.</p>
<p>Update - Looks like they&#8217;ve excercised their demons (or restarted their daemons).  After almost an hour gmail is back.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aisle8.net/blog/wow-gmail-is-down-502-bad-gateway-52/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing OpenBlueDragon in Five Minutes - Screencast</title>
		<link>http://www.aisle8.net/blog/installing-openbluedragon-screencast-20/</link>
		<comments>http://www.aisle8.net/blog/installing-openbluedragon-screencast-20/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 05:42:51 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[OpenBlueDragon]]></category>

		<guid isPermaLink="false">http://www.aisle8.net/blog/?p=20</guid>
		<description><![CDATA[The OpenBlueDragon site says &#8220;Open BlueDragon, is the worlds favourite open source GPL J2EE CFML runtime engine&#8230;Available to download today as a standard Java J2EE WAR file, or completely pre-configured JETTY server, VMWare/Amazon image, you can be up and running within minutes.
The British spelling of &#8220;favourite&#8221; might indicate that OpenBlueDragon has made a jump across [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.openbluedragon.org/">OpenBlueDragon</a> site says &#8220;Open BlueDragon, is the worlds favourite open source GPL J2EE CFML runtime engine&#8230;Available to download today as a standard Java J2EE WAR file, or completely pre-configured JETTY server, VMWare/Amazon image, you can be up and running within minutes.</p>
<p>The British spelling of &#8220;favourite&#8221; might indicate that OpenBlueDragon has made a jump across the pond and may be on it&#8217;s way to world dominance,  so I decided to see if indeed I could be up and running in minutes.   I was.</p>
<p>I&#8217;m familiar with WAR files, VMWare images and setting up Amazon EC2 virtual machines with <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=609">ElasticFox</a>,  but I&#8217;d never even heard of <a href="http://www.mortbay.org/jetty-6/">JETTY</a>.  After a few minutes of Google to resolve fears that JETTY would somehow destroy my local Apache install I dove in.</p>
<p>It couldn&#8217;t have been easier. Basically you unzip the file, type in a run command at the command prompt and your up and running.  Take a look at the screencast below and dive in.</p>
<p>Next up:  Drive Mappings and Data Sources.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aisle8.net/blog/installing-openbluedragon-screencast-20/feed/</wfw:commentRss>
			<enclosure url="http://www.aisle8.net/blog/podpress_trac/feed/20/0/obd-1.wmv" length="31264569" type="video/wmv"/>
<itunes:duration>00:01:01</itunes:duration>
		<itunes:subtitle>The OpenBlueDragon site says "Open BlueDragon, is the worlds favourite open source GPL J2EE CFML runtime engine...Available to download today as a standard Java J2EE ...</itunes:subtitle>
		<itunes:summary>The OpenBlueDragon site says "Open BlueDragon, is the worlds favourite open source GPL J2EE CFML runtime engine...Available to download today as a standard Java J2EE WAR file, or completely pre-configured JETTY server, VMWare/Amazon image, you can be up and running within minutes.

The British spelling of "favourite" might indicate that OpenBlueDragon has made a jump across the pond and may be on it's way to world dominance,  so I decided to see if indeed I could be up and running in minutes.   I was.

I'm familiar with WAR files, VMWare images and setting up Amazon EC2 virtual machines with ElasticFox,  but I'd never even heard of JETTY.  After a few minutes of Google to resolve fears that JETTY would somehow destroy my local Apache install I dove in.

It couldn't have been easier. Basically you unzip the file, type in a run command at the command prompt and your up and running.  Take a look at the screencast below and dive in.

Next up:  Drive Mappings and Data Sources.</itunes:summary>
		<itunes:keywords>OpenBlueDragon</itunes:keywords>
		<itunes:author>Aisle8, Inc.</itunes:author>
		<itunes:explicit>no</itunes:explicit>
		<itunes:block>No</itunes:block>
	</item>
		<item>
		<title>OpenBlueDragon is here. Woot!</title>
		<link>http://www.aisle8.net/blog/openbluedragon-is-here-woot-5/</link>
		<comments>http://www.aisle8.net/blog/openbluedragon-is-here-woot-5/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 02:53:10 +0000</pubDate>
		<dc:creator>dave</dc:creator>
		
		<category><![CDATA[OpenBlueDragon]]></category>

		<guid isPermaLink="false">http://www.aisle8.net/blog/?p=5</guid>
		<description><![CDATA[OpenBlueDragon, &#8220;the worlds favourite GPL open source J2EE CFML runtime engine&#8221; is out and available at OpenBlueDragon.org.  This is a fantastic addition to the open source world.
For the last eight years I&#8217;ve built three companies and made a good living developing coldfusion applications.  We&#8217;ve all watched as the product and our destiny passed [...]]]></description>
			<content:encoded><![CDATA[<p>OpenBlueDragon, &#8220;<em>the worlds favourite GPL open source J2EE CFML runtime engine</em>&#8221; is out and available at <a href="http://openbluedragon.org">OpenBlueDragon.org</a>.  This is a fantastic addition to the open source world.</p>
<p>For the last eight years I&#8217;ve built three companies and made a good living developing coldfusion applications.  We&#8217;ve all watched as the product and our destiny passed from Allaire to Macromedia to Adobe.  ColdFusion books bloomed on the shelves of Borders and Barnes and Noble only to disappear into Amazon.  I&#8217;ve cycled through Ruby and PHP and loathed .Net and at the end of the day, I can <strong><em>*STILL*</em></strong> get more out the door with CFML than I can with anything else.  Now we can finally take the bull by the horns.</p>
<p>There are, of course other Non-Adobe CFML projects, but OpenBlueDragon seems to have what it takes to carry the day.   We&#8217;ve been waiting for this for some time, and are planning to port our <a href="http://www.condoengine.com">condoEngine</a> application from Win2k / IIS / CFMX 6.1 / SqlServer setup to Linux / OpenBlueDragon / MySql, or Firebird&#8230;  We plan to document our little adventure on this blog. </p>
<p>We&#8217;re also working on getting OpenBlueDragon working on or<a href="http://www.parallels.com/en/products/plesk/"> Parrallels - Plesk</a> based hosting platforms. Plesk currently has both ColdFusion and Tomcat integrated into the control panel.  There are a lot of small hosting companies - and some large ones - using Plesk.  Getting OpenBlueDragon running on Plesk servers may help introduce many new users to the project.  </p>
<p>We&#8217;ll keep posting&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aisle8.net/blog/openbluedragon-is-here-woot-5/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
