<?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>www.annoying.dk &#187; Uncategorized</title>
	<atom:link href="http://www.annoying.dk/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.annoying.dk</link>
	<description>yet another useless blog</description>
	<lastBuildDate>Wed, 14 Apr 2010 09:00:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Option to pxe/nic boot for hp blade is gone</title>
		<link>http://www.annoying.dk/2010/03/15/option-to-pxenic-boot-for-hp-blade-is-gone/</link>
		<comments>http://www.annoying.dk/2010/03/15/option-to-pxenic-boot-for-hp-blade-is-gone/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 11:39:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[465c]]></category>
		<category><![CDATA[blade]]></category>
		<category><![CDATA[boot order]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[ilo]]></category>
		<category><![CDATA[ipl]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[pxe]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=102</guid>
		<description><![CDATA[Suddenly a HP DL465c blade that were running Citrix Xenapp never came online after a weekly scheduled reboot. it turned out that it wasnt able to boot via. PXE anymore.. Checking the Onboard Administrator revealed that &#8220;IPL Device&#8221; Boot ordre was missing the PXE NIC 1 method. However, the &#8220;One Time Boot From&#8221; still had [...]]]></description>
			<content:encoded><![CDATA[<p>Suddenly a HP DL465c blade that were running Citrix Xenapp never came online after a weekly scheduled reboot. it turned out that it wasnt able to boot via. PXE anymore..</p>
<p><span id="more-102"></span>Checking the Onboard Administrator revealed that &#8220;IPL Device&#8221; Boot ordre was missing the PXE NIC 1 method. However, the &#8220;One Time Boot From&#8221; still had it listed (didnt work tho)</p>
<p>And the bios configuration was identical to rest of my blades. Testing with both NIC1/NIC2 as PXE bootable didnt change anything.</p>
<p>After a little search at google, i found this <a href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01072573&amp;lang=en&amp;cc=us&amp;taskId=101&amp;prodSeriesId=1842750&amp;prodTypeId=15351" target="_blank">article</a> descripting smiliar problem &#8211; only problem is the date of the article/bios update (i got a newer bios date)</p>
<p>I decided to try the latest bios update that was available for 465c. Still no luck..</p>
<p>After calling HP support, it turns out that one of the reasons for this problem could be a difference between the blades servers bios rom, iLO firmware versions</p>
<p>as in, if your blade servers in the enclosure contains different versions(eg. you recently installed a new blade, which has a newer iLO firmware version) it could</p>
<p>cause problems for the onboard administrator. And since i recently had installed a new blade, it would make a little sense.</p>
<p>HP advised me to first upgrade all the blades <a title="Firmware Deployment update 1.70" href="http://h18004.www1.hp.com/products/blades/components/c-class.html#tab3_content" target="_blank">(link)</a> followed by <a title="Onboard Administrator 2.60" href="http://h18004.www1.hp.com/products/blades/components/c-class.html#tab3_content">(link)</a> which upgrades the Onboard administrator to 2.60</p>
<p>In my case, the problem was solved already by upgrading the one servers rom and ilo firmware as the only thing. but i&#8217;m still going to upgade everything as planned</p>
<p>just in case.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2010/03/15/option-to-pxenic-boot-for-hp-blade-is-gone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office 2007 Roaming QAT Quick Access Toolbar</title>
		<link>http://www.annoying.dk/2010/02/18/office-2007-roaming-qat-quick-access-toolbar/</link>
		<comments>http://www.annoying.dk/2010/02/18/office-2007-roaming-qat-quick-access-toolbar/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 09:35:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[lost]]></category>
		<category><![CDATA[office 2007]]></category>
		<category><![CDATA[profiles]]></category>
		<category><![CDATA[qat]]></category>
		<category><![CDATA[quick access]]></category>
		<category><![CDATA[quick access toolbar]]></category>
		<category><![CDATA[roaming]]></category>
		<category><![CDATA[settings]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=100</guid>
		<description><![CDATA[In our setup i am using roaming profiles in my Citrix XenApp setup since users are load balanced over multiple xenapp servers. And this time i really thought that i had done everything i could do for the end users (preserving their data,settings etc) but once again &#8211; i were wrong. It seems that if [...]]]></description>
			<content:encoded><![CDATA[<p>In our setup i am using roaming profiles in my Citrix XenApp setup since users are load balanced over multiple xenapp servers. And this time i really thought that i had done everything i could do for the end users (preserving their data,settings etc) but once again &#8211; i were wrong.</p>
<p>It seems that if you use the quick access toolbar in eg. Word, those settings will be appended to <em><strong>C:\Users\john\AppData\Local\Microsoft\Office\word.qat</strong></em> (etc)</p>
<p>which is <strong>local</strong> and not <strong>roaming</strong> &#8211; and therefore wont be updated on your UserProfiles network share.</p>
<p><span id="more-100"></span></p>
<p>as far as google told me, theres no fancy gpo or registry setting that can change the path of where to store the qat files.</p>
<p>and redirecting the Applications\&#8230; folder can work, but often runs into conflicts with other apps or updates that don&#8217;t seem to like<br />
it &#8216;moved&#8217;, so it&#8217;s side effects can outweigh its benefits.</p>
<p>So, the easiest way to solve this little problem, is to use the Logon/Logoff gpo (User Configuration &#8211; Policies &#8211; Windows Settings &#8211; Scripts (Logon/Logoff)</p>
<p>In the Logoff Properties, add your newly created <strong>saveqat.bat</strong> which contains the following</p>
<blockquote><p>SET target=%APPDATA%\Microsoft\Office<br />
SET source=%USERPROFILE%\Local Settings\Application Data\Microsoft\Office</p>
<p>IF NOT EXIST &#8220;%target%&#8221; MD &#8220;%target%&#8221;</p>
<p>copy &#8220;%source%\*.qat&#8221; &#8220;%target%&#8221;</p></blockquote>
<p>And in the Logon properties, add <strong>loadqat.bat</strong></p>
<blockquote><p>SET source=%APPDATA%\Microsoft\Office<br />
SET target=%USERPROFILE%\Local Settings\Application Data\Microsoft\Office</p>
<p>IF NOT EXIST &#8220;%target%&#8221; MD &#8220;%target%&#8221;</p>
<p>copy &#8220;%source%\*.qat&#8221; &#8220;%target%&#8221;</p></blockquote>
<p>Now your probem should be solved &#8211; your qat files will be copied along with your roaming profile, and copied back, and the user settings will be preserved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2010/02/18/office-2007-roaming-qat-quick-access-toolbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pleasing your mac mini to eject your dvd</title>
		<link>http://www.annoying.dk/2010/02/16/pleasing-your-mac-mini-to-eject-your-dvd/</link>
		<comments>http://www.annoying.dk/2010/02/16/pleasing-your-mac-mini-to-eject-your-dvd/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 18:55:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[drive]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[eject]]></category>
		<category><![CDATA[imgburn]]></category>
		<category><![CDATA[mac mini]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=95</guid>
		<description><![CDATA[First off, theres a million ways to eject the dvd drive if its stuck, so go google if this article isnt enough for you. ive been all the way around from pressing multiple keys at boot up, clicking the left mouse button, etc etc etc. and since im using Windows 7 (go hate on me [...]]]></description>
			<content:encoded><![CDATA[<p>First off, theres a million ways to eject the dvd drive if its stuck, so go google if this article isnt enough for you.</p>
<p>ive been all the way around from pressing multiple keys at boot up, clicking the left mouse button, etc etc etc.</p>
<p>and since im using Windows 7 (go hate on me mac fanboys) i can´t use various os x ways.</p>
<p>anyway, when trying to eject your cd/dvd from windows, it pops up with a message i forgot all about (some weird error) and its just impossible to eject it.</p>
<p><span id="more-95"></span>i actually had to dissamble the dvd and pull it out manually one time where i had exchanged the drive with a brand new intel ssd (pressing F12 and holding it down while turning on the mac worked, but after i accidently inserted the leopard dvd, it refused afterwards and ignored F12)</p>
<p>Anyway, heres the little trick i found out about. &#8211; use ImgBurn!</p>
<p><a href="http://www.annoying.dk/wp-content/uploads/2010/02/eject.png"><img class="alignnone size-medium wp-image-96" title="eject" src="http://www.annoying.dk/wp-content/uploads/2010/02/eject-300x209.png" alt="" width="300" height="209" /></a></p>
<p>simply press the eject button, and magic will happen. the fun thing about this, is if you select Tools &#8211; Drive &#8211; Eject &#8211; it will fail the same way if it was done though Windows.</p>
<p>anyway, if anyone got an explanation on this, please feel free to share your knowledge.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2010/02/16/pleasing-your-mac-mini-to-eject-your-dvd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshooting Pass-through authentication with Citrix XenApp</title>
		<link>http://www.annoying.dk/2010/02/02/troubleshooting-pass-through-authentication-with-citrix-xenapp/</link>
		<comments>http://www.annoying.dk/2010/02/02/troubleshooting-pass-through-authentication-with-citrix-xenapp/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 14:29:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[logon]]></category>
		<category><![CDATA[pass-though-pass though]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[prompting]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=82</guid>
		<description><![CDATA[This is just a quick post while i remember what ive done to solve the problem, i&#8217;ve spent quite amount of time troubleshooting this issue and if i get the time, i will update it later on. In my previous post, i talked about running the ica client in the userlogon script, making it possible [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a quick post while i remember what ive done to solve the problem, i&#8217;ve spent quite amount of time troubleshooting this issue</p>
<p>and if i get the time, i will update it later on.</p>
<p><span id="more-82"></span></p>
<p>In my previous post, i talked about running the ica client in the userlogon script, making it possible to open files from explorer with a streamed application.</p>
<p>in this case, it would be nice to use Pass-Though Authentication so the user dont get prompted twice for logon credentials.</p>
<p>so i started playing around with it &#8211; actually spent way to many hours on something that should be pretty straight forward.</p>
<p>one of the first things one should do, is to reinstall the ica client as admin with the correct options like</p>
<blockquote><p>CitrixOnlinePluginFull.exe /silent SERVER_LOCATION=&#8221;http://10.20.30.40:81&#8243; ADDLOCAL=&#8221;ICA_Client,PN_Agent,SSON&#8221; ENABLE_SSON=&#8221;Yes&#8221;</p></blockquote>
<p>so heres a short list of stuff to check (feel free to comment if theres more)</p>
<ul>
<li>Add the ica client adminstrative template for the domain and enabled pass-though &amp; Local username password</li>
<li>Checked the reg key for NetworkProvider/Order (Citrix single-SignOn needs to be in top)</li>
<li>Checked that pass-though was enabled and set to default on the XenWeb servers under PNAgent service site/Config.xml</li>
<li>Check that SSOnUserSetting=On in &#8220;UserProfiles\userxxx\AppData\Roaming\ICAClient\APPSRV.ini&#8221; and not Off</li>
</ul>
<p>In my case none of the above worked, and a few days after i found this <a href="http://support.citrix.com/article/CTX123686" target="_self">article</a>. with a hotfix that should solve the problem</p>
<blockquote><p>Pass-through authentication is not available when accessing a published application from within a published desktop on XenApp 5.0 servers. The user is required to provide valid credentials to launch a session within the desktop session even when pass-through authentication is enabled in the XenApp Plugin.</p></blockquote>
<p>Another possible workaround is to enable GPO &#8211; Computer Configuration\Administrative Templates\System\Credentials Delegation</p>
<p>&#8220;Allow Delegating Default Credentials&#8221; &#8211; set it to Enable, leave &#8220;Concatenate OS defaults with input above&#8221; checked, and click &#8220;Show&#8230;&#8221;</p>
<div>Add the name of your WI/PNA server and click OK.</div>
<div></div>
<div>After reinstalling the client on my own machine as local administrator &#8211; it worked, it got the option to choose Pass-Though auth under Logon mode in the ica client.</div>
<div>what exactly did it i cant remember, since my goal was to get the client working ON the xenapp server (running win2k8 64bit)</div>
<div>but i just cant manage to get SsonSvr.exe running. so until futher notice, this problem is not solved.</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2010/02/02/troubleshooting-pass-through-authentication-with-citrix-xenapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling Citrix users to launch streamed applications from within published explorer.</title>
		<link>http://www.annoying.dk/2010/02/02/enabling-citrix-users-to-launch-streamed-applications-from-within-published-explorer/</link>
		<comments>http://www.annoying.dk/2010/02/02/enabling-citrix-users-to-launch-streamed-applications-from-within-published-explorer/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 13:56:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[associations]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[ica]]></category>
		<category><![CDATA[profiled]]></category>
		<category><![CDATA[streamed]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=86</guid>
		<description><![CDATA[Scenario -&#62; 1) Explorer.exe is published for your users to use (browsing shared folders, private folders, etc) 2) Main part of Office 2007 is installed locally on your golden XenApp image (win2k8) 3) A few applications like Visio, OneNote, Project are profiled and streamed to server Now when a user launches Explorer, and tries to [...]]]></description>
			<content:encoded><![CDATA[<p>Scenario -&gt;</p>
<p>1) Explorer.exe is published for your users to use (browsing shared folders, private folders, etc)</p>
<p>2) Main part of Office 2007 is installed locally on your golden XenApp image (win2k8)</p>
<p>3) A few applications like Visio, OneNote, Project are profiled and streamed to server</p>
<p><span id="more-86"></span></p>
<p>Now when a user launches Explorer, and tries to open a Visio project, it appears as Visio is not installed (no file associations) &#8211; now i think about it, it would probably also</p>
<p>be a problem if the user tries to open an attachment from outlook.</p>
<p>This happends cause its a streamed to server application, and cant be seen by the xenapp server it self,unless its actually logged on to a profile with the appropriate access to the published resources)</p>
<p>as far as i can tell, theres not yet any smart way to solve this problem, a temporary solution until Citrix figures something out is to run the ICA client a second time when</p>
<p>the user logs on (letting it run on the xenapp server)</p>
<p>for this to work theres a few things we need to do.</p>
<p>in your UserLogon.cmd script for your AD users, add</p>
<blockquote><p>Cmd /C &#8220;C:\Program Files (x86)\Citrix\ICA Client\pnagent.exe&#8221;</p></blockquote>
<p>just remember to change the path if its located somewhere else.&#8217;</p>
<p>On your XenApp servers add the following registry entries to prevent the ica client from hanging on the server after user logs off</p>
<blockquote><p>Path: HKLM\System\CurrentControlSet\Control\Citrix\wfshell\TWI<br />
Value Name: LogoffCheckSysModules<br />
Type: REG_SZ<br />
String: pnamain.exe</p></blockquote>
<p>Now fire up Streaming Profiler and get ready to edit your already profiled applications.</p>
<p>After its opened, browse to (Target Properties &#8211; Applications &#8211; Modify)</p>
<p>Under &#8220;Command line parameters &#8211; Optional) Add 2 asterisks (**) and save your profile again.</p>
<p>in AMC open up all your published profiled applications and go to Content redirection</p>
<p>here you need to check &#8220;Show all available file types for this application&#8221; And Select all the extensions you want to use.</p>
<p>Now, when the user logs on, he will see the ica client again, and after logging on, he should be able to browse and open documents though Explorer with streamed applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2010/02/02/enabling-citrix-users-to-launch-streamed-applications-from-within-published-explorer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Troubleshooting keyboard layout/language settings in a citrix environment.</title>
		<link>http://www.annoying.dk/2010/02/02/troubleshooting-keyboard-layoutlanguage-settings-in-a-citrix-environment/</link>
		<comments>http://www.annoying.dk/2010/02/02/troubleshooting-keyboard-layoutlanguage-settings-in-a-citrix-environment/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 13:32:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=84</guid>
		<description><![CDATA[In this setup, i had a mix of normal pc&#8217;s and a bunch of new mac (airbooks) which ran both snow leopard and Windows 7. It started out with the some users complaining about their danish published office applications switched to using US keyboard layout and naturally i started testing (logged on with same user [...]]]></description>
			<content:encoded><![CDATA[<p>In this setup, i had a mix of normal pc&#8217;s and a bunch of new mac (airbooks) which ran both snow leopard and Windows 7.</p>
<p>It started out with the some users complaining about their danish published office applications switched to using US keyboard layout</p>
<p>and naturally i started testing (logged on with same user account) and found no issues at all. We tested a bit, playing around with the language bar</p>
<p>and the local region settings, and we found out that on the airbooks, on windows 7, it had 2 keyboard layouts installed (da-dk, and danish-apple)</p>
<p><span id="more-84"></span></p>
<p>and after removing it, setting danish as the default, it seemed to have solved the problem.</p>
<p>a week later, it all started over again (cant remember why) and this time, it would always default back to US keyboard (only way to shift was using ALT+SHIFT) since i&#8217;ve hidden the language bar.</p>
<p>but every time the user logged out of and profile was saved &#8211; it went straight back to the old us layout.</p>
<p>This was only related to the machines running Mac with Windows installed, and after a bit of research i found out that its actually defaulting back to us layout</p>
<p>cause the terminal server allows the remote user keyboard to decide what layout to use. &#8211; ignoring the users last used setting.</p>
<p>its actually a nice feature, but of course in this situation i cant live with it &#8211; and i see this as a temporary solution until i figure out another way of dealing with it.</p>
<blockquote style="text-align: left;"><p>1.    On the terminal server (XenApp server), click Start, click Run, type regedit, and then click OK.<br />
2.    Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout<br />
3.    On the Edit menu, click Add Value, and then add the following registry information:</p>
<p>Value name: IgnoreRemoteKeyboardLayout<br />
Data type: REG_DWORD<br />
Value data: 1</p>
<p>4. Quit Registry Editor.</p></blockquote>
<p>Next time the user logs on &#8211; make the changes to use native language (danish i my case) and logs off again, the setting will be saved to the users profile</p>
<p>and remembered next time the user logs on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2010/02/02/troubleshooting-keyboard-layoutlanguage-settings-in-a-citrix-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1406 Error &#8211; Could not write value InstallPath to key\Software&#8230;</title>
		<link>http://www.annoying.dk/2009/12/09/1406-error-could-not-write-value-installpath-to-keysoftware/</link>
		<comments>http://www.annoying.dk/2009/12/09/1406-error-could-not-write-value-installpath-to-keysoftware/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 11:41:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=75</guid>
		<description><![CDATA[1406,1406 error,could not write value installpath,vmware,vsphere,powercli]]></description>
			<content:encoded><![CDATA[<p>I recently tried to install vSphere PowerCLI from VMware on my Windows 7 64-bit installation.</p>
<p>and i was met with the error message above.</p>
<p>theres probably multiple answers to solving this problem. some say that you need to run it as administrator permissions (doh) and some want you to change permissions on the</p>
<p>registry vmware path.</p>
<p>what almost worked for me was deleting the reg entry &#8220;HKLM\Software\VMware Inc&#8221; and then just retrying with the installation. i however, had to delete the entry</p>
<p>&#8220;HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware, Inc.&#8221; for it to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2009/12/09/1406-error-could-not-write-value-installpath-to-keysoftware/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Google Apps &#8211; adding hosted e-mail to pidgin.</title>
		<link>http://www.annoying.dk/2009/05/07/google-apps-adding-hosted-e-mail-to-pidgin/</link>
		<comments>http://www.annoying.dk/2009/05/07/google-apps-adding-hosted-e-mail-to-pidgin/#comments</comments>
		<pubDate>Thu, 07 May 2009 10:10:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=61</guid>
		<description><![CDATA[This is pretty much simple for most people, however i tend to wipe the howto from my memory each time i reinstall pidgin. so heres the basic setup (this does not include signing up your gtalk account) Procotol: XMPP/Gtalk Username: Dennis Domain: annoying.dk Resource: Empty Password: mypassword (god,love,sex&#8230;) Local alias (nickname) Under Advance, keep it [...]]]></description>
			<content:encoded><![CDATA[<p>This is pretty much simple for most people, however i tend to wipe the howto from my memory each time i reinstall pidgin.</p>
<p>so heres the basic setup (this does not include signing up your gtalk account)</p>
<p>Procotol: XMPP/Gtalk</p>
<p>Username: Dennis<br />
Domain: annoying.dk<br />
Resource: Empty<br />
Password: mypassword (god,love,sex&#8230;)<br />
Local alias (nickname)</p>
<p>Under Advance, keep it simple.</p>
<p>No checkmarks required in the first 3 boxes.</p>
<p>Connect port: 5222<br />
Connect server: talk.google.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2009/05/07/google-apps-adding-hosted-e-mail-to-pidgin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash script produces [cron] defunct</title>
		<link>http://www.annoying.dk/2009/03/07/bash-script-produces-cron/</link>
		<comments>http://www.annoying.dk/2009/03/07/bash-script-produces-cron/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 17:11:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=54</guid>
		<description><![CDATA[Even through im a shitty scripter and my scripts can make people tear their eyes out, i usually make it stable and problem-free. the funny thing was that it was actually working great, running it from the shell. but setting it up in crontab &#8211; it just didnt run the script fully. after playing around [...]]]></description>
			<content:encoded><![CDATA[<p>Even through im a shitty scripter and my scripts can make people tear their eyes out, i usually make it stable and problem-free.</p>
<p>the funny thing was that it was actually working great, running it from the shell. but setting it up in crontab &#8211; it just didnt run the script fully.</p>
<p><span id="more-54"></span></p>
<p>after playing around with the script, setting it to -x and using <strong>tee</strong> i could see that the script stopped working half way &#8211; really nothing special that was about to be executed.</p>
<p>Checking ps aux, right after the script was executed, i saw..</p>
<blockquote>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">root 25294 0.0 0.0 0 0 ? Z 18:05 0:00 [cron] &lt;defunct&gt;</p>
</blockquote>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">after spending too much time on google, i really never found anything specific. but something in my script was fucking up cron..</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">after a tip from a friend (google) i did the following</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">root@foo:/# env |grep SHELL<br />
SHELL=/bin/bash</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">and from crontab the same (just redirected the output to a file)</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">this showed that CRON uses &#8220;SH&#8221; and not &#8220;BASH&#8221; when running. however, this shouldnt really matter since its defined in my script (#!/bin/bash)</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">never the less, i tried to change my script to use SH instead of BASH, and to my surprise, it stopped the exact same place..</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">i guess theres a way to change cron to use bash instead of SH, but it could probably screw up more things &#8211; which i dont need right now.</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">so adding /bin/bash infront of the script i want to execute in cron</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">* * * * * /bin/bash /root/myscript.sh</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">seems to solve the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2009/03/07/bash-script-produces-cron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cant boot system after installing mdadm</title>
		<link>http://www.annoying.dk/2009/03/07/cant-boot-system-after-installing-mdadm/</link>
		<comments>http://www.annoying.dk/2009/03/07/cant-boot-system-after-installing-mdadm/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 16:56:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.annoying.dk/?p=52</guid>
		<description><![CDATA[So, a few weeks ago i had a system crash again. this time i finally got some decent errors that could turn it into a RMA case and get it replaces. since i couldnt wait for the new disk i decided to use an old disk. I inserted the installation disc, followed the installation instructions, [...]]]></description>
			<content:encoded><![CDATA[<p>So, a few weeks ago i had a system crash again. this time i finally got some decent errors that could turn it into a RMA case and get it replaces. since i couldnt wait for the new disk</p>
<p>i decided to use an old disk.</p>
<p><span id="more-52"></span>I inserted the installation disc, followed the installation instructions, formatted the disks, created the partitions manually, everything went just fine.</p>
<p>After installing and updating the system,and installing the raid drivers (earlier post) it was now time to install mdadm and lvm2, to get my data back on track.</p>
<p>it updated the files in /boot/ without any errors, all just perfect..until</p>
<p>I rebooted the system, and got some nasty error (sorry, cant remember which, but it was same second grub started)</p>
<p>No matter what i did, i was unable to get the system up and running again, someting fucked it for good.</p>
<p>anyhow, since the whole installation didnt take more than 15minutes, i just decided to do it all over again.</p>
<p>(repeat this post 12 times&#8230; 3 hours later..)</p>
<p>it seems like the disks i borrowed from a friend, was part of an old mdadm raid-5, and since the raid information is stored in the superblocks, it didnt really matter how many times we format the disks &#8211; installing mdadm and rebooting the system, would make mdadm recognize the disk and so some naughty stuff to it <img src='http://www.annoying.dk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>the solution for me was to boot an ubuntu live cd, set up pppoeconf, install mdadm and do a</p>
<p>mdadm &#8211;zero-superblock /dev/sdx (be carefull, and be sure its the right disks your fucking with)</p>
<p>it takes a sec, and now the disks is ready for use again. <img src='http://www.annoying.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.annoying.dk/2009/03/07/cant-boot-system-after-installing-mdadm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
