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

    Can't start squidGuard

    Scheduled Pinned Locked Moved Cache/Proxy
    23 Posts 21 Posters 12.4k 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.
    • K
      knottolf
      last edited by

      You can try the following if you have / had a line similar to this during install (and it's not the lack of blacklist update!):
      "Warning: file_put_contents(/usr/pbi/squidguard-amd64/etc/squidGuard/squidguard_conf.xml): failed to open stream: No such file or directory in /usr/local/pkg/squidguard.inc on line 1032"

      Open the file '/usr/local/pkg/squidguard_configurator.inc'

      Find the line:
      define('SQUIDGUARD_WORKDIR', SQUIDGUARD_LOCALBASE . '/etc/squidGuard');

      Change it to:
      define('SQUIDGUARD_WORKDIR', SQUIDGUARD_LOCALBASE . '/local/etc/squidGuard');

      Worked for me!

      1 Reply Last reply Reply Quote 0
      • J
        jerekyox
        last edited by

        I have tried ismaelnoble's approach. Working for me so far.

        1 Reply Last reply Reply Quote 0
        • J
          jmccoy555
          last edited by

          Did the trick for me to….. this has been driving me mad!!!!

          Thanks.

          @chidgear:

          Hi!
          I did this:
          After downloading a blacklist from shallalist.de , create a target Category (call it as you want) add a least one domain and start Squidguard with the apply button (if it hasn't started yet) According to certain posts regarding to the Squidguar manual, this is a necesary condition to use blacklists and another configurations. In my particular case, I've created a target category called "White_list" on which I've added the sites contained in the default blacklist but that I wish to access anytime (for example, wikipedia.org, wikimedia.org and pfsense.org).

          after doing this, I can reboot the server, an the SquidGuard service boots automatically after one minute.

          Try it and, if it works for you, come back and tell us!

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