Posts

Showing posts from April, 2013

problem with ubuntu 12.04 connect to wireless

For some reason my network manager has some problems. The WIFI fan shape icon is in the task list, but it only shows the list, after a click, you will not get a popup window for further settings. Solution: kill the nm-applet process which starts the WIFI icon,  and restart it by cmd: nm-applet. Then everything works fine. And you can use Ctrl+Z -->bg to make the process run background. And other thing, by default, ubuntu can not auto detect all the available wifi networks around you, you must add the SSID from Network Manager>Edit Connections>Add.

Mysql cluster restart errors

Version: Mysql 5.5.29 cluster 7.2.10 After some modifications of the config.ini, and a reload of the manager, when rolling restart the data nodes, the error happens.  My case: I increased the IndexMemory and  MaxNoOfConcurrentOperations , but the restart of the data node failed with error as below. Time: Monday 22 April 2013 - 10:30:06 Status: Temporary error, restart node Message: WatchDog terminate, internal error or massive overload on the machine running this node (Internal error, pr ogramming error or missing error message, please report a bug) Error: 6050 Error data: Allocating memory Error object: /pb2/build/sb_0-7932439- 1355951739.99/mysql-cluster- gpl-7.2.10/storage/ndb/src/ kernel/vm/WatchDog.cpp Program: ndbd Pid: 9927 Version: mysql-5.5.29 ndb-7.2.10 Trace: /media/datadisk/mysql Reason: The overload of memory usage. Solution: Decrease the number of parameter MaxNoOfConcurrentOperations   back to 1000000. And keep the increased val

postfic-mailx email solution in Linux/Ubuntu

Using mail function from postfic-mailx solution in Ubuntu is simple. In the terminal, you can just use it like this when the body  message is in a file: mail -s 'Error Report' username @company.com < /tmp/message .txt And when body message is simple message, you can use: a="message" echo $a | mail -s 'subject' username@company.com The installation and configuration process is as follows: Install process: sudo apt-get install postfix Configuration process: sudo dpkg-reconfigure postfix then need select options as below for the configuration:  Internet Site mail.example.com steve mail.example.com , localhost.localdomain, localhost No 127.0.0.0/8  [::ffff:127.0.0.0]/104 [::1]/128  192.168.0.0/24 0 + all detail guideline here: https://help.ubuntu.com/11.10/ serverguide/postfix.html And if postfix is already installed by other installation in the system, then it may be lack of /etc/postfix/ ma

Old ShellEd v1.0.1 for eclipse Indigo

ShellEd is a good plug-in in eclipse for shell script. But the new version 2.0.2 from the website is for eclipse Juno and maybe later. That version is not totally compatible with old eclipse version like Indigo which I am using. And it takes me a while to find the old ShellEd version. Hope this can help some people using Indigo like me to save some time. The link below is an old version v1.0.1, which can be installed by using eclipse "Help-Install New Software". http://www.chasetechnology.co.uk/eclipse/updates You will got some warnings, but just accept that, it works very well in eclipse.