I have a Thomson TG585v8 router and I connect to a Cisco VPN using my Macbook running Mavericks. When I connect to the VPN all other devices in the house lose connectivity to the internet! I checked the router logs and I got quite a few errors like the following when connecting to the VPN:

UPnP action ‘AddPortMapping’ from ip (Undocumented UPNP error)

It is clearly and error related to the uPnP. So I disabled UPnp on the Thomson router and now everything works perfectly when I connect to the VPN.

I installed a fresh Ubuntu desktop guest on VirtualBox 4.3.14. Trying to install VBox additions I was getting an error message:

The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.

 

Apparently all I had to do is reinstall the headers using the following two commands:

 

sudo apt-get remove dkms build-essential linux-headers-*
sudo apt-get install dkms build-essential linux-headers-$(uname -r)

Trying to reinstall Linux Additions for VirtualBox works like a charm!

I am using VirtualBox 4.3.2. I have recently upgraded to OSX Mavericks and after I close VirtualBox it doesn’t seem to close properly and it’s still running. Doing force quit doesn’t seem to close VirtualBox.

The worse part is that I can’t seem to be able to shutdown my laptop! When try to shutdown after having run VirtualBox the shutdown process gets stuck and the only way to shutdown properly is by pressing the “Power On/Off” button on the laptop for some time.

The solution that works for me, is to go to the “Login Window” screen (by clicking on my account name on the top right corner, next to the clock -> Login Window…”. Then I click on “Shutdown” from that screen and it works.

I am using Logback to do most of my logging. I am using a third party library for some computation. Luckily the library uses slf4j, meaning it’s agnostic of the logging implementation.

The library caches two collections of items and depending on the circumstances the item I am looking for may be in any of the two collections. This is not important. What is important, is that the library for some reason logs an error if an item cannot be found in the first collection.

I wanted to get rid of this message because it was cluttering my logs. But I didn’t want to disable all logging from this specific class, because it may print some useful logs. I just wanted to get rid of this specific log. There is a way to do it Continue reading