<?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>[ Teknoglot ]</title>
	<atom:link href="http://teknoglot.hartati.se/feed/" rel="self" type="application/rss+xml" />
	<link>http://teknoglot.hartati.se</link>
	<description>Techspeak for the socially diminished</description>
	<lastBuildDate>Mon, 22 Feb 2010 14:29:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Updated MSMQ Management Pack v6.0.6615.0!</title>
		<link>http://teknoglot.hartati.se/ms/opsmgr2007/updated-msmq-management-pack/</link>
		<comments>http://teknoglot.hartati.se/ms/opsmgr2007/updated-msmq-management-pack/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 08:57:38 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[OpsMgr 2007]]></category>
		<category><![CDATA[Management Pack]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSMQ]]></category>
		<category><![CDATA[OpsMgr]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/ms/opsmgr2007/updated-msmq-management-pack/</guid>
		<description><![CDATA[Microsoft has released an update to the MSMQ (version 3) management pack.
System Center Pack for: Message Queuing 3.0      Version: 6.0.6615.0       Released on: 12/14/2009
Message Queuing (also known as MSMQ) is a server application that enables applications to communicate across heterogeneous networks and systems that may [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has released an update to the MSMQ (version 3) management pack.</p>
<blockquote><p>System Center Pack for: Message Queuing 3.0      <br />Version: 6.0.6615.0       <br />Released on: 12/14/2009</p>
<p>Message Queuing (also known as MSMQ) is a server application that enables applications to communicate across heterogeneous networks and systems that may be temporarily offline or otherwise inaccessible. Instead of an application communicating with a service on another computer, it sends its information to Message Queuing, which sends the information to a Message Queuing service on the target computer where it is made available to the other application. Message Queuing provides guaranteed delivery, efficient routing, security, and priority based messaging.</p>
</blockquote>
<p>Now, what’s really interesting is what you will find in the MP Guide under “Supported Configurations”.</p>
<blockquote><p>The Message Queuing Management Pack for Operations Manager 2007 is designed to monitor Message Queuing version 3 only.</p>
<p>The Message Queuing Management Pack supports the following platforms:</p>
<p>· Windows Server 2003</p>
<p>· Windows XP</p>
<p><font color="#800000">The Message Queuing Management Pack also supports monitoring clustered MSMQ components</font>.</p>
</blockquote>
<p>Text coloration is obviously added by me to highlight the interesting part. <img src='http://teknoglot.hartati.se/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Finally MSMQ monitoring seems to be cluster aware, which might mean that the home-made pack i did to have those (numerous) queues covered could be passed on to the scrap-heap. This is also confirmed under “Changes in This Update”.</p>
<blockquote><p>The December 2009 update to this management pack includes the following change:</p>
<p>· Fixed a problem when working with an instance of MSMQ in a Cluster. The MP is now able to discover and monitor public and private queues in a cluster.</p>
<p>· Fixed a problem when discovering the local and cluster instance of MSMQ. The MP is now able to discover and monitor both instances.</p>
</blockquote>
<p>The confusing double RunAs profiles seems to have been cleaned up too (you only have to worry about one now) as well as fixing some sloppy mistakes in the previous scripts (no Option Explicit? C’mon Microsoft! You <em>write</em> the best practices, try to stick to them.) and generally improving display and documentation.</p>
<p>Gonna import this to our staging environment today and let it roll during the holidays.</p>
<p>Cheers! Oh, and happy holidays!</p>
<blockquote><p>Download and documentation:      <br /><a title="http://www.microsoft.com/downloads/details.aspx?FamilyId=1D2B4398-8BC2-4A43-850C-852EBB0D983B&amp;displaylang=en&amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=1D2B4398-8BC2-4A43-850C-852EBB0D983B&amp;displaylang=en&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=1D2B4398-8BC2-4A43-850C-852EBB0D983B&amp;displaylang=en&amp;displaylang=en</a></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://teknoglot.hartati.se/ms/opsmgr2007/updated-msmq-management-pack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Discovery &#8211; Not Enough Entropy</title>
		<link>http://teknoglot.hartati.se/ms/opsmgr2007/linux-discovery-not-enough-entropy/</link>
		<comments>http://teknoglot.hartati.se/ms/opsmgr2007/linux-discovery-not-enough-entropy/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 11:37:08 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[OpsMgr 2007]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[TroubleShooting]]></category>
		<category><![CDATA[X-Plat]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/?p=243</guid>
		<description><![CDATA[Here’s a little trouble-shooting guide for discovering Linux systems from OpsMgr R2 when getting the following error from the wizard:
&#60;stdout&#62;Generating certificate with hostname=&#34;COMPUTERNAME&#34;

[/home/serviceb/TfsCoreWrkSpcRedhat/source/code/tools/scx_ssl_config/scxsslcert.cpp:198]

Failed to allocate resource of type random data: Failed to get random data - not enough entropy

&#60;/stdout&#62;&#60;stderr&#62;error: %post(scx-1.0.4-248.i386) scriptlet failed, exit status 1

&#60;/stderr&#62;&#60;returnCode&#62;1&#60;/returnCode&#62;

&#60;DataItem type=&#34;Microsoft.SSH.SSHCommandData&#34; time=&#34;2009-08-05T11:15:01.5800358-04:00&#34; sourceHealthServiceId=&#34;0EB1D6DA-202C-7FC5-3D46-BDBB9208547D&#34;&#62;&#60;SSHCommandData&#62;&#60;stdout&#62;Generating certificate with hostname=&#34;COMPUTERNAME&#34;

[/home/serviceb/TfsCoreWrkSpcRedhat/source/code/tools/scx_ssl_config/scxsslcert.cpp:198]

Failed to allocate resource of [...]]]></description>
			<content:encoded><![CDATA[<p>Here’s a little trouble-shooting guide for discovering Linux systems from OpsMgr R2 when getting the following error from the wizard:</p>
<pre class="brush: xml;">&lt;stdout&gt;Generating certificate with hostname=&quot;COMPUTERNAME&quot;

[/home/serviceb/TfsCoreWrkSpcRedhat/source/code/tools/scx_ssl_config/scxsslcert.cpp:198]

Failed to allocate resource of type random data: Failed to get random data - not enough entropy

&lt;/stdout&gt;&lt;stderr&gt;error: %post(scx-1.0.4-248.i386) scriptlet failed, exit status 1

&lt;/stderr&gt;&lt;returnCode&gt;1&lt;/returnCode&gt;

&lt;DataItem type=&quot;Microsoft.SSH.SSHCommandData&quot; time=&quot;2009-08-05T11:15:01.5800358-04:00&quot; sourceHealthServiceId=&quot;0EB1D6DA-202C-7FC5-3D46-BDBB9208547D&quot;&gt;&lt;SSHCommandData&gt;&lt;stdout&gt;Generating certificate with hostname=&quot;COMPUTERNAME&quot;

[/home/serviceb/TfsCoreWrkSpcRedhat/source/code/tools/scx_ssl_config/scxsslcert.cpp:198]

Failed to allocate resource of type random data: Failed to get random data - not enough entropy

&lt;/stdout&gt;&lt;stderr&gt;error: %post(scx-1.0.4-248.i386) scriptlet failed, exit status 1

&lt;/stderr&gt;&lt;returnCode&gt;1&lt;/returnCode&gt;&lt;/SSHCommandData&gt;&lt;/DataItem&gt;
</pre>
<p>But first, a little background on the actual “problem”. To generate the certificate, the <em>entropy</em> needs to be high enough to generate random data for the certificate creation. Without the certificate, the OpsMgr agent won’t be able to open up communications with the <acronym title="Management Server">MS</acronym>. So, what creates this entropy we need? Bluntly put, a selection of hardware components that are likely to produce non-predictable data. Like a keyboard, mouse and a monitor or videocard. Of course, there’s a lot more to it, but we really don’t need to know this. What <em>we</em> need to know is that there has to be a “bit bucket” of more than 256bytes of entropy for the certificate creation process to succeed. We also need to know that more enterprise-ish servers, like rack- or blade-servers tend to be void of things like directly attached keyboards, mouses and monitors that the linux kernel needs to be able to generate entropy. And herein lies the problem. If you have a new server that is not in full service (likely since we are trying to deploy the monitoring on it) which means that there’s not much random data flowing through the hardware and there’s no keyboard or mouse or monitor connected to it there is quite the risk that the system entropy is going to be very low. Of the linux systems that I have been deploying OpsMgr agents to, about half have failed because of “Not enough entropy”. So, here’s the steps I usually takes to ensure that discovery works. I use <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">PuTTY</a> to connect to the soon-to-be-monitored servers. This guide also assumes that you have SU rights on the system since all of these steps (except #1) needs it.</p>
<ol>
<li>Check you current entropy
<pre class="brush: plain;">cat /proc/sys/kernel/random/entropy_avail</pre>
<p>Is it less than, or close to, 256? It probably is. If you don’t feel like connecting a mouse and start wiggling it around—not really feasible in a data center—and see if the entropy increases, you can generate your own random data.</li>
<li>Generate you own random data.<br />
Be advised that this forced entropy will not be as random as the system-created on and thus not as secure. How much more insecure it is, I don’t know, and quite frankly I prefer to have my systems monitored yet slightly less secure than not monitored at all. Anyway, you can force your own random data by running:</p>
<pre class="brush: plain;">dd if=/dev/urandom of=~/.rnd bs=1 count=1024</pre>
<p>This creates a .rnd file with 1024B of random data that the certificate creation process will use instead of the system entropy if the file exists.</li>
<li>Uninstall and re-discover<br />
The first failed attempt of discovery will most likely leave a non-working agent installation that we have to remove. Otherwise we will just be stuck with an “Access Denied” error. Run:</p>
<pre class="brush: plain;">rpm –e scx</pre>
<p>Now, try to discover the system again.</li>
<li>Failed again?<br />
Try generating the certificate manually by running:</p>
<pre class="brush: plain;">/opt/microsoft/scx/bin/tools/scxsslconfig -f –v
/opt/microsoft/scx/bin/tools/scxadmin –restart</pre>
<p>Retry discovery again.</li>
<li>Still fails?<br />
Uninstall the agent once more as instructed in step 3.</li>
</ol>
<p>Stese steps have solved my problems 100% on both SUSE and RedHat and hopefully they will help you too.</p>
<p>Interestingely enough, these problems seems to be connected to some changes in the 2.6 kernel and basically everything that uses SSL-ish certificates will be affected. Even though the symptoms may be a bit more subtle, like time-outs and disconnects. For “headless” servers like those I usually to administer where the random data tend to be much lower, there’s even specialised hardware whose sole purpose is to generate random data, like the <a href="http://www.entropykey.co.uk/">Entropy Key</a>. I have also been told that new servers is likely to be equipped with entropy chipsets to make sure that there’s chaos enough to avoid these new-found oddities.</p>
<blockquote><p>Sources:<br />
<a title="http://social.technet.microsoft.com/Forums/en-US/crossplatformsles/thread/f94ec905-23ac-4444-b9f8-644fec3ae357" href="http://social.technet.microsoft.com/Forums/en-US/crossplatformsles/thread/f94ec905-23ac-4444-b9f8-644fec3ae357">http://social.technet.microsoft.com/Forums/en-US/crossplatformsles/thread/f94ec905-23ac-4444-b9f8-644fec3ae357</a></p>
<p><a title="http://www.askrenzo.com/oracle/SCOM/SCOM_discovering_nodes.html" href="http://www.askrenzo.com/oracle/SCOM/SCOM_discovering_nodes.html">http://www.askrenzo.com/oracle/SCOM/SCOM_discovering_nodes.html<br />
</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://teknoglot.hartati.se/ms/opsmgr2007/linux-discovery-not-enough-entropy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>(re)Gain sysadmin access to SQL2005 or SQL2008</title>
		<link>http://teknoglot.hartati.se/ms/sql2008/regain-sysadmin-access-to-sql2005-or-sql2008/</link>
		<comments>http://teknoglot.hartati.se/ms/sql2008/regain-sysadmin-access-to-sql2005-or-sql2008/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 13:08:10 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/?p=239</guid>
		<description><![CDATA[In SQL Server 2005 and 2008 the local Administrators account is not sysadmin by default. This makes it even more important that the one setting up the Database also remembers to add a SQL Server admins group to the sysamin role. If this step is forgotten, the user installing the database server is the only [...]]]></description>
			<content:encoded><![CDATA[<p>In SQL Server 2005 and 2008 the local Administrators account is not sysadmin by default. This makes it even more important that the one setting up the Database also remembers to add a SQL Server admins group to the sysamin role. If this step is forgotten, the user installing the database server is the only one that will ever be sysadmin.</p>
<p>In some extreme cases I’ve seen situations where no one except some dude on vacation is sysadmin and there’s a bunch of applications that needs to be installed/upgraded. In these cases I have also been assigned Local Administrator rights on the server, but since the local Administrators group isn’t sysadmin either I still cannot login to the SQL server.    <br />What to do!?</p>
<p>Thanks to <a href="http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx">Raul Carcia’s blog post</a> it’s not that a big deal. The instructions is written for SQL Server 2005, but works equally fine on SQL Server 2008 and the only requirement is that you are a local server administrator.     <br />Here’s what to do:</p>
<ol>
<li>Open the <em>SQL Server Configuration Manager.</em> </li>
<li>In <em>SQL Server Services</em>, open the properties for the SQL Server instance you need access to. </li>
<li>In the <em>Advanced</em> tab, locate <em>Startup Parameters</em>. </li>
<li>Add “;-m” to the end of that line. </li>
<li>Press OK and restart the SQL Server into “Maintenance Mode” or “Single User Mode” if you like. (check that a restart is OK first <img src='http://teknoglot.hartati.se/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) </li>
<li>Open a command prompt (right-click, “Run as Administrator” in Windows 2008) and go to C:\Program Files\Microsoft SQL Server\100\Tools\Binn\      <br /><font size="1">(C:\Program Files\Microsoft SQL Server\90\Tools\Binn\ for SQL2005</font>) </li>
<li>Execute <font face="Courier New" color="#004000">sqlcmd –E –Sadmin:&lt;instancename&gt;</font> (use . for local default instance) </li>
<li>In the CLI, execute:      <br /><font face="Courier New" color="#004000">EXEC sp_addsrvrolemember &#8216;DOMAIN\yourusername&#8217;, &#8217;sysadmin&#8217;;        <br />GO</font> </li>
<li>Return to the <em>SQL Server Configuration Manager</em> and restore the <em>Startup Parameters</em> to it’s previous settings. </li>
<li>Restart the SQL Server instance to allow users to access it again. </li>
</ol>
<p>Now, you should be able to login to the SQL server with sysadmin rights using your current user. This would also be a good point in time to actually establish a SQL Server Admins group (local or domain) to add to the sysadmin role to avoid having others to the above steps when you, yourself, happens to be on vacation. <img src='http://teknoglot.hartati.se/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>As Raul Carcia point out in his original post, this is really a disaster recovery procedure and there’s definitely nothing sneaky about it since it leaves quite alot of trails in the event logs.</p>
<p>All in all, a Great article by <a href="http://blogs.msdn.com/raulga/">Raul</a> and all credit should go his way.</p>
]]></content:encoded>
			<wfw:commentRss>http://teknoglot.hartati.se/ms/sql2008/regain-sysadmin-access-to-sql2005-or-sql2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Updated: MP for System Center Configurations Manager 2007 SP2 on x64</title>
		<link>http://teknoglot.hartati.se/ms/opsmgr2007/updated-mp-for-system-center-configurations-manager-2007-sp2-on-x64/</link>
		<comments>http://teknoglot.hartati.se/ms/opsmgr2007/updated-mp-for-system-center-configurations-manager-2007-sp2-on-x64/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 11:13:00 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[OpsMgr 2007]]></category>
		<category><![CDATA[Management Pack]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/ms/opsmgr2007/updated-mp-for-system-center-configurations-manager-2007-sp2-on-x64/</guid>
		<description><![CDATA[Microsoft has released an updated MP for SCCM SP2 (v6.0.6000.2, released on 10/28/2009) for OpsMgr R2.
The update basically contains support for x64 that was missin in the previous release.
The Configuration Manager 2007 SP2 Management Pack adds support for monitoring Configuration Manager 2007 SP2 in a 64-bit environment with Operations Manager 2007 R2 or Operations Manager [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has released an updated <acronym title="Management Pack">MP</acronym> for <acronym title="System Center Configurations Manager">SCCM </acronym>SP2 (v6.0.6000.2, released on 10/28/2009) for OpsMgr R2.</p>
<p>The update basically contains support for x64 that was missin in the previous release.</p>
<blockquote><p>The Configuration Manager 2007 SP2 Management Pack adds support for monitoring Configuration Manager 2007 SP2 in a 64-bit environment with Operations Manager 2007 R2 or Operations Manager 2007 SP1 with hotfix (KB971541) installed. This enables the Configuration Manager 2007 SP2 Management Pack to work with either the 32-bit or the 64-bit Operations Manager 2007 agent. <font color="#800000">Except for the 64-bit support, the other features and guidance for Configuration Manager 2007 Management Packs remain intact</font>.</p>
</blockquote>
<p><font size="1">(coloration added by me)</font></p>
<p>Read more and download here:    <br /><a title="http://www.microsoft.com/downloads/details.aspx?FamilyID=a8443173-46c2-4581-b3b8-ce67160f627b" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=a8443173-46c2-4581-b3b8-ce67160f627b">http://www.microsoft.com/downloads/details.aspx?FamilyID=a8443173-46c2-4581-b3b8-ce67160f627b</a></p>
]]></content:encoded>
			<wfw:commentRss>http://teknoglot.hartati.se/ms/opsmgr2007/updated-mp-for-system-center-configurations-manager-2007-sp2-on-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing SQL Reporting Services 2005 on Windows 2008 x64</title>
		<link>http://teknoglot.hartati.se/ms/opsmgr2007/installing-sql-reporting-services-2005-on-windows-2008-x64/</link>
		<comments>http://teknoglot.hartati.se/ms/opsmgr2007/installing-sql-reporting-services-2005-on-windows-2008-x64/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 13:33:27 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[OpsMgr 2007]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/ms/opsmgr2007/installing-sql-reporting-services-2005-on-windows-2008-x64/</guid>
		<description><![CDATA[Let’s say you have followed this guide: http://support.microsoft.com/kb/938245/
Still not working? The one thing I forgot, or rather did not find in any of the guides, was to change the website application pool to “Classic .NET AppPool”. It is actually noted in KB938245 but only after the installation, during the configuration. For some reason I have [...]]]></description>
			<content:encoded><![CDATA[<p>Let’s say you have followed this guide: <a title="http://support.microsoft.com/kb/938245/" href="http://support.microsoft.com/kb/938245/">http://support.microsoft.com/kb/938245/</a></p>
<p>Still not working? The one thing I forgot, or rather did not find in any of the guides, was to change the website application pool to “Classic .NET AppPool”. It is actually noted in <a href="http://support.microsoft.com/kb/938245/">KB938245</a> but only after the installation, during the configuration. For some reason I have not been able to install Reporting Services 2005 on Windows 2008 without changing this prior to the installation.</p>
<p>Maybe I am doing it wrong but this seems to be working all right for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://teknoglot.hartati.se/ms/opsmgr2007/installing-sql-reporting-services-2005-on-windows-2008-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot Delete Files with Long Paths?</title>
		<link>http://teknoglot.hartati.se/ms/cannot-delete-files-with-long-paths/</link>
		<comments>http://teknoglot.hartati.se/ms/cannot-delete-files-with-long-paths/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 08:39:17 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[KB]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/?p=171</guid>
		<description><![CDATA[What do you do when you cannot delete a file or folder on a windows server?
Check the file permissions! And if that doesn’t help?
Check the share permissions! Yes, if it is a shared folder. And if that doesn’t help?
Check the file ownership! Great! But then what?
Well, the file could be in use, and then you [...]]]></description>
			<content:encoded><![CDATA[<p>What do you do when you cannot delete a file or folder on a windows server?</p>
<p>Check the file permissions! And if that doesn’t help?</p>
<p>Check the share permissions! Yes, if it is a shared folder. And if that doesn’t help?</p>
<p>Check the file ownership! Great! But then what?</p>
<p>Well, the file could be in use, and then you would have to shut the locking process down and perhaps kick a user out. In a really bad scenario it could also be a symptom of a broken filesystem, a reserved filename (like “lpt1” or “PRN”) or even an invalid name (silly things like a space in the beginning or the end of a filename).   <br />Another possible reason could actually be that the path to the file or folder is too long. You won’t actually get an error telling you that the filepath exceeds the 255 characters Windows can handle but a simple “Acces Denied”.</p>
<p>There are some, more or less tedious, work-arounds for the problem. Like renaming, starting from the root, all the directories to shorter ones or using the old DOS (8.3, like “dokume~1.doc”) names that windows can auto-generate for you. Personally, I have two favourite ways of handling this.</p>
<ol>
<li>Map the parent-directory of the file/folder you are trying to access/delete as a network drive and access your files that way.     <br />This is particularly useful if the folder you are trying to access a <acronym title="Distributed File System">DFS</acronym>-share or perhaps a share on the central fileserver filepaths like “\\servername01\Central Projects\Central Services\IT Department\Develop Methods for Automatically Deploying New Central Servers\2.2.1 Auto-Deploying SQL-Server 2005 Cluster\Documents\Preparations\Whitepapers\SQL Server 2005 Failover Clustering White Paper.doc”</li>
<li>Create a new share to a folder further down the hierarchy. This works locally too if you are logged on to, say, SRV01, you create a new share on “D:\Fileshares\Central Projects\Central Services\IT Department\Develop Methods for Automatically Deploying New Central Servers\” called “Autodeploymethods” and access it from “\\SRV01\Autodeploymethods\”. That way the filepath doesn’t exceed 255 characters.</li>
</ol>
<p>Now. When designing fileservers, you really should think about how deep the filepaths may get. This is especially true on DFS-shares since you might have to deal with the full <acronym title="Fully Qualified Domain Name">FQDN</acronym> too, and not only the actual folder structure. Many big corporations I know uses “codes” for departments and assign a project ID (quite simply a number or maybe an abbreviation) to each project and uses theese for the fileshares too. Another scenario that could lead to similar problems are intranet sites where users can create and manage their own subsites and where filenames and folders are not stored in a database.</p>
<p>I have only seen this phenomena on Windows systems so far, and I’ve actually used a linux Live-CD on occasion when admin access is denied.</p>
<blockquote><p>Read More:     <br /><a href="http://support.microsoft.com/kb/320081">http://support.microsoft.com/kb/320081</a></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://teknoglot.hartati.se/ms/cannot-delete-files-with-long-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Adds support for SUSE 11 in OpsMgr R2</title>
		<link>http://teknoglot.hartati.se/ms/opsmgr2007/microsoft-adds-support-for-suse-11-in-opsmgr-r2/</link>
		<comments>http://teknoglot.hartati.se/ms/opsmgr2007/microsoft-adds-support-for-suse-11-in-opsmgr-r2/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 06:59:10 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[OpsMgr 2007]]></category>
		<category><![CDATA[Management Pack]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[SUSE 11]]></category>
		<category><![CDATA[X-Plat]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/ms/opsmgr2007/microsoft-adds-support-for-suse-11-in-opsmgr-r2/</guid>
		<description><![CDATA[This update hasn’t showed up in the MP Catalog yet, but the System Center Operations Manager 2007 R2 Cross Platform Update can be downloaded here.
Besides SUSE 11 support, here’s the short overview.
The System Center Operations Manager 2007 R2 Cross Platform Update adds fixes for a defunct process issue on Unix/Linux Servers, as well as, adds [...]]]></description>
			<content:encoded><![CDATA[<p>This update hasn’t showed up in the <acronym title="Management Pack">MP</acronym> Catalog yet, but the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=4a41a8be-0a37-4bd2-b5b1-026468b317fb">System Center Operations Manager 2007 R2 Cross Platform Update can be downloaded here</a>.</p>
<p>Besides SUSE 11 support, here’s the short overview.</p>
<blockquote><p>The System Center Operations Manager 2007 R2 Cross Platform Update adds fixes for a defunct process issue on Unix/Linux Servers, as well as, adds support for SUSE Linux Enterprise Server 11 (both 32-bit and 64-bit versions) and Solaris Zone support.      <br /><b>Feature Summary:</b>       <br />The System Center Operations Manager 2007 R2 Cross Platform Update supports the monitoring of Unix/Linux Servers including: </p>
<ul>
<li>Monitoring of SUSE Linux Enterprise Server 11 servers (both 32-bit and 64-bit versions) </li>
<li>Support of Solaris Zones </li>
<li>Fix for defunct Process issue </li>
<li>The Cross Platform Agent may not discover soft partitions on Solaris systems. Therefore, the disk provider may be unloaded, and the Cross Platform Agent may stop collecting information from the system disks. </li>
<li>The Cross Platform Agent may not restart after the AIX server reboots. </li>
</ul>
<p>The latest versions of all the Operations Manager 2007 R2 Unix/Linux agents are included in this update.</p>
</blockquote>
<p>Perfect timing, I must say, since I really need this today. <img src='http://teknoglot.hartati.se/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><em><strong>Update:</strong></em>    <br />This is no small MP-update, which probably is the reason that we do not find it in the MP Catalog, but a ~250MB OpsMgr R2 Software Update. You need to run this on all Operations Manager Servers (RMS/MS, GW?) since it actually updates many of the agent Cross Platform binaries. It does add a new MP för SUSE 11 that you have to import from disk if you need it.</p>
<p>So, the installation goes somewhat like this:</p>
<ol>
<li>Install the Software Update (pick the right Architecture) on all OpsMgr R2 Servers</li>
<li>Import the SUSE 11 MP if necessary</li>
<li>Re-discover your Unix/Linux machines.</li>
</ol>
<p>Files updated in this update for R2:</p>
<ul>
<li>.\Microsoft.Enterprisemanagement.UI.Administration.dll (Version 6.1.7043.1)</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.aix.5.ppc.lpp.gz</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.aix.6.ppc.lpp.gz</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.hpux.11iv2.ia64.depot.Z</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.hpux.11iv2.parisc.depot.Z</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.hpux.11iv3.ia64.depot.Z</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.hpux.11iv3.parisc.depot.Z</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.rhel.4.x64.rpm</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.rhel.4.x86.rpm</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.rhel.5.x64.rpm</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.rhel.5.x86.rpm</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.sles.10.x64.rpm</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.sles.10.x86.rpm</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.sles.9.x86.rpm</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.solaris.10.sparc.pkg.Z</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.solaris.10.x86.pkg.Z</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.solaris.8.sparc.pkg.Z</li>
<li>.\AgentManagement\UnixAgents\scx-1.0.4-248.solaris.9.sparc.pkg.Z</li>
</ul>
<p>Files added:</p>
<ul>
<li>Microsoft.Linux.SLES.11.MP</li>
</ul>
<p>All in all, the update contains the following fixes:</p>
<ul>
<li>KB969342</li>
<li>KB973583</li>
<li>Q954049</li>
<li>Q956240</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://teknoglot.hartati.se/ms/opsmgr2007/microsoft-adds-support-for-suse-11-in-opsmgr-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Health Rollup not working in Exchange Management Pack</title>
		<link>http://teknoglot.hartati.se/ms/opsmgr2007/health-rollup-not-working-in-exchange-management-pack/</link>
		<comments>http://teknoglot.hartati.se/ms/opsmgr2007/health-rollup-not-working-in-exchange-management-pack/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 11:17:08 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[OpsMgr 2007]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Management Pack]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[TechNet]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/ms/opsmgr2007/health-rollup-not-working-in-exchange-management-pack/</guid>
		<description><![CDATA[I’ve wrestled a bit with a critical status on one of the Organization States at a clients site that wont go back to green despite all the underlying monitors have gone back to green. And apparently I am not alone on this one. Others, like me, has read and re-read the MP-guide i search for [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve wrestled a bit with a critical status on one of the Organization States at a clients site that wont go back to green despite all the underlying monitors have gone back to green. And apparently I am not alone on this one. Others, like me, has read and re-read the MP-guide i search for a monitor/rule/discovery for overrides forgotten, and I don’t know how many times I’ve made a small change and tried resetting the health once again. Anyhow.   <br /><a href="http://social.technet.microsoft.com/Profile/en-US/?user=Marius%20Sutara&amp;referrer=http%3a%2f%2fsocial.technet.microsoft.com%2fForums%2fen-US%2foperationsmanagergeneral%2fthread%2f6ad11b81-3304-40db-ae47-0f36add6e1e1&amp;rh=EQRzBI2S0js0uB72HghHQFW%2bBWkNhiVEQ9pGFs3h9c0%3d&amp;sp=forums">Marius Sutara</a> posted an <a href="http://social.technet.microsoft.com/Forums/en-US/operationsmanagergeneral/thread/6ad11b81-3304-40db-ae47-0f36add6e1e1">answer on TechNet forums</a> last week with a “fix” (-ish), or rather the acknowledgement that the problem is not a <acronym title="AKA. Human Error, 40cm from the screen">40c</acronym>. The problem might be related to other MP as well, but I’ve only seen it on the new Exchange MP so far. In that same post, Pete Zerger provided some links to two nifty little tools that will help you reset the health of the monitor.</p>
<p>In case you wonder why on earth I post when there’s allready a “solution” out there; Pagerank, baby!   <br />Not for me, but for the forum post making it show up earlier on google.</p>
]]></content:encoded>
			<wfw:commentRss>http://teknoglot.hartati.se/ms/opsmgr2007/health-rollup-not-working-in-exchange-management-pack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated: Operations Manager 2007 R2 Management Pack</title>
		<link>http://teknoglot.hartati.se/ms/opsmgr2007/updated-operations-manager-2007-r2-management-pack/</link>
		<comments>http://teknoglot.hartati.se/ms/opsmgr2007/updated-operations-manager-2007-r2-management-pack/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 10:29:00 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[OpsMgr 2007]]></category>
		<category><![CDATA[Management Pack]]></category>
		<category><![CDATA[OpsMgr]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/ms/opsmgr2007/updated-operations-manager-2007-r2-management-pack/</guid>
		<description><![CDATA[Microsoft released an updated MP (v6.1.7533.0, released on 10/8/2009) for monitoring the health the Operations Manager components.
Most significant updates, according to me, would seem to be:
Fixed an issue that was previously preventing all rules related to agentless exception monitoring from generating alerts.

Added the rule “Collects Opsmgr SDK Service\Client Connections” to collect the number of connected [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft released an updated <acronym title="Management Pack">MP</acronym> (v6.1.7533.0, released on 10/8/2009) for monitoring the health the Operations Manager components.</p>
<p>Most significant updates, according to me, would seem to be:</p>
<blockquote><p>Fixed an issue that was previously preventing all rules related to agentless exception monitoring from generating alerts.</p>
</blockquote>
<blockquote><p>Added the rule “Collects Opsmgr <acronym title="Software Development Kit">SDK</acronym> Service\Client Connections” to collect the number of connected clients for a given management group. This data is shown in the view “Console and SDK Connection Count” under the folder “Operations Manager\Management Server Performance”.</p>
</blockquote>
<blockquote><p>Updated a number of monitors and rules to ensure that data is reported to the correct management group for multihomed agents.</p>
</blockquote>
<blockquote><p>Fixed the configuration of the rule “IIS Discovery Probe Module Execution Failure” to so that the parameter replacement will now work correctly for alert suppression and generating the details of the alert’s description.</p>
</blockquote>
<p>The rest is mostly polishing, fine-tuning and complementary updates. Nothing really ground-breaking here, but still a welcome update.</p>
<p>Download at: <a title="http://www.microsoft.com/downloads/details.aspx?FamilyID=61365290-3c38-4004-b717-e90bb0f6c148" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=61365290-3c38-4004-b717-e90bb0f6c148">http://www.microsoft.com/downloads/details.aspx?FamilyID=61365290-3c38-4004-b717-e90bb0f6c148</a></p>
]]></content:encoded>
			<wfw:commentRss>http://teknoglot.hartati.se/ms/opsmgr2007/updated-operations-manager-2007-r2-management-pack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL ManagementPack Survey &#8211; Make your voice heard</title>
		<link>http://teknoglot.hartati.se/ms/opsmgr2007/sql-managementpack-survey-make-your-voice-heard/</link>
		<comments>http://teknoglot.hartati.se/ms/opsmgr2007/sql-managementpack-survey-make-your-voice-heard/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 13:24:37 +0000</pubDate>
		<dc:creator>Sam T</dc:creator>
				<category><![CDATA[OpsMgr 2007]]></category>
		<category><![CDATA[Management Pack]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://teknoglot.hartati.se/ms/opsmgr2007/sql-managementpack-survey-make-your-voice-heard/</guid>
		<description><![CDATA[According to the OpsMgr Team blog, Microsoft wants to know what you think about their SQL Server MP. It’s really hard to come by a better opportunity to express your feelings and desires about monitoring SQL Server, so don’t miss this one out.
http://blogs.technet.com/momteam/archive/2009/09/25/sql-management-pack-survey-live-on-connect.aspx
]]></description>
			<content:encoded><![CDATA[<p>According to the <a href="http://blogs.technet.com/momteam/archive/2009/09/25/sql-management-pack-survey-live-on-connect.aspx">OpsMgr Team blog</a>, Microsoft wants to know what you think about their SQL Server MP. It’s really hard to come by a better opportunity to express your feelings and desires about monitoring SQL Server, so don’t miss this one out.</p>
<p><a title="http://blogs.technet.com/momteam/archive/2009/09/25/sql-management-pack-survey-live-on-connect.aspx" href="http://blogs.technet.com/momteam/archive/2009/09/25/sql-management-pack-survey-live-on-connect.aspx">http://blogs.technet.com/momteam/archive/2009/09/25/sql-management-pack-survey-live-on-connect.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://teknoglot.hartati.se/ms/opsmgr2007/sql-managementpack-survey-make-your-voice-heard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
