<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[Method pem.getWebspacesList returns empty set for IIS-based subscription]]></title>
<link>http://kb.parallels.com/en/5200</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">Method pem.getWebspacesList returns empty set for IIS-based subscription</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 5200&nbsp;</div>
					<div>Last Review: Oct,6 2008</div>
					<tr>
						<td>Author: </td>
						<td></td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>system</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Parallels Operations Automation 2.6</li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Cause</h2>
					This issue is caused by bug #115132 which is going to be fixed in POA 2.7 hotfix01.<br />&nbsp;
				</div>
				<div class="article-part">
					<h2>Resolution</h2>
					The following command can be executed on POA <strong>Management Node</strong> to get the list of IIS webspaces for a given subscription:<div class="commandline"><code># psql -U plesk -h`hostname` -x -c \<br />&quot;SELECT ds.sub_id, ds.hd_id, ds.dom_name, wsb.ip FROM iis_domain_services ds<br />INNER JOIN iis_webvsrvs ws ON (ds.ds_id = ws.ds_id AND ws.is_basic = 1)<br />INNER JOIN iis_webvsrvs_bindings wsb ON (ws.srv_id = wsb.srv_id AND wsb.is_basic = 1)<br />WHERE ds.sub_id = <em>&lt;subscription_id&gt;</em><br />AND ds.sync_status &lt;&gt; 2<br />AND ds.sps_status = 0&quot;;</code></div><br />For example:<div class="commandline"><code>[root@core root]# psql -U plesk -h`hostname` -x -c \<br />&quot;SELECT ds.sub_id, ds.hd_id, ds.dom_name, wsb.ip FROM iis_domain_services ds<br />INNER JOIN iis_webvsrvs ws ON (ds.ds_id = ws.ds_id AND ws.is_basic = 1)<br />INNER JOIN iis_webvsrvs_bindings wsb ON (ws.srv_id = wsb.srv_id AND wsb.is_basic = 1)<br />WHERE ds.sub_id = 1034865<br />AND ds.sync_status &lt;&gt; 2<br />AND ds.sps_status = 0&quot;;<br />-[ RECORD 1 ]------------------------------<br />sub_id&nbsp;&nbsp; | 1034865<br />hd_id&nbsp;&nbsp;&nbsp; | 130279<br />dom_name | d1034865-2.example.com<br />ip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 10.0.254.2<br />-[ RECORD 2 ]------------------------------<br />sub_id&nbsp;&nbsp; | 1034865<br />hd_id&nbsp;&nbsp;&nbsp; | 130278<br />dom_name | d1034865-1.example.com<br />ip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 10.0.254.2<br />-[ RECORD 3 ]------------------------------<br />sub_id&nbsp;&nbsp; | 1034865<br />hd_id&nbsp;&nbsp;&nbsp; | 123937<br />dom_name | d1034865.example.com<br />ip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 10.0.254.1<br /></code></div>
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=5200&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=5200&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '5200',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<guid isPermaLink="false">4833 LastUpdated: 2008-10-06 09:15:52</guid>
<pubDate>2008-04-16 06:34:38</pubDate>
</item>
</channel>
</rss>



