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

    Varnish3 Package + GUI seems broken

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    7 Posts 2 Posters 1.7k 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
      Jules
      last edited by

      The Varnish3 Package + GUI seems broken. ACL is Corrupt.
      Version: Latest PFSense 2.1 DEVELOPMENT snapshot

      When clicking to LB Directors following Error is showing up:
      Fatal error: Cannot create references to/from string offsets nor overloaded objects in /etc/inc/xmlparse.inc on line 69

      CRASH Report:
      Crash report begins. Anonymous machine information:

      amd64
      8.3-RELEASE-p4
      FreeBSD 8.3-RELEASE-p4 #1: Tue Sep 4 17:09:36 EDT 2012 root@snapshots-8_3-amd64.builders.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8

      Crash report details:

      PHP Errors:
      [06-Sep-2012 09:32:57 UTC] PHP Fatal error: Cannot create references to/from string offsets nor overloaded objects in /etc/inc/xmlparse.inc on line 69
      [06-Sep-2012 09:33:21 UTC] PHP Fatal error: Cannot create references to/from string offsets nor overloaded objects in /etc/inc/xmlparse.inc on line 69
      [06-Sep-2012 09:34:57 UTC] PHP Fatal error: Cannot create references to/from string offsets nor overloaded objects in /etc/inc/xmlparse.inc on line 69
      [06-Sep-2012 09:35:17 UTC] PHP Fatal error: Cannot create references to/from string offsets nor overloaded objects in /etc/inc/xmlparse.inc on line 69
      [06-Sep-2012 09:35:24 UTC] PHP Fatal error: Cannot create references to/from string offsets nor overloaded objects in /etc/inc/xmlparse.inc on line 69
      [06-Sep-2012 09:35:29 UTC] PHP Fatal error: Cannot create references to/from string offsets nor overloaded objects in /etc/inc/xmlparse.inc on line 69

      Filename: /var/crash/minfree
      2048

      Seems like the ACL

      Whe i run varnishd in Debug Mode i get this Output:
      Message from VCC-compiler:
      Expected an action, 'if', '{' or '}'
      ('input' Line 79 Pos 17)
      else {
      –--------------####-----

      Running VCC-compiler failed, exit 1

      VCL compilation failed

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        I'll test it when I have time(really busy these days).

        Do you have any 2.0.1 with varnish3 and the same config just to check if your config is ok?

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

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

          The 2.0.1 worked perfectly with the varnish3 build. I've tried another custom .vcl by manually loading it. that worked flawless.
          so it seems there is a lil logical problem in the varnish config build process.. looks like it cuts off some important lines which the web gui should write to config file.

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            maybe something related to php 5.3 as 2.0.1 and 2.1 varnish package use the same gui code.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

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

              it wouldn't wonder me if pfsense 2.1 uses php5.4. but on 5.3 i dunno if this makes much difference.

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                IIRC, pfsense 2.0.1 uses php 5.2 and 2.1 uses 5.3

                On 5.3 some functions used on current packages are deprecated.

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

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

                  ahh well i see. yes that could be the problem ;-)

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