+ Post New Thread
Results 1 to 10 of 10
*nix Thread, Dansguardian Startup in Technical; Hi All, Anyone care to shed some light on my little problem. Layout: INTERNET (port) > SQUID (8080>3128) > LAN ...
  1. #1
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30

    Dansguardian Startup

    Hi All,

    Anyone care to shed some light on my little problem.

    Layout: INTERNET (port) > SQUID (8080>3128) > LAN

    All incoming traffic redirected to 8080 for Dans Guardian, than onto Squid and the lan, via IPtables, however dansguardian will not start, or well its starting

    At present its been "starting up" for the past 22 minutes just sitting there waiting for the prompt to say its start, chewing 90% processor and a nice chunk of memory.

    Any ideas why it isn't starting, or isn't giving any error messages saying its not starting?

  2. #2
    monkeyx's Avatar
    Join Date
    Nov 2006
    Posts
    364
    Thank Post
    8
    Thanked 52 Times in 41 Posts
    Rep Power
    25
    I once had this issue on a Ubuntu system running dansguardian.

    I actually resolve dit by chance and enabling backports repo. This seemed to allow update to clamav to take place and after that it went back to starting in under 1 min, rather than 5 to 10 mins!

    What distro are you using ?

  3. #3
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    Debian Etch.

    It's rather annoying and frustrating waiting for it too load, if it's ever going to load that is.

  4. #4


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,538
    Thank Post
    271
    Thanked 752 Times in 590 Posts
    Rep Power
    218
    Is this a new setup or an existing setup that's now playing up?

    It could be that it's taking forever to process you blocklists, epecially if they're large or not unsorted.

    What does lsof you?

  5. #5
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    Existing install, but new implementation of Dansguardian, I did unpack a huge chunk of blacklists, however should it take 30minutes+ reading them all?

  6. #6

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,997
    Thank Post
    590
    Thanked 1,500 Times in 1,346 Posts
    Rep Power
    398
    Depends does it read them into memory? if so do you have enough?

    Ben

  7. #7
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    Doesn't read them into memory as far as I can tell, as starting the process off, doesn't spike any memory usage.

  8. #8


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,538
    Thank Post
    271
    Thanked 752 Times in 590 Posts
    Rep Power
    218
    Does accessing the internet directly via squid work?

    If you remove all the blocklists but one - say a single entry for google.com, does dansguardian start?

    If you look in one of the blacklists folders (path may be different on your box):
    Code:
    /usr/local/etc/dansguardian/lists/blacklists/adult
    for example, what do you see?

    If DG has processed your lists, you should see something like
    Code:
    domains  domains.processed  urls  urls.processed
    If you see that, look at the lists towards the end of the alphabet - has it processed them?

  9. #9
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    Pete,

    Followed you advice, and couldn't find any, so i did a updatedb and searched for .processed and the only reply was /blacklists/porn/domains.processed

    Is there anyway to find out if Dans Guardian is actually processing the URLS?

  10. #10
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30
    Few errors and messing around.

    '' Error binding ipc server file '' So I removed the /tmp/.dansguardianipc folder, than '' Error binding something else " so i removed everything in /tmp/.* and dansguardian is now start, however only with the removal of anything in bannedsitelist

    Just about to unhash a file and see if it restarts. Likely cause being dodgy tmp files?

    EDIT: Unhashing is now processing urls. Must have been related to not being able to lock the ipc and lipc files in /tmp/
    Last edited by ahuxham; 24th June 2008 at 01:55 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. Dansguardian
    By DMcCoy in forum *nix
    Replies: 10
    Last Post: 25th January 2008, 01:17 PM
  2. dansguardian
    By callumtuckey in forum How do you do....it?
    Replies: 3
    Last Post: 21st May 2007, 08:43 AM
  3. Replies: 5
    Last Post: 8th May 2007, 11:30 AM
  4. DansGuardian without local Squid
    By NetworkGeezer in forum *nix
    Replies: 2
    Last Post: 13th February 2007, 02:07 PM
  5. Dansguardian Room Blocking
    By disinfo in forum *nix
    Replies: 5
    Last Post: 9th March 2006, 10:30 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •