[Bug 1779543] Re: package haproxy (not installed) failed to install/upgrade: installed haproxy package post-installation script subprocess returned error exit status 1

Andreas Hasenack andreas at canonical.com
Mon Jul 2 16:16:39 UTC 2018


Thanks for filing this bug in Ubuntu.

This is the error reported in the logs:
Setting up haproxy (1.8.8-1ubuntu0.1) ...
Job for haproxy.service failed because the control process exited with error code.
See "systemctl status haproxy.service" and "journalctl -xe" for details.
invoke-rc.d: initscript haproxy, action "start" failed.
‚óŹ haproxy.service - HAProxy Load Balancer
   Loaded: loaded (/lib/systemd/system/haproxy.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Tue 2018-06-26 19:31:18 IST; 7ms ago
     Docs: man:haproxy(1)
           file:/usr/share/doc/haproxy/configuration.txt.gz
  Process: 16621 ExecStart=/usr/sbin/haproxy -Ws -f $CONFIG -p $PIDFILE $EXTRAOPTS (code=exited, status=1/FAILURE)
  Process: 16619 ExecStartPre=/usr/sbin/haproxy -f $CONFIG -c -q $EXTRAOPTS (code=exited, status=0/SUCCESS)
 Main PID: 16621 (code=exited, status=1/FAILURE)

Jun 26 19:31:18 Dell systemd[1]: haproxy.service: Main process exited, code=exited, status=1/FAILURE
Jun 26 19:31:18 Dell systemd[1]: haproxy.service: Failed with result 'exit-code'.
Jun 26 19:31:18 Dell systemd[1]: Failed to start HAProxy Load Balancer.
dpkg: error processing package haproxy (--configure):
 installed haproxy package post-installation script subprocess returned error exit status 1


It doesn't tell us enough about why the service failed to start, though.

It also doesn't look like you removed haproxy, as the above shows it
being setup.

What happens when you run these commands:

sudo apt update
sudo apt -f install

If it fails again, then please attach the haproxy configuration file
(/etc/haproxy/haproxy.cfg) and the logs, if any, from
/var/log/haproxy.log

Thanks


** Changed in: haproxy (Ubuntu)
       Status: New => Incomplete

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

Title:
  package haproxy (not installed) failed to install/upgrade: installed
  haproxy package post-installation script subprocess returned error
  exit status 1

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



More information about the Ubuntu-server-bugs mailing list