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

    Squid + SquidGuard stopped service @boot

    Scheduled Pinned Locked Moved Cache/Proxy
    3 Posts 3 Posters 2.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.
    • I
      icantsleep
      last edited by

      Hi guys I installed squid and squidguard.

      squid and squidguard service is always stopped at boot.

      i have to shell with this command to start squidguard "squidguard -c all -d"
      then squid will reply: squidGuard: cannot open config fill all
                                                        going to emergency mode.
      then SquidGuard service will start.

      squid is still stopped.
      i tried to start it, it shows started after few seconds it stops again.
      it happens whenever there is a custom option in squid.

      the custom option is inserted automatically by squidguard.
      i remove it.
      save.
      and then ill see that squid service is now running.

      problem is.
      squidguard doest seem to block pornsites.
      and i think the custom option is used to call squidguard.
      but i removed it to be able to start the squid service.

      please help dunno what to do now.

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Posting multiple threads about it wont help you any faster.

        I've already answered your other post here.

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          This may be related to empty blacklist after a reboot.

          this script created by carlospicture placed on /usr/local/etc/rc.d may help:

          
           #!/usr/local/bin/php -f
              $incl = "/usr/local/pkg/squidguard_configurator.inc";
              if (file_exists($incl)) {
                  require_once($incl);
                  sg_reconfigure_blacklist( "http://www.shallalist.de/Downloads/shallalist.tar.gz", "" );
              }
              exit;
          ?>
          
          

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

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