Smokeping Failing to Start on Boot (Fedora 24)

I ran into an issue where smokeping wasn’t starting on boot on my fedora 24 systems. Checking the output of:

systemctl status smokeping

Showed me that dns requests were failing and smokeping terminated. So here’s how I fixed it.

Continue reading “Smokeping Failing to Start on Boot (Fedora 24)”

Break/Fix: Varnish 4 and Apache Vhosts

I spent about an hour scratching my head trying to figure out why my name based vhosts stopped working in Apache 2.4 after I setup Varnish. The answer was quite simple and I will freely admit my embarrassment in case it saves anyone else some time:

Don’t forget to update your vhosts so that this:

<VirtualHost *:80>

Looks like:

<VirtualHost *:8080> <substitute 8080 for whatever port you configured apache to listen on>

You’ll then need to reload your Apache config. Common sense, but it can be often overlooked.

Break/Fix: RPM rpmdb: Lock table is out of available locker entries

The full error may look something like this:

    rpmdb: Lock table is out of available locker entries
    error: db4 error(22) from db->close: Invalid argument
    error: cannot open Packages index using db3 - Cannot allocate memory (12)
    error: cannot open Packages database in /var/lib/rpm

Continue reading “Break/Fix: RPM rpmdb: Lock table is out of available locker entries”

Break/Fix: WordPress Permalinks 404 Issue

I recently ran into an issue in which changing the permalinks setting in WordPress resulted in 404 pages across my site. I checked my WordPress root dir and the proper .htaccess file was there with the proper permissons, but permalinks refused to work. It turned out to be a quick fix and a case of “Doh! Stupid mistake on my part”.

Continue reading “Break/Fix: WordPress Permalinks 404 Issue”