<?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>logic involved &#187; helpdesk</title> <atom:link href="http://www.coliena.com/blog/category/helpdesk/feed/" rel="self" type="application/rss+xml" /><link>http://www.coliena.com/blog</link> <description>... more often than not ...</description> <lastBuildDate>Sat, 21 Jan 2012 18:09:36 +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>Fixing the &#8220;Unable to get webmail password&#8221; problem in Atmail</title><link>http://www.coliena.com/blog/2011/03/fixing-the-unable-to-get-webmail-password-problem-in-atmail/</link> <comments>http://www.coliena.com/blog/2011/03/fixing-the-unable-to-get-webmail-password-problem-in-atmail/#comments</comments> <pubDate>Wed, 09 Mar 2011 20:11:18 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[helpdesk]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[linux]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=502</guid> <description><![CDATA[Plesk ships Atmail, but the default installation has a minor problem: when you open your webmail site, all you get is a message box saying &#8220;Unable to get webmail password!&#8221;. This is not caused by the user, who might have entered wrong credentials (in fact, he hasn&#8217;t even seen the webmail page yet, let alone [...]]]></description> <content:encoded><![CDATA[<p>Plesk ships <a
href="http://www.atmail.com">Atmail</a>, but the default installation has a minor problem: when you open your webmail site, all you get is a message box saying &#8220;Unable to get webmail password!&#8221;. This is not caused by the user, who might have entered wrong credentials (in fact, he hasn&#8217;t even seen the webmail page yet, let alone entered his password). It&#8217;s caused by Atmail being unable to connect to its MySQL database.<br
/> The origin of this problem is in <em>/var/www/atmail/libs/Atmail/Config.php</em>, line 4:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/etc/psa-webmail/atmail/.atmail.shadow&quot;</span><span style="color: #009900;">&#41;</span></pre></div></div><p>For some reason, the fopen() call fails, but there are several ways of fixing this. The easiest is to get the database password from <em>.atmail.shadow</em> and hard-code it in Config.php.</p><p><strong>Disclaimer:</strong> don&#8217;t do this if you don&#8217;t know exactly what you are doing, why you are doing it and which possible consequences might result.</p><p>Now, change your <em>/var/www/atmail/libs/Atmail/Config.php</em> like this:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//if (!($fd = fopen(&quot;/etc/psa-webmail/atmail/.atmail.shadow&quot;, &quot;r&quot;))) {</span>
<span style="color: #666666; font-style: italic;">//  echo &quot;&lt;script&gt;alert('Unable to get webmail password!')&lt;/script&gt;&quot;;</span>
<span style="color: #666666; font-style: italic;">//  exit();</span>
<span style="color: #666666; font-style: italic;">//}</span>
<span style="color: #666666; font-style: italic;">//fscanf($fd, &quot;%s&quot;, $buff);</span>
<span style="color: #666666; font-style: italic;">//fclose($fd);</span>
<span style="color: #000088;">$buff</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'MySQL_password'</span><span style="color: #339933;">;</span></pre></div></div><p>Note that you changed an Atmail application file, and it is very likely to be reverted by the next Plesk/Atmail update. <a
href='http://coliena.com/blog/wp-content/uploads/atmail_patch.txt'>This patch</a> will be very helpful in that situation.</p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2011/03/fixing-the-unable-to-get-webmail-password-problem-in-atmail/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Extracting .MSI Files</title><link>http://www.coliena.com/blog/2011/02/extracting-msi-files/</link> <comments>http://www.coliena.com/blog/2011/02/extracting-msi-files/#comments</comments> <pubDate>Thu, 24 Feb 2011 17:11:30 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[development]]></category> <category><![CDATA[helpdesk]]></category> <category><![CDATA[hg]]></category> <category><![CDATA[mercurial]]></category> <category><![CDATA[portable]]></category> <category><![CDATA[windows]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=493</guid> <description><![CDATA[Mercurial is a really nice revision control tool, but unfortunately there are no portable binary packages for Windows. They do offer msi packages, though. But retrieving their content without actually installing the software is a bit tricky. You can just unpack them using 7-zip, but you are likely to get garbage. Using your favorite search [...]]]></description> <content:encoded><![CDATA[<p>Mercurial is a really nice revision control tool, but unfortunately there are no portable binary packages for Windows. They do offer msi packages, though. But retrieving their content without actually installing the software is a bit tricky.<br
/> You can just unpack them using <a
href="http://7-zip.org/">7-zip</a>, but you are likely to get garbage.<br
/> Using your favorite search engine, you will find suggestions to perform an administrative installation using <em>msiexec /a</em>. Well, don&#8217;t. That&#8217;s <a
href="http://msdn.microsoft.com/en-us/library/aa367541%28v=vs.85%29.aspx">just a normal installation</a>, but without the GUI of the installer being shown.</p><p>Fortunately, there is <a
href="http://code.google.com/p/lessmsi/">lessmsi</a>. It allows to open, inspect and extract Windows Installer packages.<br
/> For TortoiseHG, download the binary .msi package from the <a
href="http://mercurial.selenic.com/downloads/">Mercurial homepage</a>. Run lessmsi, open the .msi package and select &#8220;extract&#8221;. Mercurial will be extracted to <em>WheretherYouExtracted\SourceDir\PFiles\TortoiseHg</em>, and the original folder layout of Mercurial will be preserved.</p><p>Lessmsi is provided under the MIT License and does not require installation. Just download, unzip and run it.</p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2011/02/extracting-msi-files/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>How to repair the Apple iCal</title><link>http://www.coliena.com/blog/2010/08/how-to-repair-the-apple-ical/</link> <comments>http://www.coliena.com/blog/2010/08/how-to-repair-the-apple-ical/#comments</comments> <pubDate>Mon, 30 Aug 2010 20:02:16 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[helpdesk]]></category> <category><![CDATA[10.6]]></category> <category><![CDATA[bug]]></category> <category><![CDATA[os x]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=371</guid> <description><![CDATA[My iCal kept crashing constantly due to a segmentation fault (EXC_BAD_ACCESS, SIGSEGV). In the short time right before it crashed, I noticed that iCal tried to sync with a corrupt external calendar. The bad data got into iCal once, and iCal didn&#8217;t stand it If you happen to meet a failing iCal one day, and [...]]]></description> <content:encoded><![CDATA[<p>My iCal kept crashing constantly due to a segmentation fault (EXC_BAD_ACCESS, SIGSEGV). In the short time right before it crashed, I noticed that iCal tried to sync with a corrupt external calendar. The bad data got into iCal once, and iCal didn&#8217;t stand it <img
src='http://www.coliena.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br
/> If you happen to meet a failing iCal one day, and you can&#8217;t remove the mischief from within iCal, you have two options:</p><ol><li>get the decent <a
href="http://purityapp.com/">Purity</a> app, unplug the network (so that iCal won&#8217;t sync before the culprit has been removed), and clean the iCal cache</li><li>have a closer look at <em>~/Library/Calendars/</em>, where all the calendars are stored. Inspect the info.plist files and .ics event data to find the bad calendar and move its folder to another location. Restart iCal. If it is still crashing you got the wrong calendar &#8211; put the moved calendar back and keep on searching.</li></ol><p>No. 2 did the trick for me.<br
/> Plain text files and simple folder layouts might not look as evolved as SQL tables and mysterious binary data files &#8211; but they work just fine in this scenario and are pretty easy to debug.</p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2010/08/how-to-repair-the-apple-ical/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Adjusting Brightness on a Samsung NC10 Running (K)Ubuntu</title><link>http://www.coliena.com/blog/2010/07/adjusting-brightness-on-a-samsung-nc10-running-kubuntu/</link> <comments>http://www.coliena.com/blog/2010/07/adjusting-brightness-on-a-samsung-nc10-running-kubuntu/#comments</comments> <pubDate>Sun, 25 Jul 2010 16:53:34 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[helpdesk]]></category> <category><![CDATA[linux kubuntu ubuntu]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=358</guid> <description><![CDATA[The hardware keys for adjusting brightness on a Samsung NC10 aren&#8217;t working in an out-of-the-box Kubuntu 10.04. The brightness slider in the Power Management tray application isn&#8217;t working as designed as well. Fortunately, you can set the display brightness using the hardware keys in GRUB, the bootloader that let&#8217;s you choose what OS and/or Kernel [...]]]></description> <content:encoded><![CDATA[<p>The hardware keys for adjusting brightness on a Samsung NC10 aren&#8217;t working in an out-of-the-box Kubuntu 10.04. The brightness slider in the Power Management tray application isn&#8217;t working as designed as well.</p><p>Fortunately, you can set the display brightness using the hardware keys in GRUB, the bootloader that let&#8217;s you choose what OS and/or Kernel you want to start.</p><p>Settings are lost on reboot, and you still can&#8217;t change the brightness at runtime, but it&#8217;s better than nothing.</p><p><strong>Update:</strong><br
/> Actually, there is a way to enable the brightness keys. And you don&#8217;t even have to edit your X.org conf manually. Just head over to <a
href="http://ubuntu-tweak.com/app/samsung-tools/">ubuntu-tweak.com</a> and install <code>samsung-brightness</code> <img
src='http://www.coliena.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2010/07/adjusting-brightness-on-a-samsung-nc10-running-kubuntu/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Entering Foreign Characters in Firefox</title><link>http://www.coliena.com/blog/2010/05/entering-foreign-characters-in-firefox/</link> <comments>http://www.coliena.com/blog/2010/05/entering-foreign-characters-in-firefox/#comments</comments> <pubDate>Tue, 04 May 2010 17:11:08 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[helpdesk]]></category> <category><![CDATA[life out there]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[i18n]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=321</guid> <description><![CDATA[When dealing with foreign names, it is a matter of both correctness and courtesy to use the right spelling. But quite often it is also a problem of “how do I enter this darn character”. Luckily, there is abcTajpu, a Firefox extension that allows you to select foreign characters, umlauts, … quite easily. Free, no [...]]]></description> <content:encoded><![CDATA[<p>When dealing with foreign names, it is a matter of both correctness and courtesy to use the right spelling. But quite often it is also a problem of “how do I enter this darn character”.</p><p>Luckily, there is <a
href="https://addons.mozilla.org/firefox/459/">abcTajpu</a>, a Firefox extension that allows you to select foreign characters, umlauts, … quite easily.</p><p>Free, no ads – really worth a try <img
src='http://www.coliena.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p><a
href="http://coliena.com/blog/wp-content/uploads/abcTaipu.png"><img
class="alignnone size-medium wp-image-319" title="abcTaipu.png" src="http://coliena.com/blog/wp-content/uploads/abcTaipu-199x300.png" alt="" width="199" height="300" /></a></p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2010/05/entering-foreign-characters-in-firefox/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to install Ubuntu 10.04 on a Netbook with Full Disk Encryption</title><link>http://www.coliena.com/blog/2010/05/how-to-install-ubuntu-10-04-on-a-netbook-with-full-disk-encryption/</link> <comments>http://www.coliena.com/blog/2010/05/how-to-install-ubuntu-10-04-on-a-netbook-with-full-disk-encryption/#comments</comments> <pubDate>Sun, 02 May 2010 12:55:00 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[helpdesk]]></category> <category><![CDATA[kubuntu]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[netbook]]></category> <category><![CDATA[ubuntu]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=303</guid> <description><![CDATA[Installing Ubuntu on a netbook is trivial. Installing Ubuntu/Kubuntu with full disk encryption is absolutely easy. Unfortunately, installing it on a netbook with full disk encryption is not (at least not without a CD-ROM drive). First of all, the desktop Ubuntu and Kubuntu install images don&#8217;t support full disk encryption. So get the Alternate ISO [...]]]></description> <content:encoded><![CDATA[<p>Installing Ubuntu on a netbook is trivial. Installing Ubuntu/Kubuntu with full disk encryption is <a
title="really easy" href="http://learninginlinux.wordpress.com/2008/04/23/installing-ubuntu-804-with-full-disk-encryption/" target="_blank">absolutely easy</a>. Unfortunately, installing it on a netbook with full disk encryption is not (at least not without a CD-ROM drive).</p><p>First of all, the desktop Ubuntu and Kubuntu install images don&#8217;t support full disk encryption. So get the Alternate ISO from <a
title="here" href="http://www.ubuntu.com/getubuntu/downloadmirrors#alternate" target="_blank">here</a> (Kubuntu users <a
title="this way" href="http://releases.ubuntu.com/kubuntu/10.04/" target="_blank">this way</a>, please). Then create a bootable USB drive using <a
title="UNetbootin" href="http://unetbootin.sourceforge.net/" target="_blank">UNetbootin</a>.</p><p>Ready? Then boot your netbook from the USB drive, and proceed with the installation using <a
title="this guide" href="http://learninginlinux.wordpress.com/2008/04/23/installing-ubuntu-804-with-full-disk-encryption/" target="_blank">this guide</a>. You will be able to select your country, keyboard and configure your network. Then the installation will fail, because the installer won&#8217;t find a CD-ROM drive. Yuck.</p><p>Okay, if there is no CD-ROM drive we just have to mount the installer ISO. For this we copy the alternate installer ISO to a second USB stick, plug it into the netbook and give the system a few seconds to recognize it. Then we use alt+F2 to switch to a command line and hit  so we can enter commands. First, we should make sure that both USB drives are there:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-la</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sd<span style="color: #000000; font-weight: bold;">*</span></pre></div></div><p>should return something like this:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda2
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdb
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdc</pre></div></div><p><em>/dev/sda</em> is your hard disk, <em>/dev/sdb</em> is the USB drive you booted from, and <em>/dev/sdc</em> is the second USB drive containing the installer ISO file (unless you have a second hard drive). Use <em>mount</em> if you are not sure if and/or where your USB drives are mounted to.Now you can mount the second USB drive to <em>/mnt</em> and the ISO image to <em>/cdrom</em>:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> vfat <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdc <span style="color: #000000; font-weight: bold;">/</span>mnt
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>ubuntu-<span style="color: #000000;">10.04</span>-alternate-i386.iso <span style="color: #000000; font-weight: bold;">/</span>cdrom<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">exit</span></pre></div></div><p>Next, hit <em>alt+f1</em> to return to the install menu and select &#8220;Detect CD-ROM&#8221;. The installation will proceed as described in the blog post above.</p><p>Have fun with Ubuntu 10.04! <img
src='http://www.coliena.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2010/05/how-to-install-ubuntu-10-04-on-a-netbook-with-full-disk-encryption/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>View and Kill Processes using the Windows Command Line</title><link>http://www.coliena.com/blog/2010/04/view-and-kill-processes-using-the-windows-command-line/</link> <comments>http://www.coliena.com/blog/2010/04/view-and-kill-processes-using-the-windows-command-line/#comments</comments> <pubDate>Tue, 13 Apr 2010 17:49:59 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[helpdesk]]></category> <category><![CDATA[command line]]></category> <category><![CDATA[windows]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=296</guid> <description><![CDATA[It&#8217;s pretty convenient to list and kill processes using ps and kill / pkill on *nix. Actually, you can do that on a Windows command line as well: tasklist: shows a list of all running processes taskkill: kills processes Among other options, processes can be killed by their process ID (taskkill /PID 4711) and by [...]]]></description> <content:encoded><![CDATA[<p>It&#8217;s pretty convenient to list and kill processes using <em>ps</em> and <em>kill</em> / <em>pkill</em> on *nix. Actually, you can do that on a Windows command line as well:</p><ul><li><em>tasklist</em>: shows a list of all running processes</li><li><em>taskkill</em>: kills processes</li></ul><p>Among other options, processes can be killed by their process ID (<em>taskkill /PID 4711</em>) and by the name of their executable (<em>taskkill /IM firefox.exe</em>).<br
/> So, if you have perl scripts running wild, just execute <em>taskkill perl.exe</em> to kill all of them down with a single command.</p><p>More lesser known Windows commands are described in <a
href="http://www.sans.org/security-resources/sec560/windows_command_line_sheet_v1.pdf">this PDF</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2010/04/view-and-kill-processes-using-the-windows-command-line/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Opening ISO Images in Windows</title><link>http://www.coliena.com/blog/2010/04/opening-iso-images-in-windows/</link> <comments>http://www.coliena.com/blog/2010/04/opening-iso-images-in-windows/#comments</comments> <pubDate>Tue, 13 Apr 2010 08:41:34 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[helpdesk]]></category> <category><![CDATA[windows]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=292</guid> <description><![CDATA[Some tools just keep amazing me. They are flexible, stable, small &#8211; basically, they just work. One of these tools is 7-Zip. It does a lot more than just creating 7zip archives: it is able to create and open almost any package type I&#8217;ve run across so far. And it even reads .iso image files. [...]]]></description> <content:encoded><![CDATA[<p>Some tools just keep amazing me. They are flexible, stable, small &#8211; basically, they just work. One of these tools is <a
href="http://7-zip.org">7-Zip</a>.<br
/> It does a lot more than just creating 7zip archives: it is able to create and open almost any package type I&#8217;ve run across so far. And it even reads .iso image files.<br
/> Thanks a lot for this marvelous tool &#8211; it&#8217;s a joy to use and a definitive must-have! <img
src='http://www.coliena.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2010/04/opening-iso-images-in-windows/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Unix/Linux Command Overview</title><link>http://www.coliena.com/blog/2009/08/unixlinux-command-overview/</link> <comments>http://www.coliena.com/blog/2009/08/unixlinux-command-overview/#comments</comments> <pubDate>Wed, 19 Aug 2009 14:19:41 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[helpdesk]]></category> <category><![CDATA[shell]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=185</guid> <description><![CDATA[You are new to *nix and/or you need a concise overview of your new toys&#8217; command line tools? Then don&#8217;t miss the Unix Toolbox! Whether you are looking for a handy summary to carry around, or a help to get started quickly &#8211; this is what you are looking for.]]></description> <content:encoded><![CDATA[<p>You are new to *nix and/or you need a concise overview of your new toys&#8217; command line tools? Then don&#8217;t miss the <a
title="Unix Toolbox" href="http://cb.vu/unixtoolbox.xhtml" target="_blank">Unix Toolbox</a>!</p><p>Whether you are looking for a handy summary to carry around, or a help to get started quickly &#8211; this is what you are looking for.</p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2009/08/unixlinux-command-overview/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Running NetBeans 6.7 on Mac OS X</title><link>http://www.coliena.com/blog/2009/07/running-netbeans-6-7-on-mac-os-x/</link> <comments>http://www.coliena.com/blog/2009/07/running-netbeans-6-7-on-mac-os-x/#comments</comments> <pubDate>Wed, 01 Jul 2009 19:05:58 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[development]]></category> <category><![CDATA[helpdesk]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=151</guid> <description><![CDATA[NetBeans 6.7 has just been released, and I am really curious about it. Installation worked like a charm, but the app failed when being launched in the Finder. I tried &#8220;open /Applications/NetBeans/NetBeans\ 6.7.app/&#8221; in the Terminal, but all I got was &#8220;LSOpenFromURLSpec() failed with error &#8230;&#8221;. Luckily there&#8217;s this blog with a decent solution: 1. [...]]]></description> <content:encoded><![CDATA[<p>NetBeans 6.7 has just been released, and I am really curious about it. Installation worked like a charm, but the app failed when being launched in the Finder.<br
/> I tried &#8220;open /Applications/NetBeans/NetBeans\ 6.7.app/&#8221; in the Terminal, but all I got was &#8220;LSOpenFromURLSpec() failed with error &#8230;&#8221;.<br
/> Luckily there&#8217;s <a
href="http://samcogan.com/blog/?p=23">this blog </a> with a decent solution:<br
/> 1. open Terminal.app and log in as root (sudo -s)<br
/> 2. enter this:<br
/> <code># cp -p /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java /tmp/java_original_binary<br
/> # lipo /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java  -remove x86_64  -output /tmp/java<br
/> # cat /tmp/java > /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java</code><br
/> <strong>NOTE: you need root powers for this hack &#8211; don&#8217;t try this if you don&#8217;t understand the code. If it fails you are on your own&#8230;</strong></p><p>Feel free to launch NetBeans now <img
src='http://www.coliena.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2009/07/running-netbeans-6-7-on-mac-os-x/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: www.coliena.com @ 2012-02-06 00:17:31 by W3 Total Cache -->
