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

    Squidguard problem after new install

    Scheduled Pinned Locked Moved pfSense Packages
    20 Posts 8 Posters 8.3k 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.
    • O
      orion182
      last edited by

      i try

      pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/openldap24-client.tbz
      

      and seems it working ok.

      This package is version 2.4.24 and libldap-2.4.so.8 is instaled.

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

        thanks guys..you are all a big help..it worked already…

        i installed
        http://files.pfsense.org/packages/7/All/openldap-sasl-client-2.4.25_1.tbz

        squidguard is up now..thanks..

        1 Reply Last reply Reply Quote 0
        • NetViciousN
          NetVicious
          last edited by

          Perfect. The 2.4.25 package was not on the server yesterday. Now it installs the libldap-2.4.so.8.

          Thanks guys.

          ..//\/ e t . \/ i c i o u s ..

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

            @joviscomp:

            thanks guys..you are all a big help..it worked already…

            i installed
            http://files.pfsense.org/packages/7/All/openldap-sasl-client-2.4.25_1.tbz

            squidguard is up now..thanks..

            I've installed them, but squidguard not start, now i've test it with symlink:

            ln -s libldap-2.4.so.7 libldap-2.4.so.8
            

            now it works…

            1 Reply Last reply Reply Quote 0
            • NetViciousN
              NetVicious
              last edited by

              andreadg88: Very strange, because the 2.4.25 seems to install the correct library.

              Paste here the result of:

              pkg_info
              ls -la /usr/local/lib/libldap*

              ..//\/ e t . \/ i c i o u s ..

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

                here the output of shell…

                it's very strange  ???

                
                # pkg_info
                cyrus-sasl-2.1.23   RFC 2222 SASL (Simple Authentication and Security Layer)
                cyrus-sasl-2.1.23_3 RFC 2222 SASL (Simple Authentication and Security Layer)
                db3-3.3.11_3,1      The Berkeley DB package, revision 3.3
                gd-2.0.35,1         A graphics library for fast creation of images
                jpeg-6b_4           IJG's jpeg compression utilities
                lightsquid-1.7.1_1  A light and fast web based squid proxy traffic analyser
                openldap-sasl-client-2.4.25_1 Open source LDAP client implementation with SASL2 support
                p5-GD-2.39          A perl5 interface to Gd Graphics Library version2
                perl-5.10.1_3       Practical Extraction and Report Language
                perl-5.8.8_1        Practical Extraction and Report Language
                squid-2.7.9         HTTP Caching Proxy
                squidGuard-1.4_3    A fast redirector for squid
                squid_radius_auth-1.10 RADIUS authenticator for squid proxy 2.5 and later
                
                
                
                # ls -la /usr/local/lib/libldap*
                lrwxr-xr-x  1 root  wheel      16 Mar 29 21:37 /usr/local/lib/libldap-2.4.so -> libldap-2.4.so.8
                -rwxr-xr-x  1 root  wheel  264819 Jan  9  2009 /usr/local/lib/libldap-2.4.so.3
                -rw-r--r--  1 root  wheel  299327 Mar 29 21:37 /usr/local/lib/libldap-2.4.so.8
                -rw-r--r--  1 root  wheel  360528 Mar 29 21:37 /usr/local/lib/libldap.a
                -rw-r--r--  1 root  wheel    1006 Mar 29 21:37 /usr/local/lib/libldap.la
                lrwxr-xr-x  1 root  wheel      16 Mar 29 21:37 /usr/local/lib/libldap.so -> libldap-2.4.so.8
                lrwxr-xr-x  1 root  wheel      18 Mar 29 21:37 /usr/local/lib/libldap_r-2.4.so -> libldap_r-2.4.so.8
                -rw-r--r--  1 root  wheel  327982 Mar 29 21:37 /usr/local/lib/libldap_r-2.4.so.8
                -rw-r--r--  1 root  wheel  397856 Mar 29 21:37 /usr/local/lib/libldap_r.a
                -rw-r--r--  1 root  wheel    1029 Mar 29 21:37 /usr/local/lib/libldap_r.la
                lrwxr-xr-x  1 root  wheel      18 Mar 29 21:37 /usr/local/lib/libldap_r.so -> libldap_r-2.4.so.8
                
                
                1 Reply Last reply Reply Quote 0
                • NetViciousN
                  NetVicious
                  last edited by

                  Try to run the squidguard manually from the shell and paste here the error it should show to you:

                  /usr/local/bin/squidGuard -c /usr/local/etc/squidGuard/squidGuard.conf

                  ..//\/ e t . \/ i c i o u s ..

                  1 Reply Last reply Reply Quote 0
                  • R
                    rootchick
                    last edited by

                    I had the same problem after updating squidGuard, and solved it with this:

                    
                    pkg_delete openldap-client\*
                    pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/openldap24-client.tbz
                    
                    

                    The dependencies should be updated or something.  This shouldn't happen when upgrading a package on a stable version.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      The dependencies were updated, the problem is that some people who already had the older ldap version need to reinstall both squid and squidGuard, and occasionally need to pkg_delete squid* openldap* and then reinstall.

                      OpenLDAP had a shared library version bump.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • R
                        rootchick
                        last edited by

                        Thanks, good to know.  I had only updated squidGuard and nothing else.

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