Posts By: jonny

Mkr Fox 1200 Beginner Tutorial

Download the latest version of the Arduino IDE as the version in the Ubuntu/Mint/Debian repositories is a little old: At the time of writing I am using version 1.8.5 Configure Arduino IDE First we need to import everything we need to operate the MKR Fox 1200 so first visit Tools > Board > Board… Read more »

Zookeeper install on CentOS 7

Good concise article here on devopscube for installing zookeeper cluster. I’ve added some of my own bits: Firewall Disable firewalld or allow ports 2181 3888 2888 Install Java

User Create a zookeeper user

Install Zookeeper Download ZooKeeper from the Apache:

Set the permissions:

Add the following:

Test the service:… Read more »

Yakuake not restoring window height & width

git branch

I found that Yakuake was re-opening with an 80% width and about 30% height but I prefer 100% wide and 80% high. So it looks like my settings were saving into the file:

But this was possibly not the file that was being read when Yakuake started. I added the

entries to the… Read more »

Tab Separated File Returns Wrong Number of Fields


So we had a CSV/TSV file with tabs separating each field but one of the fields was a description field that contained spaces. When parsing this TSV file some programs interpreted the spaces as field delimiters (TSV might be a bad idea!). Input file similar to:

The ‘Time Warner Cable’ field is all one… Read more »

Install Python Linters in Atom

I installed the relevant Python packages first e.g.

Then on the Atom menu use: Edit > Preferences then search for atom packages such as flake8, pep8, pep257 and pylint: Then click the install button. After restarting style advice is shown in the editor:    

Manic Miner on Linux

I was reminded about how much time I had spent as a kid playing Manic Miner on an Amstrad 464 and decided to give it a try on my current desktop (Linux Mint) so for future reference… I grabbed the code created by here:

Installed a few dependencies:

Run the make file:

Read more »

MySQL Percona Slave Replication Change Channel Name

I had inadvertently set up slave replication using the wrong channel name – which is a minor issue except that it caused some issues with an already configured Nagios check. To ‘change’ the channel name I stopped the slave process, removed all the slave definitions and used ‘CHANGE MASTER’ to re-create the slave from the… Read more »

rpcbind.socket failed to listen on sockets: Address family not supported by protocol

Using CentOS 7 this problem arose after a reboot and NFS shares would not mount. Trying to start the rpcbind service:

gave the following error message via jounralctl -xe :

So it looks like

was set in /etc/sysctl.conf But this wasn’t yet incorporated into the initramfs. Solution Rebuild the initramfs with:

Read more »

Mount Files Virtually via Dell iDRAC

Use fallocate to create a new 300 MB file :

Create an ext4 file system within the image file:

Create a mount point:

mount it:

Then on the Dell iDRAC use the ‘Virtual Media’ menu to ‘Map Removable Disk…’  : Then on the host operating system the device can be mounted… Read more »

Docker jasonrivers/nagios Permissions Problem

I was running this docker image proxied via traefik but I was receiving an error message in the Nagios web interface: docker nagios Error: Could not read object configuration data And in the logs from the container:

To solve the issue I connected to the container:

And set the nagios user as the… Read more »