squidGuard errors
Hi All!
I am trying to update my squid and squidguard install. I have them working on an OLD server that is due to be decommissioned. I've set up and installed everything necessary, including the BerkeleyDB. However, when I start squid, I get the following errors before it dies: (squidGuard): error while loading shared libraries: libdb-4.6.so: failed to map segment from shared object: Permission denied To me, it looks like a permissions issue with the BerkeleyDB. I've got the exact configuration as the my old server, but the new versions include the DB. I've gone over and over the install instructions on the squidguard site, but can't seem to find anything. Here's the url_rewrite line from my squid.conf: url_rewrite_program /usr/local/bin/squidGuard -c /usr/local/squidGuard/squidGuard.conf And here is my entire squidguard.conf file: # # CONFIG FILE FOR SQUIDGUARD # # See *OMMITING DUE TO SQUIDGUARD URL* for more examples # dbhome /usr/local/squidGuard/db logdir /usr/local/squidGuard/log dest gambling{ log gambling domainlist gambling/domains urllist gambling/urls } dest porn{ log porn domainlist porn/domains urllist porn/urls } dest local-ok{ domainlist local-ok/domains urllist local-ok/urls } dest local-block{ log local-block domainlist local-block/domains urllist local-block/urls } acl { default { pass local-ok !local-block !gambling !porn all redirect LINE OMITTED DUE TO URL } } |
Configuration issue - solved
As it turns out, this was not an issue with BerkeleyDB or my squidGuard setup. I had SELinux enabled. A co-worker noticed this. Once it was disabled, the server rebooted and BAM! Its up and running!
Now I've just got to learn SELinux so I can spot this next time! |
All times are GMT -5. The time now is 03:51 AM. |