Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

monit fails to bind to TCP port after reboot under Ubuntu 16.04 #21

Open
rkeiii opened this issue Nov 7, 2016 · 0 comments
Open

monit fails to bind to TCP port after reboot under Ubuntu 16.04 #21

rkeiii opened this issue Nov 7, 2016 · 0 comments

Comments

@rkeiii
Copy link

rkeiii commented Nov 7, 2016

I started seeing this after switching from Ubuntu 14.04 to 16.04 as my base image. In this situation monit starts too early in the boot process and never gets bound to it's TCP port. If you simply restart monit after bootup completes it binds normally to it's port.

An easy fix is to add "After=network-online.target" to the systemd monit.service file created by poise-service.

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

No branches or pull requests

1 participant