Monit won't start: "Cannot translate '<hostname>' to FQDN name -- nodename nor servname provided"
This is an error of getaddrinfo
, which is called by monit to figure out the fqdn of your server.
You must not have fqdn set up in your dns for your server.if you do not control the dns server, you may work around it by adding an entry in /etc/hosts like so:
192.168.x.y hakan hakan.local.domain
where the first one is your server ip.