Failed to verify krb5 credentials: Server not found in Kerberos database

I was getting “Failed to verify krb5 credentials: Server not found in Kerberos database” errors when trying to use Kerberos authentication in Apache2. The problem was in my /etc/hosts file. I needed to change this:

10.183.97.44    charity.progclub.org charity
67.207.128.184  charity-public

To this:

10.183.97.44    charity.progclub.org charity
67.207.128.184  charity.progclub.org charity-public

Error: post-commit hook failed (exit code 255) with no output

In subversion I was getting the error “post-commit hook failed (exit code 255) with no output” after trying to configure my post-commit hook to send email notifications. At first I thought the problem must have been related to the mailer, but I ran the mail command manually and it worked fine. Eventually I figured out that the problem was that the hooks/post-commit file hadn’t been marked executable. So it was a simple chmod +x to fix the problem.