It seems that you are using a wrong version of dansguardian.
Have you used the installer or have you upgraded a previous version?
Try to upgrade your dansguardian package, you need the version 2.9.9.7-2~hardy2-ppa1
If you want to see what version currently you have and to which one you can upgrade, use the following command:
apt-cache policy dansguardian