HA Proxy 1.6 fails on 2.3
-
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 -
haproxy-devel-1.7.d1_1 also fails in the same way.
-
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/
-
Does that work if you have already upgraded?
-
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` -
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 {} \; -
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.
-
That worked.
Thanks.
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 LoginPrivacy Policy · Cookie Policy