Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    HA Proxy 1.6 fails on 2.3

    Scheduled Pinned Locked Moved pfSense Packages
    8 Posts 5 Posters 4.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.
    • P
      PayableOnDeath
      last edited by

      just upgraded to to 2.3 and HA proxy is failing to start.

      luckily I don't use it that much at the moment, so isn't a big loss. more of a warning to others who might upgrade.

      PHP Errors:
      [13-Apr-2016 08:11:31 Etc/UTC] PHP Stack trace:
      [13-Apr-2016 08:11:31 Etc/UTC] PHP  1. {main}() /usr/local/www/haproxy_stats.php:0
      [13-Apr-2016 08:11:31 Etc/UTC] PHP  2. file_get_contents() /usr/local/www/haproxy_stats.php:54
      [13-Apr-2016 08:11:41 Etc/UTC] PHP Fatal error:  Call to undefined function get_configured_carp_interface_list() in /usr/local/pkg/haproxy_utils.inc on line 164
      [13-Apr-2016 08:11:41 Etc/UTC] PHP Stack trace:
      [13-Apr-2016 08:11:41 Etc/UTC] PHP  1. {main}() /usr/local/www/haproxy_listeners.php:0
      [13-Apr-2016 08:11:41 Etc/UTC] PHP  2. haproxy_check_config() /usr/local/www/haproxy_listeners.php:76
      [13-Apr-2016 08:11:41 Etc/UTC] PHP  3. get_frontend_ipport() /usr/local/pkg/haproxy.inc:1882
      [13-Apr-2016 08:11:41 Etc/UTC] PHP  4. haproxy_interface_ip() /usr/local/pkg/haproxy.inc:1820
      [13-Apr-2016 08:11:41 Etc/UTC] PHP  5. haproxy_get_bindable_interfaces() /usr/local/pkg/haproxy_utils.inc:108
      [13-Apr-2016 08:20:26 Etc/UTC] PHP Fatal error:  Cannot redeclare haproxy_portoralias_to_list() (previously declared in /usr/local/pkg/haproxy.inc:267) in /usr/local/pkg/haproxy/haproxy.inc on line 444
      [13-Apr-2016 08:20:26 Etc/UTC] PHP Stack trace:
      [13-Apr-2016 08:20:26 Etc/UTC] PHP  1. {main}() /etc/rc.filter_configure_sync:0
      [13-Apr-2016 08:20:26 Etc/UTC] PHP  2. filter_configure_sync() /etc/rc.filter_configure_sync:37
      [13-Apr-2016 08:20:26 Etc/UTC] PHP  3. filter_nat_rules_generate() /etc/inc/filter.inc:297
      [13-Apr-2016 08:20:26 Etc/UTC] PHP  4. discover_pkg_rules() /etc/inc/filter.inc:2373
      [13-Apr-2016 08:20:26 Etc/UTC] PHP  5. require_once() /etc/inc/filter.inc:4208

      1 Reply Last reply
      Reply Quote 0
      • P
        PayableOnDeath
        last edited by

        haproxy-devel-1.7.d1_1 also fails in the same way.

        1 Reply Last reply
        Reply Quote 0
        • S
          Spix
          last edited by

          One way to do it: http://blog.stordata.se/index.php/2016/04/13/upgrade-to-pfsense-2-3-breaks-haproxy-how-to-do-it/

          1 Reply Last reply
          Reply Quote 0
          • P
            PayableOnDeath
            last edited by

            Does that work if you have already upgraded?

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

              You can safely remove all haproxy*.inc and haproxy*.php files and then reinstall the package, that should get rid of the haproxy issues.

              rm `find / -name "haproxy*.inc" -print`
              rm `find / -name "haproxy*.php" -print`
              
              1 Reply Last reply
              Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                @PiBa:

                rm `find / -name "haproxy*.inc" -print`
                rm `find / -name "haproxy*.php" -print`
                

                That's a bit dangerous method…. try this:

                find / \( -name "haproxy*.inc" -o -name "haproxy*.php" \) -exec rm -rf {} \;
                

                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
                • M
                  mreardon
                  last edited by

                  @jimp:

                  That's a bit dangerous method…. try this:

                  find / \( -name "haproxy*.inc" -o -name "haproxy*.php" \) -exec rm -rf {} \;
                  

                  Thanks!  I came here having the same issue with haproxy and this resolved it.

                  1 Reply Last reply
                  Reply Quote 0
                  • P
                    PayableOnDeath
                    last edited by

                    That worked.

                    Thanks.

                    1 Reply Last reply
                    Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post
                    Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                    Privacy Policy · Cookie Policy