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
Created by leeclemens on 2016-01-13 23:54:50 +00:00
Assignee: jflach
Status: Resolved (closed on 2016-01-14 09:13:33 +00:00)
Target Version: 2.4.2
Last Update: 2016-02-23 09:58:40 +00:00 (in Redmine)
Icinga Version: 2.4.1
Backport?: Already backported
Include in Changelog: 1
I noticed on a server without mariadb.service present (or presumably another service/unit further requiring network), that icinga2.service would attempt to start before network (race) and would usually fail with critical/ApiListener: Cannot bind TCP socket for host.
Adding 'network.target' to the [Unit] After argument in the unit file resolved the race condition.
CentOS Linux release 7.2.1511 (Core)
icinga2-common-2.4.1-1.el7.centos.x86_64
Add network.target to unit file
Icinga2 fails with 'Cannot bind TCP socket for host',
if other services requiring network.target are not installed.
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10968
Add network.target to unit file
Icinga2 fails with 'Cannot bind TCP socket for host',
if other services requiring network.target are not installed.
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10968
The text was updated successfully, but these errors were encountered:
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10968
Created by leeclemens on 2016-01-13 23:54:50 +00:00
Assignee: jflach
Status: Resolved (closed on 2016-01-14 09:13:33 +00:00)
Target Version: 2.4.2
Last Update: 2016-02-23 09:58:40 +00:00 (in Redmine)
I noticed on a server without mariadb.service present (or presumably another service/unit further requiring network), that icinga2.service would attempt to start before network (race) and would usually fail with critical/ApiListener: Cannot bind TCP socket for host.
Adding 'network.target' to the [Unit] After argument in the unit file resolved the race condition.
CentOS Linux release 7.2.1511 (Core)
icinga2-common-2.4.1-1.el7.centos.x86_64
Pull request:
#60
Changesets
2016-01-14 09:11:38 +00:00 by leeclemens 984eaf5
2016-02-23 08:19:59 +00:00 by leeclemens 9ceb1d6
The text was updated successfully, but these errors were encountered: