Sunday, December 25, 2011

Merry Christmas and a Happy New Year

I would like to wish you all a Merry Christmas and a Prosperous New Year. May the season bring you and your family joy and peace.

Friday, December 16, 2011

An error occurred while dispatching a duplicated socket: this handle is now leaked in the process

The error kept coming up in the System event logs on Microsoft Windows Small Business Server (SBS) 2011.

To fix this, change maxPendingAccepts from 2 to 10 in SMSvcHost.exe.config

<net.tcp maxPendingAccepts="10" ... >

Refs
http://blogs.msdn.com/b/andreal/archive/2009/04/05/net-tcp-ip-port-sharing.aspx

Monday, December 12, 2011

VirtualBox: Failed to access the USB subsystem

To fix this error, just add the user name to the "vboxusers" group but the User Accounts manager in Ubuntu 11.10 is quite terrible, too simple to be useful so use a command line to do this instead:-
sudo usermod -a -G vboxusers <user-name>
The other option is to install and run the old Accounts manager.
sudo apt-get install gnome-system-tools
users-admin
Refs
http://www.liberiangeek.net/2011/10/add-users-to-existing-groups-in-ubuntu-11-10-oneiric-ocelot-2/
http://linux-software-news-tutorials.blogspot.com/2011/11/restore-old-account-manager-in-ubuntu.html

Friday, December 9, 2011

Unable to locate theme engine in module_path: "pixmap"

I got the following warning when running the update-java tool.
(gksudo:5045): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap"
To fix it, run
sudo apt-get install gtk2-engines-pixbuf
Refs
https://bugs.launchpad.net/ubuntu/+source/quickly/+bug/853232