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

Squid errors

Scheduled Pinned Locked Moved pfSense Packages
60 Posts 17 Posters 41.8k 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.
  • J
    jeroen234
    last edited by Jan 8, 2006, 9:34 PM

    well that one is gone but…...

    it is replaced by this one

    
    Fatal error: Call to undefined function: global_eval_auth_options() in /usr/local/www/pkg_edit.php(164) : eval()'d code on line 1
    
    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Jan 8, 2006, 9:58 PM

      More errors fixed.  Please deinstall and reinstall the package and let me know if that error goes away.

      1 Reply Last reply Reply Quote 0
      • C
        charles.regan
        last edited by Jan 9, 2006, 3:59 PM Jan 9, 2006, 2:47 PM

        oh oh!!!  :o

        Just installed the package… no more connection possible, everything is blocked !? No more WebGUI
        Maybe Squid is not working with a loadbalance setup ?

        I've put back a config.xml from yesterday now inet works, but I can't access the webgui.. that's the only thing now...

        When i type:

        lighttpd

        /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "lighttpd"

        hmm, how to fix this ?

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by Jan 9, 2006, 4:02 PM Jan 9, 2006, 3:59 PM

          That happens when you uininstall a package however I don't recall that happening to Squid.

          This bug is fixed in beta2, we need the package information for lighty in /var/db/ otherwise it won't work.

          To fix it, do this from a shell:

          pkg_add -r ftp://ftp2.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/lighttpd-1.4.8.tbz

          Then exit out to the menu and run option 11.

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by Jan 9, 2006, 4:02 PM

            Sorry, that's what I get for answering emails when I first awake.  I modified the original message.

            pkg_add -r

            1 Reply Last reply Reply Quote 0
            • C
              charles.regan
              last edited by Jan 9, 2006, 4:51 PM Jan 9, 2006, 4:22 PM

              Squid is not working for me.

              Deleted SQUID, deleted all squid entries in config.xml
              Reinstalled SQUID

              Now all connection goes to 127.0.0.1:3128 when i check pftop
              But no webpage loads on the browser.

              Error log in cache.log
              2006/01/09 20:12:10| WARNING: Cannot run '/usr/local/libexec/squid/dnsserver' process.
              2006/01/09 20:12:10| Accepting HTTP connections at 10.0.0.1, port 3128, FD 8.
              2006/01/09 20:12:10| Accepting ICP messages at 0.0.0.0, port 3130, FD 9.
              2006/01/09 20:12:10| Accepting HTCP messages on port 4827, FD 11.
              2006/01/09 20:12:10| Accepting SNMP messages on port 3401, FD 13.
              2006/01/09 20:12:10| WCCP Disabled.
              2006/01/09 20:12:10| commBind: Cannot bind socket FD 14 to 127.0.0.1:0: (49) Can't assign requested address
              2006/01/09 20:12:10| commBind: Cannot bind socket FD 14 to 127.0.0.1:0: (49) Can't assign requested address
              2006/01/09 20:12:10| ipcCreate: Failed to create child FD.
              2006/01/09 20:12:10| Loaded Icons.
              2006/01/09 20:12:10| eventCleanup
              2006/01/09 20:12:10| Ready to serve requests.

              I don't have a loopback address…

              ping 127.0.0.1

              PING 127.0.0.1 (127.0.0.1): 56 data bytes
              ping: sendto: Can't assign requested address

              EDIT: my loopback is only IPv6 why?
              ifconfig
              lo0: flags=8048 <loopback,running,multicast>mtu 16384
                      inet6 ::1 prefixlen 128
                      inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7

              What can I do to make it work?

              thanks</loopback,running,multicast>

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by Jan 9, 2006, 5:00 PM

                Rebooting will most likely fix this.  The loopback bug is fixed in beta2.

                1 Reply Last reply Reply Quote 0
                • L
                  Leoandru
                  last edited by Jan 10, 2006, 3:15 PM

                  Well I installed squid and it works fine only one problem.. My traffic shaping for Http no longer works. http traffic is pushed into the default queue. well I got to figure this out later but I guess if I change squid to port 80 it should be back on track.

                  1 Reply Last reply Reply Quote 0
                  • L
                    Leoandru
                    last edited by Jan 10, 2006, 5:28 PM

                    @Leoandru:

                    well I got to figure this out later but I guess if I change squid to port 80 it should be back on track.

                    well that didnt work!

                    1 Reply Last reply Reply Quote 0
                    • R
                      rexster
                      last edited by Jan 11, 2006, 5:07 AM Jan 11, 2006, 4:54 AM

                      still didnt work for me.

                      i did a clean & fresh re-install pfsense beta1.
                      then install squid.

                      still same problem. no /var/squid stuffs.

                      then i create the folder base from http://forum.pfsense.org/index.php?topic=23.msg2391#msg2391
                      and got it started.
                      but it gives error in log:

                      2006/01/11 11:43:56| commBind: Cannot bind socket FD 13 to 127.0.0.1:0: (49) Can't assign requested address
                      2006/01/11 11:43:56| commBind: Cannot bind socket FD 13 to 127.0.0.1:0: (49) Can't assign requested address
                      2006/01/11 11:43:56| ipcCreate: Failed to create child FD.

                      then i reboot and squid still didnt start up automatically.

                      i go to shell and start squid and everything works OK now.

                      btw.
                      cant start squid from web gui.
                      also, transparent seems still didnt work yet.

                      tnx
                      rex

                      http://www.GoBlogLah.com

                      1 Reply Last reply Reply Quote 0
                      • F
                        fernandotcl
                        last edited by Jan 12, 2006, 11:35 AM

                        I've noticed that too. The problem is that 127.0.0.1 can't be resolved. It's that the loopback interface isn't assigned an address some times. To quick fix it, just do ifconfig lo0 127.0.0.1, and then restart all the services that bind to a port on 127.0.0.1.

                        1 Reply Last reply Reply Quote 0
                        • S
                          sullrich
                          last edited by Jan 31, 2006, 9:15 PM

                          Anyone having problems with squid installs should make sure they are on the latest testing snapshot.

                          NO, beta 1 WILL NOT WORK.  Upgrade if you're on beta 1 having problems.

                          http://www.pfsense.com/~sullrich/1.0-BETA1-TESTING-SNAPSHOT-1-29-06/ is the latest testing snapshot.

                          1 Reply Last reply Reply Quote 0
                          • R
                            rcasas
                            last edited by Feb 7, 2006, 4:56 PM

                            @jeroen234:

                            well that one is gone but…...

                            it is replaced by this one

                            
                            Fatal error: Call to undefined function: global_eval_auth_options() in /usr/local/www/pkg_edit.php(164) : eval()'d code on line 1
                            

                            I don't know if this was corrected, but in 1.0-BETA1-TESTING-SNAPSHOT-2-5-06, I have needed to put the "" at the end of the file squid_auth.inc because I was having the same error.

                            I've also had to change the fwrite who writes the xml heading in each auth funcion (dynamic_no_auth, …) with this one:

                            fwrite($fout, "\n");

                            1 Reply Last reply Reply Quote 0
                            • S
                              sullrich
                              last edited by Feb 7, 2006, 5:05 PM

                              Thanks, I just corrected those issues.

                              1 Reply Last reply Reply Quote 0
                              • R
                                rcasas
                                last edited by Feb 7, 2006, 6:58 PM

                                @sullrich:

                                Thanks, I just corrected those issues.

                                I'm still having some problems with the squid package.

                                When I add a new local user, I get this error page:

                                "Warning: Unexpected character in input: '' (ASCII=92) state=1 in /usr/local/www/pkg_edit.php(167) : eval()'d code on line 1 Warning: Unexpected character in input: '' (ASCII=92) state=1 in /usr/local/www/pkg_edit.php(167) : eval()'d code on line 1 Parse error: syntax error, unexpected $end in /usr/local/www/pkg_edit.php(167) : eval()'d code on line 1 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/pkg_edit.php(167) : eval()'d code:1) in /usr/local/www/pkg_edit.php on line 186"

                                After this, I can see the user in the web listing, but he is not in the /usr/local/etc/squid/advanced/ncsa/passwd file. Also, although I configure user authentification, the squid permit browsing through it.

                                1 Reply Last reply Reply Quote 0
                                • R
                                  rcasas
                                  last edited by Feb 9, 2006, 9:32 AM

                                  @rcasas:

                                  @sullrich:

                                  Thanks, I just corrected those issues.

                                  I'm still having some problems with the squid package.

                                  When I add a new local user, I get this error page:

                                  "Warning: Unexpected character in input: '' (ASCII=92) state=1 in /usr/local/www/pkg_edit.php(167) : eval()'d code on line 1 Warning: Unexpected character in input: '' (ASCII=92) state=1 in /usr/local/www/pkg_edit.php(167) : eval()'d code on line 1 Parse error: syntax error, unexpected $end in /usr/local/www/pkg_edit.php(167) : eval()'d code on line 1 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/pkg_edit.php(167) : eval()'d code:1) in /usr/local/www/pkg_edit.php on line 186"

                                  After this, I can see the user in the web listing, but he is not in the /usr/local/etc/squid/advanced/ncsa/passwd file. Also, although I configure user authentification, the squid permit browsing through it.

                                  Hi, I've solved also this problem.

                                  PHP doesn't interpret \n characters in strings between single quotes.

                                  To solve this, Ive changed this 2 lines:

                                  fwrite($fout, '        require_once("/usr/local/pkg/squid_ng.inc");\n');
                                  fwrite($fout, '        mwexec("/usr/local/sbin/squid -k reconfigure");\n');

                                  with these:

                                  fwrite($fout, "        require_once("/usr/local/pkg/squid_ng.inc");\n");
                                  fwrite($fout, "        mwexec("/usr/local/sbin/squid -k reconfigure");\n");

                                  in the generation of the custom_add_php_command_late of each function,

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    sullrich
                                    last edited by Feb 12, 2006, 9:39 PM

                                    @rcasas:

                                    PHP doesn't interpret \n characters in strings between single quotes.

                                    To solve this, Ive changed this 2 lines:

                                    fwrite($fout, '        require_once("/usr/local/pkg/squid_ng.inc");\n');
                                    fwrite($fout, '        mwexec("/usr/local/sbin/squid -k reconfigure");\n');

                                    with these:

                                    fwrite($fout, "        require_once("/usr/local/pkg/squid_ng.inc");\n");
                                    fwrite($fout, "        mwexec("/usr/local/sbin/squid -k reconfigure");\n");

                                    in the generation of the custom_add_php_command_late of each function,

                                    Thanks, these are changed!

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      rexster
                                      last edited by Feb 25, 2006, 6:07 AM

                                      just did clean install on snapshot 2-19-06

                                      the gui said squid is running. but when i ssh to pfsense and try squid -k reconfigure,
                                      it said squid is not running.

                                      when i try squid start, it gives me:

                                      2006/02/25 12:55:35| aclParseIpData: Bad host/IP: '/'
                                      2006/02/25 12:55:35| aclParseAclLine: WARNING: empty ACL: acl localnet src /
                                      2006/02/25 12:55:35| aclParseAclLine: WARNING: empty ACL: acl pf_ips    dst
                                      2006/02/25 12:55:35| parseConfigFile: line 64 unrecognized: 'header_access X-Forwarded-For deny all'
                                      2006/02/25 12:55:35| parseConfigFile: line 65 unrecognized: 'header_access Via deny all'

                                      even that i have already put my network address into allowed subnet.

                                      anything i did wrong??

                                      rgds
                                      rex

                                      http://www.GoBlogLah.com

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rexster
                                        last edited by Apr 1, 2006, 8:09 AM

                                        just installed squid on pfsense beta2.

                                        it works fine right after it's installed.

                                        but when i start configure things from the gui,
                                        it gives me error just like the one in my post before this.

                                        why the options in the gui is not same with default installed squid.conf ??

                                        tia
                                        rex

                                        http://www.GoBlogLah.com

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sullrich
                                          last edited by Apr 3, 2006, 7:13 PM

                                          @rexster:

                                          just installed squid on pfsense beta2.

                                          it works fine right after it's installed.

                                          but when i start configure things from the gui,
                                          it gives me error just like the one in my post before this.

                                          why the options in the gui is not same with default installed squid.conf ??

                                          tia
                                          rex

                                          Bugs.  Squids maintainer seems to be MIA so we are trying to mop up the issues as they arise but I am pretty burned out on the situation.

                                          Patches accepted.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received