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

    Pfsense deleting squidGuard for no apparent reason?

    Cache/Proxy
    4
    6
    1.4k
    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.
    • J
      johnd
      last edited by

      I am running a box with pfsense and squidGuard. Would there be any reason in which pfsense would remove the squidGuard daemon? Would pfsense delete the squidGuard program entirely if it could not find a pkg file specified in an xml file? I simply cannot fathom how squid simply disappeared on my box other than pfsense somehow got rid of it.

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        I am running a box with pfsense and squidGuard.

        How do you do this? NANOBSD on USB Stick, full install on a mSATA or SSD/HDD?
        Which version do you running? pfSense 2.1.5 & SquidGuard x.x.x

        Would there be any reason in which pfsense would remove the squidGuard daemon?

        Are there not log files you could have a look inside?

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          What were you doing before pfSense "deleted squidGuard for o apparent reason"?

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

            You're using squid and squidGuard interchangeably when they're two different things.  Squid is the caching web proxy service and squidGuard is the URL filter helper program.

            No, pfSense won't delete any packages unless you tell it to.

            What is the actual problem you are having?

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

              I figured out what happened. So on reboot during the package sync simply because pfsense cannot find a package it decides to remove the entire program without creating a backup or checking whether it can be reinstalled.
              here is the boot log.

              Syncing packages: snort�ٻ� snort-whitelist SnortAdvanced stunnel squid HAVP antivirus squidGuard
              Beginning package installation for ...
              
              Installing squidGuard and its dependencies.
              Removing package...
              Removing squidGuard components...
              
              Warning: fwrite(): 293 is not a valid stream resource in /etc/inc/pkg-utils.inc on line 794
              
              Beginning package installation for ...
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/pkg-utils.inc(303) : eval()'d code on line1
              
              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                Sigh. No, pfSense does not reinstall package on reboots. It reinstalls them on upgrade. It clearly failed with the squidGuard junk.

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