2017-04-18 5 views
0

C'est l'erreur que je reçois lorsque je vérifie l'état HAProxy:HAProxy sur CentOS 7

[root @ localhost haproxy] # systemctl état haproxy.service ● haproxy.service - HAProxy Load Balancer

chargé: chargé (/usr/lib/systemd/system/haproxy.service; permis; preset fournisseur: désactivé) actif: a échoué (Résultat: sortie de code)

processus: 4947 ExecStart =/usr/sbin/haproxy-systemd-wrapper -f/e tc/haproxy/haproxy.cfg -p /run/haproxy.pid $ OPTIONS (code = sorti, status = 1/FAILURE) PID principal: 4947 (code = sorti, status = 1/FAILURE)

Ces sont les étapes que je suivais pour configurer HAProxy

yum install haproxy
cd/etc/haproxy
mv haproxy.cfg haproxy.cfg.bak
a créé un fichier haproxy.cfg dans/etc/haproxy/

systemctl restart haproxy.service
systemctl permettent haproxy.service

navigateur Pointu à http: // {IPADDRESS}/SubManagerWeb/#/main/home

+0

'sudo systemctl ...'? –

Répondre

0

S'il vous plaît partager le fichier de configuration que vous avez créé. Cette erreur ne montre en particulier aucune erreur associée, ce problème ne peut donc pas être identifié.