Even after you have successfully installed dansguardian in your system, you may a get an error 'Unable to getgrnam(): Success' when you try to run dansguardian.
Follow these steps to solve this problem.
1. Check whether the user 'nobody' exists.
2. Check whether the group 'nogroup' exits.
see whether 'nogroup' is listed. If not found add it.
3. Now open the dansguardian.conf and edit:
replace '/var/log/dansguardian/' with your location if you have install in it some other location.
Now you will be able to run dansguardian successfully.
Please comment whether it worked or not.
Follow these steps to solve this problem.
1. Check whether the user 'nobody' exists.
$ cat /etc/passwdsee whether 'nobody' is listed. If not found add it.
2. Check whether the group 'nogroup' exits.
$ cat /etc/group
see whether 'nogroup' is listed. If not found add it.
3. Now open the dansguardian.conf and edit:
$ sudo vi /etc/dansguardian/dansguardian.confIf you try to run dansguardian now you may get a error message like this:
uncomment and change # daemongroup = 'nobody' to
daemongroup = 'nogroup'
Error opening/creating log file. (check ownership and access rights).I am running as nobody and I am trying to open /var/log/dansguardian//access.log4. Now change the permissions on your log files.
$ sudo chown -R nobody:nogroup /var/log/dansguardian/
replace '/var/log/dansguardian/' with your location if you have install in it some other location.
Now you will be able to run dansguardian successfully.
Please comment whether it worked or not.
Comments