I recently migrated my linux box from bare metal hardware to a VMware virtual machine. At the same time, I upgraded from Debian squeeze to Debian Wheezy (testing). After the dust had settled, one nagging problem keep recurring. Every time I did an aptitude update or aptitude install, after everything successfully ran, I would get… Continue reading Error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
I just got back from having an amazing week at LCA2013. That was my first LCA and I was really not quite sure what to expect. It turned out to be an amazing experience. I met so man really smart people, learnt a lot and generally got exposed to all sorts of new ideas and… Continue reading Linuxconf 2013
Sune Vuorela wrote a post asking people to make sure their private hacks become public. That inspired me to publish Expadirk. Expadirk is my solution to my accounting software provider requiring me to purchase yet more proprietary software in order to send statements, purchase orders and invoices by email. The accounting package has a way of outputting print… Continue reading Expadirk: a hack to split PDFs and email based on instructions within
One of my clients had a problem where the last 6 months of data was not in Google Analytics. Upon investigating it turned out that for some reason the WordPress Google Analytics plugin was not active. I could not determine why it was not active when I am sure I set it up in the… Continue reading Import historical data from Apache logs into AWStats
Direct any URL request that Apache receives to the WordPress installation. You need to do it if you are setting up a WordPress Network multi-site installation that has sites with their own unique domain names. e.g. site1.org, site2.com, someothersite.co.uk etc. /etc/apache2/sites-enabled$ ls -al total 8 drwxr-xr-x 2 root root 4096 Jul 25 13:18 . drwxr-xr-x… Continue reading Apache Virtual Host configuration for a Networked WordPress Installation
.bash_profile vs .bashrc or why does OS X ignore my .bashrc in Terminal.app?
I found collectd causing rrd illegal attempt to update using time errors. I was seeing a whole load of lines like this in my syslog: Aug 20 16:27:12 mythbox collectd: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/mythbox/df-root/df_complex-free.rrd) failed: /var/lib/collectd/rrd/mythbox/df-root/df_complex-free.rrd: illegal attempt to update using time 1345444032 when last update time is 1345444032 (minimum one second step) It was… Continue reading Collectd causing rrd illegal attempt to update using time errors
There is this cool way of being able to lookup windows hostnames in linux. Ie so you can ping mywindowshostname and it will just find the ip and ping it. All you have to do is edit the line in /etc/nsswitch.conf: from hosts: files dns to hosts: files dns wins and install the winbind service.… Continue reading lookup smb windows hostnames from the command prompt in linux