You probably need to include the location of the squidGuard.conf file, eg:

squidGuard -c /path/to/squidGuard.conf -C /usr/local/squidGuard/db/gambling/domains

Also make sure the .db file is owned by the same user as the other files - if squidGuard can't read it, it will go into emergency mode. All activity is logged to the squidGuard.log file, so you can look there, too.

cheers, Phil


chloong wrote:


I downloaded the new blacklist and previously, i didn't have any .db file.

When i try to generate the .db using :
squidGuard -C /usr/local/squidGuard/db/gambling/domains

and in hang there...

It will take long time to generate the .db file?

my squidGuard.conf is as below :

dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log

    dest gambling {
        domainlist gambling/domains
        urllist    gambling/urls
    }

    acl {
        default {
            pass !gambling all
            redirect http://127.0.0.1/squidGuard-blocked.html
        }
    }

Is there any problem?

please help!

Thanks.



--

Phil Crooker            ORIX Australia                  61 8 8159 8806
UNIX SysAdmin           [EMAIL PROTECTED]               61 8 8159 8855 (fax)




Reply via email to