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

    Squidguard update script error

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 1.2k 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
      Ivart
      last edited by

      I'm trying cron squidGuard_blacklist_update.sh to update blacklist everyday but it can't reconfigure squid because after database update ends the command to reconfigure squid points to wrong place. The correct path for squid is /usr/pbi/squid-i386/sbin/squid and not /local/sbin/squid

      php: squidGuard_blacklist_update.sh: The command '/usr/pbi/squid-i386/local/sbin/squid -k reconfigure' returned exit code '1', the output was 'Shared object "libmd5.so.0" not found, required by "squid"'

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

        Friend, try to add sim-link

        ln -s /usr/pbi/squid-i386/local/lib/libmd5.so.0 /usr/lib/libmd5.so.0
        

        Possibly it is necessary to add sim-links and for other files on which there will be error in log.

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

          Fix the library problems, but now I´m stucked with this error

          ERROR: MIME Config Table /usr/local/etc/squid/mime.conf: (2) No such file or directory FATAL: MIME Config Table /usr/local/etc/squid/mime.conf: (2) No such file or directory Squid Cache (Version 3.4.10): Terminated abnormally

          I did  the symlinks

          
          ln -s /usr/pbi/squid-i386/local/lib/libmd5.so.0 /usr/lib/libmd5.so.0
          ln -s /usr/pbi/squid-i386/local/lib/libecap.so.2 /usr/lib/libecap.so.2
          ln -s /usr/pbi/squid-i386/local/etc/squid/squid.conf /usr/local/etc/squid/squid.conf
          ln -s /usr/pbi/squid-i386/local/etc/squid/mime.conf /usr/local/etc/squid/mime.conf
          
          

          I think the best solution is squidGuard scritp points /usr/pbi/squid-i386/sbin/squid because there is no error with /usr/pbi/squid-i386/sbin/squid -k reconfigure

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