Author Archives: admin

Easy Linux DRBD cluster

If you are looking for an easy way to set up a DRBD cluster with automatic failover, take a look at the LCMC tool. It really simplifies the setup of corosync and pacemaker to give you failover clustering. It is … Continue reading

Posted in DRBD, Linux | Comments Off on Easy Linux DRBD cluster

ImportError: cannot import name utils

If you get an error like this: File “python/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py”, line 9, in <module> from django.db import utils ImportError: cannot import name utils You need to install psycopg2.  You will also probably need to apt-get install build-essential libpq-dev

Posted in django, python | Comments Off on ImportError: cannot import name utils

Remote command execution failed

When running check_by_ssh commands in nagios, one often receives this annoying  message, and no data.   To fix it, become the nagios user and ssh to the server you are checking by ssh.  It will add the server to the … Continue reading

Posted in Linux, nagios | Comments Off on Remote command execution failed

Error: pg_config executable not found.

This bogus error can be frustrating to figure out. I have figured it out a few times over the years and always forget how I solved it because it only occurs on a server where you have never deployed a … Continue reading

Posted in Linux, postgres, python | Comments Off on Error: pg_config executable not found.

Kerberos not working. Kinit says “password incorrect”

I was trying to test my kerberos configuration, but I kept getting “Password Incorrect”: root@samba4:/etc/samba# kinit administrator [email protected]’s Password: kinit: Password incorrect See that lowercase @mydomain.local? That is the problem. The domain must be in upper case in your krb5.conf … Continue reading

Posted in Linux | Comments Off on Kerberos not working. Kinit says “password incorrect”