<?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>seventy6 &#187; plesk</title>
	<atom:link href="http://www.seventy6.com/tag/plesk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seventy6.com</link>
	<description>code, design and things</description>
	<lastBuildDate>Fri, 06 Aug 2010 21:05:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Could not connect to slideshowpro.net (using cURL)</title>
		<link>http://www.seventy6.com/2008/11/24/could-not-connect-to-slideshowpronet-using-curl/</link>
		<comments>http://www.seventy6.com/2008/11/24/could-not-connect-to-slideshowpronet-using-curl/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 21:54:56 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[slideshowpro]]></category>

		<guid isPermaLink="false">http://www.seventy6.com/?p=6</guid>
		<description><![CDATA[We recently moved to a new dedicated server using Plesk 8. Apart from the usual grumbles of moving 80 domains nothing too bad happened. However, today I hit a weird problem with a slideshow pro Director install. After trying to login you get this message: Could not connect to slideshowpro.net (using cURL): Couldn&#8217;t resolve host [...]]]></description>
			<content:encoded><![CDATA[<p>We recently moved to a new dedicated server using Plesk 8. Apart from the usual grumbles of moving 80 domains nothing too bad happened. However, today I hit a weird problem with a <a title="slideshow pro flash image viewer" href="http://www.slideshowpro.net">slideshow pro Director</a> install. After trying to login you get this message:</p>
<blockquote><p>Could not connect to slideshowpro.net (using cURL): Couldn&#8217;t resolve host &#8216;slideshowpro.net&#8217;.</p></blockquote>
<p><span id="more-6"></span>After a bit of <a title="the results" href="http://forums.slideshowpro.net/viewtopic.php?id=13214">digging on their forums</a> it seems the new Plesk firewall is blocking some unwanted traffic. e.g. curl calls to the slideshowpro.net server. To get round this, you need to add a custom rule which enables Director to talk to their server. Easy when you know how!</p>
<p><a href="http://www.seventy6.com/wp-content/uploads/2008/11/slideshow-pro-firewall1.jpg"><img class="alignnone size-full wp-image-10" style="border: 0pt none;" title="slideshow-pro-firewall1" src="http://www.seventy6.com/wp-content/uploads/2008/11/slideshow-pro-firewall1.jpg" alt="" width="500" height="114" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seventy6.com/2008/11/24/could-not-connect-to-slideshowpronet-using-curl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Useful plesk 8 administration sql commands</title>
		<link>http://www.seventy6.com/2008/11/20/useful-plesk-8-administration-sql-commands/</link>
		<comments>http://www.seventy6.com/2008/11/20/useful-plesk-8-administration-sql-commands/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 17:38:54 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.seventy6.com/?p=4</guid>
		<description><![CDATA[If you manage a dedicated web server like we do at sandbox. Are you constantly having to call up forgotten user names and passwords for clients and colleagues?]]></description>
			<content:encoded><![CDATA[<p>If you manage a dedicated web server like we do at <a title="bristol web design" href="http://www.sandbox.uk.com">sandbox media</a>. You&#8217;re probably regularly asked by clients and colleagues to call up forgotten user names and passwords for the their domain and email accounts. We have remote root access to our dedicated server&#8217;s Plesk MySQL database which is really handy for such occasions. To do this you will need a client based MySQL tool like <a title="cocoamysql for the mac" href="http://cocoamysql.sourceforge.net/">CocoaMySQL</a> or <a title="view the MySQL tools" href="http://dev.mysql.com/downloads/gui-tools/5.0.html">MySQL GUI Tools</a> to start brewing your own remote backup scripts (just in-case) and sql commands.<br />
<span id="more-4"></span><br />
In older versions of plesk the server admin had to create a root user account in the MySQL table to allow access. With Plesk 8 its just a case of adding the correct rule to the firewall. If you have a nice server administrator they should jim&#8217;ll fix it for you.</p>
<p>Below are a few scripts which have made my life a lot easier. Please comment if you have new ones to add to the list.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* returns all ftp accounts for a domain search */</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> d<span style="color: #66cc66;">.</span>name<span style="color: #66cc66;">,</span> s<span style="color: #66cc66;">.</span>id<span style="color: #66cc66;">,</span> s<span style="color: #66cc66;">.</span>login<span style="color: #66cc66;">,</span> a<span style="color: #66cc66;">.</span>password <span style="color: #993333; font-weight: bold;">FROM</span> domains <span style="color: #993333; font-weight: bold;">AS</span> d<span style="color: #66cc66;">,</span> hosting <span style="color: #993333; font-weight: bold;">AS</span> h<span style="color: #66cc66;">,</span> sys_users <span style="color: #993333; font-weight: bold;">AS</span> s<span style="color: #66cc66;">,</span> accounts <span style="color: #993333; font-weight: bold;">AS</span> a <span style="color: #993333; font-weight: bold;">WHERE</span> d<span style="color: #66cc66;">.</span>name <span style="color: #993333; font-weight: bold;">LIKE</span>  <span style="color: #ff0000;">&quot;%thedomain%&quot;</span>  <span style="color: #993333; font-weight: bold;">AND</span> d<span style="color: #66cc66;">.</span>id <span style="color: #66cc66;">=</span> h<span style="color: #66cc66;">.</span>dom_id <span style="color: #993333; font-weight: bold;">AND</span> h<span style="color: #66cc66;">.</span>sys_user_id <span style="color: #66cc66;">=</span> s<span style="color: #66cc66;">.</span>id <span style="color: #993333; font-weight: bold;">AND</span> s<span style="color: #66cc66;">.</span>account_id <span style="color: #66cc66;">=</span> a<span style="color: #66cc66;">.</span>id</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* returns all user plesk login accounts for a owner search */</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> c<span style="color: #66cc66;">.</span>id<span style="color: #66cc66;">,</span> d<span style="color: #66cc66;">.</span>name<span style="color: #66cc66;">,</span> c<span style="color: #66cc66;">.</span>cname<span style="color: #66cc66;">,</span> c<span style="color: #66cc66;">.</span>login<span style="color: #66cc66;">,</span> a<span style="color: #66cc66;">.</span>password<span style="color: #66cc66;">,</span> c<span style="color: #66cc66;">.</span>account_id <span style="color: #993333; font-weight: bold;">FROM</span> domains <span style="color: #993333; font-weight: bold;">AS</span> d<span style="color: #66cc66;">,</span> clients <span style="color: #993333; font-weight: bold;">AS</span> c<span style="color: #66cc66;">,</span> accounts a <span style="color: #993333; font-weight: bold;">WHERE</span> c<span style="color: #66cc66;">.</span>pname <span style="color: #993333; font-weight: bold;">LIKE</span>  <span style="color: #ff0000;">&quot;%user name%&quot;</span>  <span style="color: #993333; font-weight: bold;">AND</span> d<span style="color: #66cc66;">.</span>cl_id <span style="color: #66cc66;">=</span> c<span style="color: #66cc66;">.</span>id <span style="color: #993333; font-weight: bold;">AND</span> c<span style="color: #66cc66;">.</span>account_id <span style="color: #66cc66;">=</span> a<span style="color: #66cc66;">.</span>id</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* returns all user plesk login accounts for a domain search */</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> c<span style="color: #66cc66;">.</span>id<span style="color: #66cc66;">,</span> d<span style="color: #66cc66;">.</span>name<span style="color: #66cc66;">,</span> c<span style="color: #66cc66;">.</span>cname<span style="color: #66cc66;">,</span> c<span style="color: #66cc66;">.</span>login<span style="color: #66cc66;">,</span> a<span style="color: #66cc66;">.</span>password<span style="color: #66cc66;">,</span> c<span style="color: #66cc66;">.</span>account_id <span style="color: #993333; font-weight: bold;">FROM</span> domains <span style="color: #993333; font-weight: bold;">AS</span> d<span style="color: #66cc66;">,</span> clients <span style="color: #993333; font-weight: bold;">AS</span> c<span style="color: #66cc66;">,</span> accounts a <span style="color: #993333; font-weight: bold;">WHERE</span> d<span style="color: #66cc66;">.</span>name <span style="color: #993333; font-weight: bold;">LIKE</span>  <span style="color: #ff0000;">&quot;%thedomain%&quot;</span>  <span style="color: #993333; font-weight: bold;">AND</span> d<span style="color: #66cc66;">.</span>cl_id <span style="color: #66cc66;">=</span> c<span style="color: #66cc66;">.</span>id <span style="color: #993333; font-weight: bold;">AND</span> c<span style="color: #66cc66;">.</span>account_id <span style="color: #66cc66;">=</span> a<span style="color: #66cc66;">.</span>id</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* returns all the mail passwords for a domain name search */</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> d<span style="color: #66cc66;">.</span>id<span style="color: #66cc66;">,</span> d<span style="color: #66cc66;">.</span>name<span style="color: #66cc66;">,</span> m<span style="color: #66cc66;">.</span>mail_name<span style="color: #66cc66;">,</span> a<span style="color: #66cc66;">.</span>id<span style="color: #66cc66;">,</span> a<span style="color: #66cc66;">.</span>password <span style="color: #993333; font-weight: bold;">FROM</span> domains <span style="color: #993333; font-weight: bold;">AS</span> d<span style="color: #66cc66;">,</span> mail <span style="color: #993333; font-weight: bold;">AS</span> m<span style="color: #66cc66;">,</span> accounts a <span style="color: #993333; font-weight: bold;">WHERE</span> d<span style="color: #66cc66;">.</span>name <span style="color: #993333; font-weight: bold;">LIKE</span>  <span style="color: #ff0000;">&quot;%thedomain%&quot;</span> <span style="color: #993333; font-weight: bold;">AND</span> m<span style="color: #66cc66;">.</span>dom_id <span style="color: #66cc66;">=</span> d<span style="color: #66cc66;">.</span>id <span style="color: #993333; font-weight: bold;">AND</span> a<span style="color: #66cc66;">.</span>id <span style="color: #66cc66;">=</span> m<span style="color: #66cc66;">.</span>account_id</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.seventy6.com/2008/11/20/useful-plesk-8-administration-sql-commands/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
