Archive for » September, 2009 «

Solved : Could not connect to wicd's D-Bus interface

I’m a huge fans of wicd network manager due to it’s feature and stabilty. Actually, I’m having a bad experience with KDE Network Manager in the past and finally 98% satisfied with wicd, although I’m currently using Gnome Desktop Manager and found that Gnome Network Manager doesn’t too buggy like KDE does.

One main problem that make me feel unhappy with wicd is the problem on start-up. Wicd always complains about D-Bus problem like below :

Could not connect to wicd’s D-Bus interface.  Check the wicd log for error messages.

wicd

I found nothing for resolved this problem. I’m trying any suggestion on various sources with no luck. I also try to upgrade wicd to the latest version but the problem still persist. The problem may only occurred with standard user, because I have no problem with root authentication. I would also used the wicd without problem by running the “wicd” command within konsole and with root permission. But it’s not really comfortable because I will see same error each time  rebooting the computer .

I finally manage this problem by activating wicd service on YAST runlevel. So, the main problem why wicd doesn’t work correctly because wicd depends on d-bus services. Wicd installer doesn’t pick the correct runlevel and doesn’t enabled the d-bus service by default.

Below is the solution for manage wicd problem regarding D-Bus Service :

  1. Go to YAST | System | System Services (Run Level)
  2. Enable & start the wicd services. Click Continue if YAST confirmed to enabled the D-BUS service also
  3. Run the wicd network manager

wicd3

wicd4

Activating wicd services on YAST runlevel will also set-up wicd to permanently run on boot.

wicd2

Category: OpenSUSE  Tags: ,  5 Comments

BigDump : Tips for Dumping Large MySQL Database

One main problem while moving my blog or my web application to another web hosting are moving and dumping the MySQL database. It should be no problem for small database or if an ISP has strong backup and restore feature but it will get you into headache for large database.

Hosting CPanel usually provided the backup and restore features but it will only restore your data without dumping the MySQL database. Dumping SQL from PHPMyAdmin or with MySQL command line limited for a few MB of file size. I get into big trouble while dumping my blog database with about 50 MB of SQL dump script while my ISP only limited the dump script for 2 MB.

Luckily, after a few Googling, I found bigdump, a simple and small PHP script with the capability to dump large MySQL database script. In my case, a 50 M MySQL database script has successfully dumped into database within 2 minutes process.

The usage is fairly easy. Just modify database connection script, upload the MySQL dump script and the modified bigdump script, open the web browser and then navigate to the relative path of Apache according to your upload folder.

Below is a step-by-step tutorial regarding the database dump script :

  1. Download the  bigdump.php from this link
  2. Unzip (untar) and edit file bigdump.php, modify the database configuration according to your environment.
  3. Changes the default setting for  database encoding, I would like to recommend to use the encoding utf8 (replace $db_connection_charset = ”; with  $db_connection_charset = ‘utf8′;) except you used another encoding.
    // Database configuration
    $db_server   = localhost
    $db_name    = 'your database name';
    $db_username = 'your user name';
    $db_password = 'your password';
    
  4. Upload the modified script
  5. Click Start Import.
    bigdump

    bigdump2

  6. If you have a backup of MySQL dump and found  and error while inserting data,  try to investigating the SQL script. The SQL script created by CPanel has incorrect delimiter at the end of  content a shown on the image below.
  7. DELIMITER ;;
    DELIMITER ;
    /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
    
    /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
    /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
    /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
    /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
    /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
    /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
    
    -- Dump completed on 2009-05-11  0:57:57
    

    Solve the problem by removing these lines.

Click here for more information regarding BigDump script.

Category: Database, OpenSUSE  Tags: ,  4 Comments

Suggestion for SUSE Studio Usability

suse studioAfter playing with SUSE Studio for a while, I think I have 3 suggestion to increase the usability of SUSE Studio, based on my experience building Zimbra Appliance on openSUSE 11.1.

Actually, I have send it using “send feedback” menu but I don’t know whether it has reached SUSE Studio team or the suggestion go nowhere because I haven’t received the response yet  until now :-)

suse-studio-package-list

Below is my suggestion :

  1. The capability to sort the package list by some key, ie : order by added time. It’s an important feature because I would like to tracking the package between such version. Current feature only provided the capability to sorting by package name as shown on the screenshot.
  2. Feature to shared configuration between SUSE Studio user. It’s also an important key features because I will save so many times if I could copied a configuration from user public share. As example, I would share my configuration about Zimbra Appliance to user who want to playing with. Also, I would like to get the configuration from other user if I need to build another fork ( :-D ) of LXDE LiveCD that has build by Andrea Florio.
  3. Possibility to host SUSE Studio on mirror server or local server. I know that I can host same thing with KIWI but SUSE Studio has been polished and easy to used compared to KIWI. also, my latest experience has found some network and server problem while building the image. Spreading the availability of SUSE Studio server will also increase the popularity and usage because it has unique and strong features

I have another suggestion but I forgot  to write and get it listed :-P . I will updating this post if I remember another suggestion…

Switch to our mobile site