Archive | Sys Admin & DevOps RSS feed for this section

CrashPlan Crashing on Synology DS412+ Keeps Closing – Increase JVM Heap

So I’ve had a Synology for a long time, and issues with CrashPlan Crashing – before this I used to have a great little D-Link NAS and I’ve been using CrashPlan on Synology DS412+ for a long time too (since I got it pretty much). I upgraded from the D-Link for storage reasons, plus the […]

Tags: , , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

Building Scalable Web Apps – LVL.UP KL – July 2014

So the most recent LVL.UP KL meeting was about Internet Architecture (my speciality! yay) – and we had an amazing line-up of speakers – plus me. It wasn’t my most coherent talk, due to my wife just giving birth (7 weeks early..) – so I was pretty tired and did the slides at 5am – […]

Tags: , , , , , , , , ,

Continue Reading · No Comments · Sys Admin & DevOps

Error Reading PID From File (0 Byte) With Monit After Service Crash

Sometimes services crash badly, in this case I was trying to stabilize an old server running nginx and PHP via Fast-cgi. It crashes quite often, so I set up monit on it – but I noticed monit has stopped doing it’s job due to the following batch of errors: Now the problem was, the PID […]

Tags: , , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

monit For Wowza on Ubuntu 12.04 LTS

So Wowza is a cool media streaming server, but sometimes it crashes..for no apparent reason – or perhaps sometimes you’ve just got the memory limit set too high for the machine and the process gets reaped. Either way it’s pretty important to keep it running, my favourite tool for this kind of job (process monitoring, […]

Tags: , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

Intermittent MongoDB [conn5] assertion 16550 not authorized for query Error After Upgrade to 2.4

So I recently upgraded the main MongoDB replica set from 2.2.x to 2.4.x for performance and mostly for security after the recent major MongoDB vulnerability. Setting up the replica set in the first place wasn’t too troublesome, but maintaining has been a pain in the butt on and off, MongoDB does have some peculiarities. Once […]

Tags: , , , , , , , , , , ,

Continue Reading · 1 Comment · Internet & Tech, Sys Admin & DevOps

Installing WordPress In A Sub-Directory Using nginx

So I had this issue recently, I had a WordPress site on the main domain, and another WordPress install for some member stuff in a subdirectory/folder inside the main install. The main site worked fine, and the admin panel etc. But when you tried to change the Permalinks, everything got a 404 error. I noticed […]

Tags: , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

sysstat – sar Invalid system activity file: /var/log/sysstat/sa19

After a recent upgrade (not sure which) the sar command stopped working, with the error output: The saXX can be any number, and relates to the log file – which for some reason is corrupt/missing/unreadable. In my case it seems to exist, but doesn’t function. I’ve found the best remedy to this to be purging […]

Tags: , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

Fix Unknown Table Engine ‘INNODB’ Error For MySQL Munin Plugin

If you are running Munin on a newish server, with a new version of MySQL and you have InnoDB disabled (as recommended by scripts like mysqltuner.pl), the Munin plugins for MySQL will fail with the following error: It’s a pretty easy fix though, just edit the follow file: And at line 960-965 (+960 in vim […]

Tags: , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

MongoDB For Ubuntu Doesn’t Install A Logrotate Script

This tripped me up before, one of my servers very rapidly ran out of disk space and I had to figure out why – I scanned the server and found the culprit directory was /var/log/mongodb/ and there was a single multi GB log file in there. I checked /etc/logrotate.d/ and indeed the Ubuntu MongoDB package […]

Tags: , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps

Upgrading Ubuntu 10.04 To Use SVN 1.7 Client

If you are using ‘svn switch‘ on your deployer and you have older servers (Ubuntu 10.04 for example) the standard repo version of SVN will be 1.6, and won’t support the command. What you need to do is upgrade the SVN client to version 1.7x with a PPA package. I suggest using the following commands: […]

Tags: , , , , , , , , , ,

Continue Reading · No Comments · Internet & Tech, Sys Admin & DevOps