Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start HA Proxy service. #7

Open
arpipati opened this issue Jan 29, 2022 · 0 comments
Open

Unable to start HA Proxy service. #7

arpipati opened this issue Jan 29, 2022 · 0 comments

Comments

@arpipati
Copy link

arpipati commented Jan 29, 2022

After creating the HA Proxy configuration file and trying to restart HA Proxy, I get this error:

#sudo journalctl -u haproxy.service --since today --no-pager
Jan 29 00:00:17 master-1 haproxy[16567]: [ALERT] 028/000017 (16567) : Starting frontend kubernetes: cannot bind socket [192.168.5.30:6443]
Jan 29 00:00:17 master-1 systemd[1]: haproxy.service: Main process exited, code=exited, status=1/FAILURE
Jan 29 00:00:17 master-1 systemd[1]: haproxy.service: Failed with result 'exit-code'.
Jan 29 00:00:17 master-1 systemd[1]: Failed to start HAProxy Load Balancer.
Jan 29 00:00:17 master-1 systemd[1]: haproxy.service: Service hold-off time over, scheduling restart.
Jan 29 00:00:17 master-1 systemd[1]: haproxy.service: Scheduled restart job, restart counter is at 5.
Jan 29 00:00:17 master-1 systemd[1]: Stopped HAProxy Load Balancer.
Jan 29 00:00:17 master-1 systemd[1]: haproxy.service: Start request repeated too quickly.
Jan 29 00:00:17 master-1 systemd[1]: haproxy.service: Failed with result 'exit-code'.
Jan 29 00:00:17 master-1 systemd[1]: Failed to start HAProxy Load Balancer.
$ journalctl -xe
Jan 28 21:40:30 master-1 sshd[2007]: Received disconnect from 192.168.5.11 port 58580:11: disconnected by user
Jan 28 21:40:30 master-1 sshd[2007]: Disconnected from user vagrant 192.168.5.11 port 58580
Jan 28 21:44:27 master-1 sshd[2109]: Received disconnect from 192.168.5.11 port 58584:11: disconnected by user
Jan 28 21:44:27 master-1 sshd[2109]: Disconnected from user vagrant 192.168.5.11 port 58584

I tried to troubleshoot following this guide. However, I am still getting the same error.

I am installing HA Proxy on both master-1 and master-2 nodes.

Please Help!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant