Category Archives: Linux

WordPress Jetpack Plugin Connection Issues

I’ve been setting up a new blog lately and as I’m familiar with it, I chose WordPress (self-hosted) to power it. I purchased a VPS this time around which only gave me 128MB total RAM to play with, but I thought that should be more than enough to run a low-traffic WordPress blog. After getting everything set up, I started installing some useful plugins. Jetpack is a pretty useful plugin, which is more of a collection of plugins and extensions to WordPress that provides some really useful functionality. You have to ‘connect’ Jetpack to a WordPress.com account in order for it to be enabled. When I clicked on ‘connect to WordPress.com’, nothing happened for a while. Then this message appeared:

Jetpack could not contact WordPress.com: register_http_request_failed. This
usually means something is incorrectly configured on your web host. Operation
timed out after 15000 milliseconds with 0 bytes received

I came across several blog posts suggesting that it could be due to wget or curl being missing, both of which I knew that I had already  installed. Then I came across another blog post (which I’m unfortunately unable to find at the moment) that suggested it could be related to my web server configuration – more specifically the way Fastcgi had been configured. Being relatively low on RAM, I’d configured Fastcgi within my web server configuration to have PHP_FCGI_CHILDREN set to ’1′. The website was performing perfectly well with this setting, but for some reason this was actually stopping Jetpack from being able to connect back to my site. I changed PHP_FCGI_CHILDREN to ’2′ and Jetpack was then able to successfully connect.

Upgrading MySQL 5.0 to 5.1 on Debian 5.0

I have a small low-power x86 machine at home running Debian 5.0. I regularly check for updates to any of the packages I have installed on it, and for a while its been offering an upgrade to MySQL. I dont use MySQL much at home, so I havent been too bothered about keeping that up to date. However, I got fed up of it nagging me, so I decided to proceed with the update. The following is what happened:

Preparing to replace mysql-server 5.0.51a-24 (using .../mysql-server_5.1.34-0.dotdeb.1_all.deb) ...
 Unpacking replacement mysql-server ...
 (Reading database ... 120744 files and directories currently installed.)
 Removing mysql-server-5.0 ...
 Stopping MySQL database server: mysqld.
 Removing mysql-client-5.0 ...
 Processing triggers for man-db ...
 Selecting previously deselected package mysql-client-5.1.
 (Reading database ... 118764 files and directories currently installed.)
 Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.34-0.dotdeb.1_i386.deb) ...
 Selecting previously deselected package mysql-server-5.1.
 Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.34-0.dotdeb.1_i386.deb) ...
 Processing triggers for man-db ...
 Processing triggers for menu ...
 Setting up mysql-client-5.1 (5.1.34-0.dotdeb.1) ...
 Setting up mysql-server-5.1 (5.1.34-0.dotdeb.1) ...
 Installing new version of config file /etc/init.d/mysql ...
 Stopping MySQL database server: mysqld.
 Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!

Continue reading

O2 3G Mobile Broadband on Acer Aspire One Netbook

I recently bought an O2 Mobile Broadband ‘Pay & Go’ dongle. The Huawei E160 variety. Its a neat little dongle, which also has a slot for a MicroSD card.

A colleague of mine wanted to get some kind of mobile broadband solution for his netbook – an Acer Aspire One. Brilliant little machine. I fancy a Samsung NC10 myself, or maybe an Asus 1008HA Seashell.

Anyway, he’s running the standard Acer OS – Linpus. He already had the ‘Mobile Partner’ application installed, which is required if you want to connect using a Huawei modem. We plugged the dongle in, and it was recognised by the software within a few seconds, albeit as a Huawei E220 (technically identical to the E160). It picked up a perfectly reasonable O2 3G signal considering we were indoors. Next came the creation of a ‘profile’ for the connection. We set up a new one, called it ‘O2′, and attempted to enter the settings. Continue reading

The State of UK Broadband Services

My iMac broke a few months ago. Nothing too serious, but annoying nonetheless. The Superdrive decided that it would eat any disc that you put in the slot, and would not eject it. You could hear the mechanism whirring away, but then a nice stressful ‘clunk’, as the disc was eaten again. The disc never even making a minor appearance. So I decided to finally get it fixed while my AppleCare is still valid.

But what’s this got to do with UK Broadband, I hear you – imaginary guy that I’ve borrowed from Wil Wheaton – asking? Shh…I’m getting there…

As I have a lot of personal files on my iMac, I wasnt going to trust it as-is in the hands of my local Apple reseller, so I backed it up with SuperDuper!, formatted it and installed a fresh copy of OS X 10.4 Tiger (via a USB DVD drive). The iMac went off for repair, came back fixed, and then came the time for installing OS X 10.5 Leopard.

Still not seeing what this has to do with UK Broadband… Shhhhh!! I’m getting there!… Continue reading

Ubuntu Linux 8.10 ‘Terminal Server Client’ Exit Full Screen

Ubuntu Desktop comes with ‘Terminal Server Client’, which is ‘tsclient’ with a ‘rdesktop’ backend for RDP functions.

Generally, I tend not to use the full screen mode, but in this instance I needed to. Unlike the Microsoft Remote Desktop client, there is no pinnable banner at the top of the screen to allow you to easily enter/exit full screen mode.

After a lot of keyboard mashing, and various key combos later, it seems that CTRL-ALT-ENTER is the correct combination.