Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dansguardian - want to reload from defaults

    Scheduled Pinned Locked Moved Cache/Proxy
    3 Posts 1 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      robatwork
      last edited by

      2.2.2-RELEASE (amd64)
      Dansguardian 2.12.0.3_2 pkg v.0.1.12

      Was working OK but suddenly with no changes made it won't start:
      Jun 9 16:31:05 php-fpm[275]: /rc.start_packages: The command '/usr/local/etc/rc.d/dansguardian.sh start' returned exit code '1', the output was 'kern.ipc.somaxconn: 128 -> 16384 kern.maxfiles: 259273 -> 131072 kern.maxfilesperproc: 233343 -> 104856 kern.threads.max_threads_per_proc: 1500 -> 4096 Starting dansguardian. Error reading file /usr/pbi/dansguardian-amd64/etc/dansguardian/lists/blacklists/catalogue-biu-toulouse/domains: No such file or directory Error reading file /usr/pbi/dansguardian-amd64/etc/dansguardian/lists/blacklists/catalogue-biu-toulouse/domains: No such file or directory Error opening file: /usr/pbi/dansguardian-amd64/etc/dansguardian/lists/blacklists/catalogue-biu-toulouse/domains Error opening bannedsitelist Error opening filter group config: /usr/local/etc/dansguardian/dansguardianf1.conf Error reading filter group conf file(s). Error parsing the dansguardian.conf file or other DansGuardian configuration files /usr/local/etc/rc.d/dansguardian.sh: WARNING: failed to start dansguardi
      Jun 9 16:31:05 root: /usr/local/etc/rc.d/dansguardian.sh: WARNING: failed to start dansguardian
      Jun 9 16:31:05 dansguardian[15808]: Error parsing the dansguardian.conf file or other DansGuardian configuration files
      Jun 9 16:31:05 dansguardian[15808]: Error reading filter group conf file(s).
      Jun 9 16:31:05 dansguardian[15808]: Error opening filter group config: /usr/local/etc/dansguardian/dansguardianf1.conf
      Jun 9 16:31:05 dansguardian[15808]: Error opening bannedsitelist
      Jun 9 16:31:05 dansguardian[15808]: Error opening file: /usr/pbi/dansguardian-amd64/etc/dansguardian/lists/blacklists/catalogue-biu-toulouse/domains
      Jun 9 16:31:05 dansguardian[15808]: Error reading file /usr/pbi/dansguardian-amd64/etc/dansguardian/lists/blacklists/catalogue-biu-toulouse/domains: No such file or directory
      Jun 9 16:31:05 dansguardian[15808]: Error reading file /usr/pbi/dansguardian-amd64/etc/dansguardian/lists/blacklists/catalogue-biu-toulouse/domains: No such file or directory
      Jun 9 16:31:05 php-fpm[275]: /rc.start_packages: Starting Dansguardian

      I have restored back to this morning's autobackup but it still won't start.

      In SSH I have found:
      [2.2.2-RELEASE][root@pfSense]/usr/pbi/dansguardian-amd64/local/etc/dansguardian: ls -l
      total 136
      drwxr-xr-x  2 clamav  nobody    512 Jun 27  2014 authplugins
      drwxr-xr-x  2 clamav  nobody    512 Jun 27  2014 contentscanners
      -r–r--r--  1 clamav  nobody  25719 Jun  9 16:31 dansguardian.conf
      -r--r--r--  1 clamav  nobody  15408 Jun  9 16:31 dansguardianf1.conf
      -rw-r--r--  1 clamav  nobody  14564 Apr 25 21:05 dansguardianf1.conf.sample
      -rw-r--r--  1 clamav  nobody  15399 Jun  9 16:31 dansguardianf2.conf
      -rw-r--r--  1 clamav  nobody  15619 Jun  9 16:31 dansguardianf3.conf
      -rw-r--r--  1 clamav  nobody  15439 May  8 09:09 dansguardianf4.conf
      drwxr-xr-x  2 clamav  nobody    512 Jun 27  2014 downloadmanagers
      drwxr-xr-x  9 clamav  nobody  8704 Jun  8 00:01 lists
      drwxr-xr-x  4 clamav  nobody    512 Apr 25 21:05 ssl

      BUT

      [2.2.2-RELEASE][root@pfSense]/usr/local/etc: ls -l
      total 16
      -rw-r–r--  1 root  wheel  1831 Jun  9 16:30 php.ini
      -rw-r--r--  1 root  wheel  100 Apr 14 02:14 pkg.conf
      drwxr-xr-x  2 root  wheel  512 May 12 20:46 rc.d
      drwxr-xr-x  2 root  wheel  512 Apr 25 21:00 ssl

      ie no dansguardian directory
      Squid is started OK.

      Confused…...help please!

      1 Reply Last reply Reply Quote 0
      • R
        robatwork
        last edited by

        Anyone?

        Or any news on e2guardian as I will switch to that as and when

        thanks

        1 Reply Last reply Reply Quote 0
        • R
          robatwork
          last edited by

          I have been trying to fix this - have removed DG package and reinstalled again but of course it recreates all the config from config.xml, which has a LOT of DG stuff in there.
          So it still falls over in a heap.

          How can I remove all the DG stuff from config.xml, or alternatively load DG with all default settings?
          Had a quick look in viconfig but there isn't a simple <dansguardian></dansguardian>section I can just remove.

          ta

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.