We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Accessing the cluster IP (10.240.0.2) for nginx service failed from my work computer:
[kamran@kworkhorse ~]$ curl http://10.240.0.2 curl: (7) Failed to connect to 10.240.0.2 port 80: Connection refused [kamran@kworkhorse ~]$
Turned out that the haproxy service was not running. Whereas it should have been running!
[root@lb LoadBalancer-Files]# service haproxy status Redirecting to /bin/systemctl status haproxy.service ● haproxy.service - HAProxy Load Balancer Loaded: loaded (/usr/lib/systemd/system/haproxy.service; disabled; vendor preset: disabled) Active: inactive (dead) Sep 19 14:00:13 lb.example.com haproxy-systemd-wrapper[27151]: haproxy-systemd-wrapper: executing /usr/sbin/haproxy -f /etc/haproxy/hap...id -Ds Sep 19 14:00:14 lb.example.com haproxy-systemd-wrapper[27151]: [ALERT] 262/140013 (27158) : parsing [/etc/haproxy/haproxy.cfg:20] : 'bi...s>:80' Sep 19 14:00:14 lb.example.com haproxy-systemd-wrapper[27151]: [ALERT] 262/140013 (27158) : Error(s) found in configuration file : /etc...xy.cfg Sep 19 14:00:14 lb.example.com haproxy-systemd-wrapper[27151]: [ALERT] 262/140014 (27158) : Fatal errors found in configuration. Sep 19 14:00:14 lb.example.com haproxy-systemd-wrapper[27151]: haproxy-systemd-wrapper: exit, haproxy RC=256 Sep 19 14:04:57 lb.example.com systemd[1]: Started HAProxy Load Balancer. Sep 19 14:04:57 lb.example.com systemd[1]: Starting HAProxy Load Balancer... Sep 19 14:04:57 lb.example.com haproxy-systemd-wrapper[27252]: haproxy-systemd-wrapper: executing /usr/sbin/haproxy -f /etc/haproxy/hap...id -Ds Sep 19 14:04:57 lb.example.com haproxy-systemd-wrapper[27252]: [ALERT] 262/140457 (27254) : Starting proxy default-nginx-80: cannot bin....2:80] Sep 19 14:04:57 lb.example.com haproxy-systemd-wrapper[27252]: haproxy-systemd-wrapper: exit, haproxy RC=256 Hint: Some lines were ellipsized, use -l to show in full. [root@lb LoadBalancer-Files]#
Restarting the service, manually , worked!
The text was updated successfully, but these errors were encountered:
KamranAzeem
No branches or pull requests
Accessing the cluster IP (10.240.0.2) for nginx service failed from my work computer:
Turned out that the haproxy service was not running. Whereas it should have been running!
Restarting the service, manually , worked!
The text was updated successfully, but these errors were encountered: