<?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>dev:ices &#187; Linux</title>
	<atom:link href="http://www.mindthe.net/devices/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mindthe.net/devices</link>
	<description>Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all. - Douglas Adams</description>
	<lastBuildDate>Wed, 11 Jan 2012 13:06:32 +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>Plesk 9.2.1 Greylisting</title>
		<link>http://www.mindthe.net/devices/2009/07/21/plesk-9-2-1-greylisting/</link>
		<comments>http://www.mindthe.net/devices/2009/07/21/plesk-9-2-1-greylisting/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 07:00:33 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[greylisting]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[trouble]]></category>

		<guid isPermaLink="false">http://www.mindthe.net/devices/?p=147</guid>
		<description><![CDATA[<p>In case, like me, you&#8217;re having trouble enabling the newly supported &#8216;Greylisting&#8217; feature after upgrading Plesk to 9.2.1, I managed to find the solution.<br /> Every time I tried to enable Greylisting I got<br /> Failed to exec glmng cli. file does not exist or is not executable: / usr / local / psa / [...]]]></description>
			<content:encoded><![CDATA[<p>In case, like me, you&#8217;re having trouble enabling the newly supported &#8216;Greylisting&#8217; feature after upgrading Plesk to 9.2.1, I managed to find the solution.<br />
Every time I tried to enable Greylisting I got<br />
<code>Failed to exec glmng cli.  file does not exist or is not executable: / usr / local / psa / admin / bin / glmng</code><br />
It seems that the Updater from the Control Panel fails to complete all the tasks necessary. Thankfully I found a <a href="http://translate.google.co.uk/translate?prev=hp&#038;hl=en&#038;js=y&#038;u=http%3A%2F%2Fwww.huschi.net%2F25_367_de-plesk-greylisting-aktivieren.html&#038;sl=de&#038;tl=en&#038;history_state0=">blog post on huschi.net</a> which explained how to complete upgrading manually.<br />
<code>/usr/local/psa/admin/bin/autoinstaller</code><br />
and then proceed through the remaining screens using &#8216;Enter&#8217; for the default Next Page action.<br />
After that the option to enable Greylisting doesn&#8217;t produce the error.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mindthe.net/devices/2009/07/21/plesk-9-2-1-greylisting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A little SugarOS on your Plesk?</title>
		<link>http://www.mindthe.net/devices/2007/09/13/a-little-sugaros-on-your-plesk/</link>
		<comments>http://www.mindthe.net/devices/2007/09/13/a-little-sugaros-on-your-plesk/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 22:32:40 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[SugarOS]]></category>

		<guid isPermaLink="false">http://www.mindthe.net/devices/2007/09/13/a-little-sugaros-on-your-plesk/</guid>
		<description><![CDATA[<p>There are many quirks which are picked up by using a website management package like <a href="http://www.swsoft.com/plesk/">Plesk</a>. My remote Linux server has this installed by default on it, and it does simplify a lot of basic operations. It does become difficult when standard Linux / <a href="http://www.apache.org">Apache</a> information doesn&#8217;t help because Plesk rearranges things into [...]]]></description>
			<content:encoded><![CDATA[<p>There are many quirks which are picked up by using a website management package like <a href="http://www.swsoft.com/plesk/">Plesk</a>. My remote Linux server has this installed by default on it, and it does simplify a lot of basic operations. It does become difficult when standard Linux / <a href="http://www.apache.org">Apache</a> information doesn&#8217;t help because Plesk rearranges things into its own way of doing things.<br />
This has been improved in the latest version installed ( version 8 ) as the virtual hosts directory is finally under the /var/www/ directory more like a standard Apache setup.</p>
<p>I&#8217;ve been wanting to trial the open-source customer relationship management software, <a href="http://www.sugarcrm.com/crm/community/sugarcrm-community.html">SugarOS</a>. I kept finding a block at Install Wizard Step 2 where it did a system check and failed at accessing the <a href="http://www.php.net">PHP</a> Session directory.<br />
<span id="more-16"></span><br />
Many attempts at trying to get the PHP <a href="http://uk2.php.net/manual/en/function.is-dir.php">is_dir</a> function to acknowledge its existence failed.<br />
All files under a virtual host&#8217;s main httpdocs directory are by default owned by the Linux username which is the FTP username assigned when creating the domain, with a group of &#8216;psacln&#8217;. I tried to add the &#8216;apache&#8217; group to the Linux user for that virtual host, but that didn&#8217;t help either.</p>
<p>A quick search for &#8216;Plesk PHP session writable&#8217; on Google uncovered a <a href="http://www.sugarcrm.com/forums/showthread.php?t=5102">relevant forum post</a> which was on the SugarOS forums site. I also found a <a href="http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/">helpful post by Aaron Gadburry</a> on using the vhost.conf file with Plesk to configure additional options for each Plesk virtual host. Do not try to edit the httpd.include file because Plesk will just overwrite it next time you change something with the web front-end. </p>
<p>So in the end, all I&#8217;ve done is added a vhost.conf file containing:</p>
<pre lang='text'>

<Directory /var/www/vhosts/DOMAINNAME/httpdocs/>
php_admin_value open_basedir "/var/www/vhosts/DOMAINNAME/httpdocs:/var/lib/php/session"
</Directory>
</pre>
<p>and then ran the command that Aaron mentioned:</p>
<pre lang='text'>
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=domain.com
</pre>
<p>You should now be able to get past that pesky step 2. Happy CRM-ing.</p>
<p>[Edit]<br />
You will need to amend the original vhost.conf to add the BlowFish directory if you want to set up Incoming Email mailbox monitoring. I found a <a href="http://www.sugarcrm.com/forums/showthread.php?t=23013&#038;highlight=inbound+email+blank">forum post about getting a blank page after setting up an incoming mailbox</a> which helped fix it.</p>
<p>It should now read:</p>
<pre lang='text'>

<Directory /var/www/vhosts/DOMAINNAME/httpdocs/>
php_admin_value open_basedir "/var/www/vhosts/DOMAINNAME/httpdocs:/var/lib/php/session:/Blowfish"
</Directory>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mindthe.net/devices/2007/09/13/a-little-sugaros-on-your-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

