Hello,
I am trying to use LB update feature, but module load fails
Why is ‘module-load’ keyword unknown eve with 1.7 latest code?
How-to get this file /usr/libexec/haproxy/update.so ?
.
.
Added config:
global
module-load /usr/libexec/haproxy/update.so
Restarted HAProxy with Errors
$ sudo systemctl status haproxy -l
haproxy.service - SYSV: HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments.
Loaded: loaded (/etc/rc.d/init.d/haproxy)
Active: failed (Result: exit-code) since Wed 2016-05-18 07:27:08 EDT; 8min ago
Process: 7235 ExecStop=/etc/rc.d/init.d/haproxy stop (code=exited, status=0/SUCCESS)
Process: 7247 ExecStart=/etc/rc.d/init.d/haproxy start (code=exited, status=1/FAILURE)
Main PID: 7203 (code=exited, status=0/SUCCESS)
May 18 07:27:08 CentOS7x64-New1 systemd[1]: Starting SYSV: HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments....
May 18 07:27:08 CentOS7x64-New1 haproxy[7247]: [ALERT] 138/072708 (7249) : parsing [/etc/haproxy/haproxy.cfg:27] : unknown keyword 'module-load' in 'global' section
May 18 07:27:08 CentOS7x64-New1 haproxy[7247]: [ALERT] 138/072708 (7249) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
May 18 07:27:08 CentOS7x64-New1 haproxy[7247]: [ALERT] 138/072708 (7249) : Fatal errors found in configuration.
May 18 07:27:08 CentOS7x64-New1 haproxy[7247]: Errors found in configuration file, check it with 'haproxy check'.
May 18 07:27:08 CentOS7x64-New1 systemd[1]: haproxy.service: control process exited, code=exited status=1
May 18 07:27:08 CentOS7x64-New1 systemd[1]: Failed to start SYSV: HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments..
May 18 07:27:08 CentOS7x64-New1 systemd[1]: Unit haproxy.service entered failed state.
HAProxy version
http://www.haproxy.org/download/1.7/src/snapshot/haproxy-ss-20160518.tar.gz
$ haproxy -v
HA-Proxy version 1.7-dev3-27b639d 2016/05/17
Copyright 2000-2016 Willy Tarreau <willy@haproxy.org>
Thanks,
Deepak