codemancers / invoker

An awesome utility to manage all your processes in development environment
http://invoker.c9s.dev/
MIT License
460 stars 59 forks source link

Invoker with Ubuntu 18.04 #219

Closed meneerprins closed 4 years ago

meneerprins commented 6 years ago

Hi, I'm trying to use Invoker with a fresh 18.04 Ubuntu installation but I can't get it to work. When I run sudo invoker setup --tld test I keep getting an error: failed to create listening socket for port 53: Address already in use I tried to find a solution but nothing really worked and I'm not an Ubuntu expert so modifying system files without knowing what I'm doing seems like a bad idea for me. Anyone that knows a solution?

gnufied commented 6 years ago

I tried to reproduce this in a VM running ubuntu 18.04 and I could not. Invoker itself does not listen on port 53 on Ubuntu and relies on dnsmasq for the job.

Can you post complete error? And where do you see the error? Is that during invoker setup?

Also can you post output of lsof -i :53 command run as root?

gnufied commented 6 years ago

BTW it is possible that you are running into conflicts between systemd-resolved and dnsmasq. In which case suggested workaround appears to be:

https://unix.stackexchange.com/questions/304050/how-to-avoid-conflicts-between-dnsmasq-and-systemd-resolved?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa