Blog

Observations from the worlds of technology, broadcast, marketing and other interesting stuff.


FreeBSD pkg. libpkg.so.3: Undefined symbol openat

/usr/local/lib/libpkg.so.3: Undefined symbol “openat” when using pkg to install software

read more

Nginx proxy pass generating 404 errors

Client getting 404 error with what looked to be a correct nginx proxy configuration.

read more

Gmail SPF checks when collecting mail via POP3

Gmail performs additional SPF checks when collecting mail via POP3 that can cause spurious SPF failures.

read more

FreeBSD 10 on AWS EC2

FreeBSD’s support for Amazon Web Services (AWS) is better than ever. This short tutorial shows you how to create a FreeBSD 10 VM on Amazon Elastic Cloud Compute (EC2) and use it to serve web page with nginx.

read more

MySQL Database, Table and Index Sizes

As part of administering our customer MySQL databases we often want to know the size of databases, tables and indexes. These are a few of the commands we commonly use on MySQL and Percona 5.6.

read more

Bashing poor old Bash with regards to CVE-2014-6271 on FreeBSD

So yesterday a 20-odd year old bug in the popular bash shell was announced. In essence the bug allows a user to set a environmental variable it is possible to include additional executable code.

read more

Checking replication lag on a mongo replication set

A shell script to report replication lag on a mongo replication set

read more

Auditing ports and packages with 'pkg ng'

We used to use jailaudit to produce a portaudit for all our jails, but it would seem that portaudit and jailaudit need some work before they are happy in the newer ecosystem. However new pkg ng tools can audit things directly including jails. This is great, but we were lacking an easy way to audit all our jails as we used to.

read more

Logging with Ruby Sinatra and Passenger

If you read around about logging in the wonderful Sinatra framework you’ll tend to find something that suggests you just reopen STDOUT and STDERR in your config.ru file. That worked fine and has served me well for quite a while. All that changed with more recent versions of the Passenger Gem which I tend to use in concert with Nginx to deploy my Ruby web applications. You see Passenger now seems to use STDOUT to do a lot of chatting to itself on and re-directing it in the above fashion just breaks things. Here is the way I work around that.

read more

The rise of “not now” (whatever happened to us being able to say no?)

I’ve noticed a trend that seems to becoming increasingly prevalent in all forms of websites and apps and that’s “not now”.

read more

IPMI sensor access on FreeBSD

With the more recent versions of Passenger logging errors and information in Sinatra has become harder, here is the way I work around that.

read more

©2017 Sundive Networks LLP

Sundive Networks LLP · 27 Old Gloucester Street · London · WC1N 3AX

Registered Company No. OC364341