Skip to main content

Posts

Showing posts from August, 2009

Problem installing MySQL 5.1.37 on Windows

Last night, I decided to upgrade my MySQL from version 4.1 to version 5 on my Windows XP box. I went to mysql's download area and downloaded the latest windows MSI installer version 5.1.37. After finished downloading the huge 91MB file, I backed up my MySQL database with mysqldump, uninstalled the old version 4.1 and began installed the new version, unfortunately the installation always failed with this message: MySQL Server 5.1 Setup Wizard ended prematurely The wizard was interrupted before MySQL Server 5.1. could be completely installed. Your system has not been modified. To complete installation at another time, please run setup again. Again, the old uncle google came to help. This is MySQL's bug, didn't they test it before releasing the new version? Google pointed me to a solution : you need to download and install orca, a tool for editing MSI files, which can be downloaded from here . Open the MySQL msi installation file, find and delete the action row SetDateTime an

Gnome Network Manager dispatcher.d scripts doesn't run

I just set up a new linux box of Ubuntu 9.04. This computer will connect to netware servers, so I installed ipx. However, with this particular version of Ubuntu, the ipx won't start at boot time eventhough it has starting script in the /etc/init.d which is correctly linked to startup directories (/etc/rc2.d, /etc/rc3.d, etc). I guessed the reason is Gnome Network Manager, somehow it prevented ipx to be started. I then wrote a script in /etc/NetworkManager/dispatcher.d, I gave it a name: 02ipx.sh, so it will executed after the built in /etc/NetworkManager/01ifupdown, the content is very simple #!/bin/bash if [ "$1" == "eth0" ] && [ $2 == "up" ] then /etc/init.d/ipx restart fi I assign root as the owner of script and set the permission to 775. Unfortunately, this script was never called!! After spent 5 hours pulling my hairs, uncle Google came to help with this page It turns that Network Manager is very picky with the script permission and owner

Ubuntu shutdown problem, acpid: exiting...

Some times ago, I uninstalled gnome network-manager on my Ubuntu 9.04 dan replaced it with WICD because it won't bring up ipx protocol on boot time. Unfortunately, WICD also has its own problem, it can't bring up your wired and wireless interface simultaneously. Tonight, I decided to replace WICD with gnome network-manager and I planned to fix the ipx problem through its dispatcher scripts feature. Surprisingly, right after the network manager installed there is no problem with the ipx protocol, apparently the package network-manager in ubuntu repository has been updated recently. However, when I shutdown or restarted my computer, it always hang with a blank screen displaying the message: acpid:exiting , the only way to completely shut down my laptop is only by pressing the power button for about 3 seconds. After some googling, it turns that the problem was the network interfaces should be brought down before taking down the computer. Here is the solution: Edit as root the file