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

    SquidGuard-squid3 can't start any more

    Scheduled Pinned Locked Moved Cache/Proxy
    13 Posts 7 Posters 7.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.
    • S
      sacaman
      last edited by

      To make it working i should connect to the SSH console and start this command

      [2.2-RELEASE][root@pfSense.xxxxxxxx.com]/root: squidGuard  -C all -d
      2015-01-30 21:41:10 [62896] New setting: dbhome: /usr/local/share/examples/squidGuard/blacklists
      2015-01-30 21:41:10 [62896] New setting: logdir: /var/log/squidGuard
      2015-01-30 21:41:10 [62896] Added User: root
      2015-01-30 21:41:10 [62896] Added User: foo
      2015-01-30 21:41:10 [62896] Added User: bar
      2015-01-30 21:41:10 [62896] destblock good missing active content, set inactive
      2015-01-30 21:41:10 [62896] destblock local missing active content, set inactive
      2015-01-30 21:41:10 [62896] init domainlist /usr/local/share/examples/squidGuard/blacklists/porn/domains
      2015-01-30 21:41:10 [62896] Error db_open: No such file or directory
      2015-01-30 21:41:10 [62896] Going into emergency mode

      CTRL +C

      and squidGuard already start

      1 Reply Last reply Reply Quote 0
      • F
        Firzze
        last edited by

        Hello,
        Thank you for the command, but I'd like to automate it, how could I do?
        sorry for my english  ;D

        1 Reply Last reply Reply Quote 0
        • S
          sacaman
          last edited by

          to do so

          remove the squidGuard-squid3 version 1.4_7 pkg v.1.9.6

          and install squidGuard-devel 1.5_1beta pkg v.1.5.6 reconfigure it

          reboot and enjoy

          1 Reply Last reply Reply Quote 0
          • C
            crypto
            last edited by

            the SquidGuard dev version installed and it's running but still not filtering.
            I check the Squid setting and it reset the transparent proxy settings and SSL filtering.
            After Setting the squid proxy transparent settings, it works :)

            1 Reply Last reply Reply Quote 0
            • F
              Firzze
              last edited by

              @sacaman:

              to do so

              remove the squidGuard-squid3 version 1.4_7 pkg v.1.9.6

              and install squidGuard-devel 1.5_1beta pkg v.1.5.6 reconfigure it

              reboot and enjoy

              But squidGuard-Devel does not work with squid3 when I reboot the pfsense with squid-devel both are stopped, with Squidguard-squid3 the problem is that the service is stopped squidguard and the only way to start is to squidGuard -C all -d

              1 Reply Last reply Reply Quote 0
              • S
                sacaman
                last edited by

                hi,

                try to setup the squid proxy to the transparent mode and reboot

                1 Reply Last reply Reply Quote 0
                • I
                  irontec
                  last edited by

                  Hi,

                  Same case here. We have a pfsense 2.2-RELEASE (amd64) built on Thu Jan 22 14:03:54 CST 2015. With the installed packages:

                  squid3 -> 3.4.10_2 pkg 0.2.6
                  squidGuard-devel  -> 1.5_1beta pkg v.1.5.6

                  Transparent proxy mode on and the only way to make it work is to launch a blacklist update in the gui or in the shell with:
                  squidGuard -C all -c /usr/pbi/squidguard-amd64/local/etc/squidGuard/squidGuard.conf

                  The the squidguard works well.

                  Does anyone get this fixed?

                  Bye.

                  1 Reply Last reply Reply Quote 0
                  • A
                    aityahiaidir
                    last edited by

                    having the same problem, after resetting pfSense to factory settings and reinstalling the squid and squidguard package, all work normally

                    1 Reply Last reply Reply Quote 0
                    • F
                      foetus
                      last edited by

                      Same issues. Squid crashing / stopping or squidguard not filtering.

                      Did a clean install today with exactly same results.
                      Infuriating as it is, I have an exact same setup running without issues.

                      not planning on touching either package with a 10foot pole for a while till they are stable.

                      1 Reply Last reply Reply Quote 0
                      • I
                        irontec
                        last edited by

                        I would prefer no to reinstall the whole system. I've tried to uninstall the packages delete al related files, reboot and reinstall and the problem persist  :(

                        1 Reply Last reply Reply Quote 0
                        • I
                          irontec
                          last edited by

                          Hi,

                          i've updated the system to the latest pfsense 2.2.1 and the problem persit  :( I've done a workarround by creating a file in /usr/local/etc/rc.d/ with the content:

                          !/bin/sh
                          /usr/pbi/squidguard-devel-amd64/bin/squidGuard -C all -c /usr/pbi/squidguard-amd64/local/etc/squidGuard/squidGuard.conf &
                          /usr/local/sbin/squid -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf -k reconfigure

                          With this workarround the squid/squidguard is running after system (re)start.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Squuiid
                            last edited by

                            Yep, did a full re-install and installed squid3 and squidguard-devel and all is working, except antivirus on squid3.

                            UPDATE: Clicked SAVE twice on antivirus settings of squid3, addressed stated config errors in red, and now antivirus is  working.

                            Snort, Squid3, and Squidguard-devel help contribute to make pfSense one hell of a firewall.

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