After enabling -proposed and install haproxy.

Edit /etc/default/haproxy, set ENABLED=1

I modified an entry in the configuration /etc/haproxy/haproxy.cfg 
global
        log /dev/log    local0
        log /dev/log    local1 notice
        chroot /var/lib/haproxy
        user haproxy
        group haproxy
        daemon

defaults
        log     globalss

service haproxy restart
 * Restarting haproxy haproxy                                                   
                                               

[ALERT] 195/191904 (5640) : parsing [/etc/haproxy/haproxy.cfg:10] : 'log' 
expects either <address[:port]> and <facility> or 'global' as arguments.
[ALERT] 195/191904 (5640) : Error(s) found in configuration file : 
/etc/haproxy/haproxy.cfg
[WARNING] 195/191904 (5640) : config : log format ignored for proxy 'http-in' 
since it has no log address.
[ALERT] 195/191904 (5640) : Fatal errors found in configuration.
                                                                                
                                        [fail]

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to haproxy in Ubuntu.
https://bugs.launchpad.net/bugs/1468879

Title:
  Haproxy doesn't checks for configuration on start/reload

Status in haproxy package in Ubuntu:
  Fix Released
Status in haproxy source package in Trusty:
  Fix Released

Bug description:
  [Environment]

  Trusty 14.04.2

  [Description]

  Configuration is not tested before service start or reload

  [Suggested Fix]

  Backport current check_haproxy_config function from utopic+.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1468879/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to