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

    haproxy-devel 0.59_1 net and haproxy 0.58_5 crash on install

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    36 Posts 7 Posters 6.9k Views 7 Watching
    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.
    • P Offline
      PiBa @amassi
      last edited by

      @amassi
      Hmm yap, seems this is a strange 'item 1' in the config, not sure where that can come from, might be some old history? (have you been using haproxy for a long time?) or perhaps a 'config upgrade' that did something weird.:

      <ha_pools>
      	<item>1</item>
      

      Ill try and make the function that failed on it a bit more resistant to such things now that i know what to look for :).

      1 Reply Last reply Reply Quote 0
      • amassiA Offline
        amassi
        last edited by

        i think it s an old heritage.. Lets see later after next upgrade

        1 Reply Last reply Reply Quote 0
        • B Offline
          BN82
          last edited by

          I know get an error with haproxy-devel-0.59_5 on pfsense 2.4.4.a.20180728.1912

          PHP errors

          PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy.inc, Line: 1476, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:1476
          Stack trace:
          #0 /usr/local/pkg/haproxy/haproxy.inc(2385): haproxy_writeconf('/var/etc/haprox...')
          #1 /usr/local/pkg/haproxy/haproxy.inc(653): haproxy_check_run(1)
          #2 /etc/inc/pkg-utils.inc(760) : eval()'d code(1): haproxy_custom_php_install_command()
          #3 /etc/inc/pkg-utils.inc(760): eval()
          #4 /etc/inc/pkg-utils.inc(847): eval_once('haproxy_custom_...')
          #5 /etc/rc.packages(74): install_package_xml('haproxy-devel')
          #6 {main}
          thrown @ 2018-07-29 14:58:30
          

          Rgds,
          BN

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            PiBa @BN82
            last edited by

            @bn82
            sry.. 0.59_6 coming up. (well once its pulled and compiled..)

            1 Reply Last reply Reply Quote 0
            • amassiA Offline
              amassi
              last edited by

              hello , tried update trouble is back again ;-)

              Crash report begins. Anonymous machine information:

              amd64
              11.2-RELEASE
              FreeBSD 11.2-RELEASE #33 cd0e4c8cf25(RELENG_2_4_4): Thu Jul 26 14:30:12 EDT 2018 root@buildbot3:/builder/crossbuild-ce-master/obj/amd64/FWJoMRHc/builder/crossbuild-ce-master/pfSense/tmp/FreeBSD-src/sys/pfSense

              Crash report details:

              PHP Errors:
              [30-Jul-2018 10:01:06 Europe/Madrid] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/haproxy/haproxy.inc:1476
              Stack trace:
              #0 /usr/local/pkg/haproxy/haproxy.inc(2385): haproxy_writeconf('/var/etc/haprox...')
              #1 /usr/local/pkg/haproxy/haproxy.inc(653): haproxy_check_run(1)
              #2 /etc/inc/pkg-utils.inc(748) : eval()'d code(1): haproxy_custom_php_install_command()
              #3 /etc/inc/pkg-utils.inc(748): eval()
              #4 /etc/inc/pkg-utils.inc(835): eval_once('haproxy_custom_...')
              #5 /etc/rc.packages(74): install_package_xml('haproxy')
              #6 {main}
              thrown in /usr/local/pkg/haproxy/haproxy.inc on line 1476

              No FreeBSD crash data found.

              P 1 Reply Last reply Reply Quote 0
              • M Offline
                maverick_slo
                last edited by

                Same here treid today...

                1 Reply Last reply Reply Quote 0
                • P Offline
                  PiBa @amassi
                  last edited by

                  @amassi @maverick_slo

                  Indeed 0.59_6 is not there yet.. The PR for it is still 'open' : https://github.com/pfsense/FreeBSD-ports/pull/545
                  try again once its available.

                  Q amassiA 2 Replies Last reply Reply Quote 2
                  • Q Offline
                    q54e3w @PiBa
                    last edited by

                    @piba thank you, 0.59_6 fixed the issue for me.

                    1 Reply Last reply Reply Quote 0
                    • amassiA Offline
                      amassi @PiBa
                      last edited by

                      @piba said in haproxy-devel 0.59_1 net and haproxy 0.58_5 crash on install:

                      PR

                      hank you, 0.59_6 fixed the issue for me too ! ♦

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        BN82
                        last edited by BN82

                        On latest snapshot (Thu Aug 23 07:20:11 EDT 2018) I got the following error :

                        Fatal error: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402) in /usr/local/pkg/haproxy/haproxy_utils.inc on line 105
                        PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy_utils.inc, Line: 105, Message: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402)Starting CRON... done.
                        Aug 23 20:56:31 php-fpm[334]: /rc.newwanip: rc.newwanip: Info: starting on ovpns1.
                        Aug 23 20:56:31 php-fpm[334]: /rc.newwanip: rc.newwanip: on (IP address: 172.17.8.1) (interface: OPENVPN_INT[opt2]) (real interface: ovpns1).
                        Aug 23 20:56:32 php-fpm[334]: /rc.newwanip: PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy_utils.inc, Line: 105, Message: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402)
                        Aug 23 20:56:32 php-fpm[334]: /rc.newwanip: New alert found: PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy_utils.inc, Line: 105, Message: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402)
                        Aug 23 20:56:32 php-fpm[335]: /rc.start_packages: Restarting/Starting all packages.
                         Starting package LADVD...done.
                         Starting package haproxy-devel...
                        Fatal error: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402) in /usr/local/pkg/haproxy/haproxy_utils.inc on line 105
                        Aug 23 20:56:33 php-fpm[335]: /rc.start_packages: PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy_utils.inc, Line: 105, Message: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402)
                        Aug 23 20:56:33 php-fpm[335]: /rc.start_packages: New alert found: PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy_utils.inc, Line: 105, Message: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402)
                        PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy_utils.inc, Line: 105, Message: Cannot redeclare getarraybyref() (previously declared in /etc/inc/pfsense-utils.inc:3402)pfSense 2.4.4-DEVELOPMENT amd64 Thu Aug 23 07:20:11 EDT 2018
                        Bootup complete
                        

                        Rgds,
                        BN

                        P 1 Reply Last reply Reply Quote 0
                        • P Offline
                          PiBa @BN82
                          last edited by

                          @bn82
                          yup.. that function was added to base. now needs to be removed from the package

                          1 Reply Last reply Reply Quote 0
                          • Z Offline
                            zwck
                            last edited by

                            same problem on the latest nightly as well 2.4.4.a.20180826.0538 with haproxy_devel 59_9

                            P 1 Reply Last reply Reply Quote 0
                            • P Offline
                              PiBa @zwck
                              last edited by

                              @zwck
                              indeed.. PR is still pending: https://github.com/pfsense/FreeBSD-ports/pull/555
                              hoped that would have been pulled a bit faster..

                              Z 1 Reply Last reply Reply Quote 0
                              • Z Offline
                                zwck @PiBa
                                last edited by

                                @piba maybe tomorrow

                                1 Reply Last reply Reply Quote 0
                                • Z Offline
                                  zwck
                                  last edited by

                                  maybe the day after tomorrow :*(

                                  P 1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    PiBa @zwck
                                    last edited by

                                    @zwck
                                    Today it is 😎
                                    please give haproxy-devel 0.59_10 a try, if it installs properly AND no other issues are found i'm going to make the same changes for 'haproxy' package probably tomorrow. And then hopefully that to will get pulled before this week ends.

                                    Z 1 Reply Last reply Reply Quote 0
                                    • Z Offline
                                      zwck @PiBa
                                      last edited by

                                      @piba I'll give you an update in approx 7hours!

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        maverick_slo
                                        last edited by

                                        Not working see redmine.
                                        Also ACME is not working due to same error.

                                        1 Reply Last reply Reply Quote 0
                                        • Z Offline
                                          zwck
                                          last edited by

                                          @PiBa
                                          Latest build: PFsense 2.4.4.a.20180829.1026 and HaProxy_devel 59_10 works for me

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            maverick_slo
                                            last edited by

                                            Umm can`t see build 1026 of pfsense nor haproxy 10.
                                            ???

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