Project

General

Profile

Actions

Bug #14674

closed

Error after upgrade to HAProxy 0.62_1

Added by Chad High 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
haproxy
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
23.05.1
Affected Architecture:

Description

Looks like nbproc is no long supported in the config file and needs to be removed in order to start the service.

Error Message:
Errors found while starting haproxy
[NOTICE] (64833) : haproxy version is 2.7.6-4dadaaa
[NOTICE] (64833) : path to executable is /usr/local/sbin/haproxy
[ALERT] (64833) : config : parsing [/var/etc/haproxy_test/haproxy.cfg:8] : nbproc is not supported any more since HAProxy 2.5. Threads will automatically be used on multi-processor machines if available.
[ALERT] (64833) : config : Error(s) found in configuration file : /var/etc/haproxy_test/haproxy.cfg
[ALERT] (64833) : config : Fatal errors found in configuration.


Related issues

Has duplicate Regression #14675: HA Proxy can’t commit changes Duplicate

Actions
Actions #1

Updated by Kevin Ruffus 11 months ago

Can confirm. Manually editing the file doesn't work.

Actions #2

Updated by Willem-Jan v R 11 months ago

I had the same issue. Luckily the develop version was working. I didn't make a new boot environment to restore from.
Is there another way to downgrade back to an older package?

Chad High wrote:

Looks like nbproc is no long supported in the config file and needs to be removed in order to start the service.

Error Message:
Errors found while starting haproxy
[NOTICE] (64833) : haproxy version is 2.7.6-4dadaaa
[NOTICE] (64833) : path to executable is /usr/local/sbin/haproxy
[ALERT] (64833) : config : parsing [/var/etc/haproxy_test/haproxy.cfg:8] : nbproc is not supported any more since HAProxy 2.5. Threads will automatically be used on multi-processor machines if available.
[ALERT] (64833) : config : Error(s) found in configuration file : /var/etc/haproxy_test/haproxy.cfg
[ALERT] (64833) : config : Fatal errors found in configuration.

Actions #3

Updated by Crystian Geovani Dorabiatto 11 months ago

I had the same issue, Im using the Dev PKG but the Dev PKG has a lot of issue about SSL, in the past they fixed the same issue look here (https://redmine.pfsense.org/issues/12992) I think they forgot to merge on actual version.

Actions #4

Updated by Jim Pingle 11 months ago

Actions #5

Updated by Jim Pingle 11 months ago

  • Status changed from New to In Progress
  • Assignee set to Jim Pingle
Actions #6

Updated by Jim Pingle 11 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

I updated the non-devel version of the package with the code from -devel. The underlying versions of haproxy updated and now it needs the newer code there. It works fine here in my lab testing so far.

There is more cleanup that could be done now that both versions are more up-to-date but that can wait.

New version of the package is building now.

Actions #7

Updated by Willem-Jan v R 11 months ago

It seems to be working properly now with the new build no errors. Thanks

Actions #8

Updated by Crystian Geovani Dorabiatto 11 months ago

It works for me too, thank you so much

Actions #9

Updated by Jim Pingle 11 months ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF