Showing posts from May, 2010

Android Phone locked out - how to unlock it without Hard resetting it

I was watching heroes season 3, playing with the unlock schema of my phone (Android(1.6) HTC Magic) drawing strange pattern until I locked it down. The phone shows a message : wait 30 seconds until next try (translated from french). I did hit by mistake the recovery button which lead me to a login form asking me for username and password to unlock the device. My phone is set-up with my google apps account 'login' I've tryed everything and it fails to unlock telling me 'wrong username or password'... For example I've tryed :, login, my other gmail address with and without the I've googled and find why it won't works : Apparently, the phone needs a wifi internet connection so that the login/password check passes. It's plausible as the login failure is instantaneous while it should take some time to check your password over the internet through a 3G connection it's said here by l

Thecus NAS N4100Pro

I've purchased a year and a half ago a NAS from Thecus . It's the N4100Pro model which you can see on the right. The purpose of this post is to tell how I'm satisfied with my Thecus NAS ! It's so rare that the product is good and the support by the company is so good that It needs to be shout ! ;) Usually, what you can read on internet is complains, issue... Here it's just about satisfaction ! First, the installation and setup was easy, the features was here and working. Ok it's what I've paid for... But I've been quite surprised that Thecus was actually updating the firmware and adding functionality regularly which gives some new functionality, new user interface. Just compare this situation to Sony :  I've bought a laptop half a year ago, with windows vista. I've upgrade to windows 7 :  they offer no support for windows 7 at all for my laptop. No driver, no help. The result : My laptop battery hold 1 hour max. The

Bacula upgrade while updating ubuntu to 10.04

When you update your ubuntu to 10.04, the upgrade process forgets to update the bacula database which ends with this in bacula logs : 02-May 17:39 bacula-dir JobId 0: Fatal error: Version error for database "bacula". Wanted 12, got 10 02-May 17:39 bacula-dir JobId 0: Fatal error: Could not open Catalog "MyCatalog", database "bacula". 02-May 17:39 bacula-dir JobId 0: Fatal error: Version error for database "bacula". Wanted 12, got 10 02-May 17:39 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf to correct this you need to run manuall two SQL scripts to upgrade the database (extracted from sources of bacula). First you need to edit ~/.my.cnf so that 'mysql' command use this file to connect to the database : [client] user=root password=YOU_MYSQL_ROOT_PWD_HERE protocol=tcp or change the scripts so that this line : if $bindir/mysql $* -f <<END-OF-DATA is changed to this line : if

Ubuntu 10.04 : Install and set Sun JDK as default

  Since ubuntu 10.04, Sun JDK has been dropped and replaced by openjdk . Literally replaced, ie : Sun JDK remove, openjdk installed. This is performed during the upgrade without explicitly asking you for your consent... which is quite ugly... After the upgrade, my tomcat was not working anymore... Anyway, in order to install Sun JDK back you just have to : vi /etc/apt/sources.list and check if the following line is present : deb lucid partner if not, add it at the end of the file. then run sudo aptitude update to get the package list from the new repo. and then run : sudo aptitude install sun-java6-jdk but after that, if you run java -version, it's still the openjdk version. thomas@daisybox:/usr/lib/jvm/java-6-sun$ java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) thomas@daisybox:/usr/lib/jvm/java-6-sun$ which java /usr/

Default windows 'temp' directory prevents Oracle Universal Installer to launch

Today I was by a client to proceed on a delicate TIBCO iProcess upgrade, and I encounter a strange issue : Oracle Universal Installer ( or won't launch. If you watch in process explorer , you can see a java process (javaw.exe) launch and die. I found out that it was the default 'temp' (or tmp) directory that was preventing Oracle Universal Installer to launch. On this particular machine, the default setting is : %USERPROFILE%\Local Settings\Temp which is expanded to (+ oracle path) : C:\Documents and Settings\matr1x!\Local Settings\Temp\OraInstall2010-05-11_10-08-17AM\jre\bin I've replaced TEMP and TMP environment variable value by 'c:\temp' and I was able to launch the Oracle Installer and perform the installation. (using C:\Install\Oracle\client 9i\92010NT_Disk1\install\win32\setup.exe, C:\Install\Oracle\client 9i\92010NT_Disk1\setup.exe still wasn't working)