You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Standard "init" fails to start due to quoting of $CMD. Removing quotation marks fixes issue:
[root@server1 consul.d]# service consul start
Starting consul
Running: /usr/bin/consul agent -config-dir /etc/consul.d
Unable to start consul, see /var/log/consul.log
Logfile is empty but in messages:
Mar 20 21:50:06 server1 consul: /etc/init.d/consul: line 46: /usr/bin/consul agent -config-dir /etc/consul.d: No such file or directory
After removing quotation marks:
[root@server1 consul.d]# service consul start
Starting consul
This issue affects us as well on RHEL, this would seem to affect all platforms using SysVinit. The fix @agperson mentions works well here, seems sane.
agperson
changed the title
Failure to start on Amazon Linux 2014.9
Broken SysVinit script -- Consul fails to start on RHEL platforms (Amazon Linux, CentOS, etc.)
Apr 2, 2015
Standard "init" fails to start due to quoting of $CMD. Removing quotation marks fixes issue:
Logfile is empty but in messages:
After removing quotation marks:
Change is: #115 (77b2fd9 line 44)
The text was updated successfully, but these errors were encountered: