Damn you, Google!

First post in a long time – Don’t worry, I haven’t been abducted by aliens from Omicron Persei 8 So today, Felicia Day launched her new personal show called the The Flog. Since I enjoyed this first episode immensely I decided it was time to extend my use of Youtube and subscribe to the channel (user?) Geek & Sundry. To the *sshats at Google: Why, oh why, do you punish me for using Google Apps?...

April 2, 2012 · 2 min · alj

May you have a fortuitous New Year

Live long and prosper!...

December 30, 2011 · 1 min · alj

Running Symantec Veritas Cluster Manager on Ubuntu

Update 2020-01-03: A lot has changed since this article was originally published. Veritas was bought by Symantec which in turn was bough by Broadcom. As a result, the link below does no longer work - but I will leave the post online in case someone needs it. At some point Veritas has release the Cluster Manager (Java Console) for Linux. Of course, Linux means Red Hat (and other RPM based flavours)....

October 17, 2011 · 1 min · alj

Ubuntu Natty: Fixing "unknown locale" in Python

The fix itself is the same as for Python 2.5 – only the line numbers have changed. Open the file /usr/lib/python2.7/locale.py and find the line containing en_gb (line 921) and add these lines (this works for Danish locales): 'en_dk': 'en_DK.ISO8859-1', 'en_dk.iso88591': 'en_DK.ISO8859-1', 'en_dk@euro': 'en_DK.ISO8859-15', In order to avoid this change getting overwritten by packages updates, I use dpkg-divert: $ sudo dpkg-divert --add --rename --divert /usr/lib/python2.7/locale.py.real /usr/lib/python2.7/locale.py $ sudo cp /usr/lib/python2....

June 27, 2011 · 1 min · alj

Switched to nginx

Nowhere.dk has been moved to nginx (with php5-fpm) and most things seem to be working. There is one problem though. It seem that some of the older articles are indexed as /articles/-title-/index.php (which is sort of wrong) and accessing that type of URI results in a blank page. The problem seem to be that I’ve configured nginx to serve file in this order: location / { try_files $uri $uri/ @rewrites; } In theory it should then be a matter of defining the right rewrite...

June 19, 2011 · 1 min · alj

Tip: Change the Chrome proxy settings when running Xubuntu (Xfce)

For a long time, in the olden days, I ran Xubuntu – mainly because I loved the simplicity of the desktop (and also because it was a lot lighter on my machine, a Thinkpad T40, than GNOME. And I just have no love for KDE). Then some changes were made to the menu system (or the way to edit it) which annoyed the hell out of me – that combined with a new, more powerful machine, I decided to switch to GNOME, which I’ve been running for a couple of years....

June 13, 2011 · 3 min · alj

Ubuntu: Install Percona XtraBackup

Percona XtraBackup is an open-source hot backup utility for MySQL that doesn’t lock your database during the backup. It can back up data from InnoDB, XtraDB, and MyISAM tables on MySQL 5.0 and newer servers, and it has many advanced features. Commercial support contracts are available. For a high-level overview of the features, including a feature comparison, please see the XtraBackup homepage. Luckily installing XtraBackup is pretty easy...

June 13, 2011 · 1 min · alj

Natty Narwhal: Problems connecting to servers behind (Cisco) firewalls using ssh

After upgrading to Natty Narwhal I couldn’t connect to my Linux based jump host (connected via VPN): OpenSSH_5.8p1 Debian-1ubuntu2, OpenSSL 0.9.8o 01 Jun 2010 debug1: Reading configuration data /home/alj/.ssh/config debug1: Applying options for * debug1: Applying options for smallpox.xxx.dk debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to smallpox.xxx.dk [xxx.xxx.xxx.xxx] port 22. debug1: Connection established. debug1: identity file /home/alj/.ssh/id_rsa type -1 debug1: identity file /home/alj/.ssh/id_rsa-cert type -1 debug1: identity file /home/alj/....

March 21, 2011 · 2 min · alj