Do not pass go, do not collect $200.

Checking How a Linux Server Reboot was Triggered

Let’s say you suspect a reboot has occurred on a Linux machine (pingdom alert, other monitoring detects it etc) and you want to find out why and how. Guide based on a Debian install, so may differ slightly between distros. Start off with one of the following to ascertain...

Read more

Using Mysql Instead of SQLite For a Drum (Mezzanine) Project

This post demonstrates how to use mysql instead of sqlite for a Mezzanine project. The documentation is a tad unclear so hopefully this will be of use to someone. You can replace “mysql” with “postgresql_psycopg2″ or “oracle” to make use of an alternate RDMBS, but this procedure is tailored...

Read more

Enabling Wireless in Debian Wheezy With Wicd

Here are some details on how to enable wireless communications to connect to wifi using a Lenovo Thinkpad T430 running Debian Wheezy. It makes use of “wicd”, a popular interface daemon for Linux. This entry is based on my wireless card below. You can find out the specifics of...

Read more

How Many Bad Blocks or Bad Sectors is Too Many on a Failing Harddrive?

So I’ve recently experienced some bad blocks on a personal drive (3TB Seagate Barracuda ST3000DM001). This became apparent after a reboot and attempting to mount the drive once Debian parsed /etc/fstab in its bootup procedures . This began with some verbose logging thrown to console (some quoted below from...

Read more

i3 Tiling Window Manager Config Options

So i3 is a tiling window manager; and it’s awesome (no pun intended, for those of you who use ‘Awesome’). I’ll mention a few things about it, geared towards new users and this also spreads outside the scope of i3 and into other services present in a Debian-based environment....

Read more

Update to uWSGI SIGTERM Issue

Here is an update to my previous post about how the uWSGI web server deals with SIGTERMs. I went into that post with a lot of confusion but Roberto was from Unbit has been kind enough to explain the reasoning behind the decision. The tl;dr is that it’s due...

Read more

uWSGI Failing to Gracefully Stop Worker Processes

I’ve been dealing with an issue as of late, relating to uWSGI worker processes that do not stop gracefully once sent a SIGTERM. At first, I thought it was a misconfiguration with the particular stack I was working with, but ended up finding it was a widespread issue amongst...

Read more

Troubles Writing to NFS Share

So after setting up a quick NFS share with some basic arguments in /etc/exports such as rw,sync,no_subtree_check, I noticed some odd behaviour. From the node mounting the share, I could write files to the share directly but attempting to rsync or cp some files failed. Both directories were owned...

Read more

Running Pithos (Pandora Radio App)

So Pithos is a funky Linux application that allows you to stream Pandora Radio on your Desktop. It provides a nice interface to streaming and means you don’t have to do it via browser. A couple of things were required to install it from source and run from a...

Read more

PHP – No input file specified

When configuring a site to pass .php requests through to fastcgi (with an AddHandler|Action|Alias reference(s)), it’s possible to get a “No input specified” page rendered by the web server. Common troubleshooting advice suggests adding rewrite rules to a .htaccess, which seems a bit random but may be useful in...

Read more

1 2