[SOLVED] DNSMASQ Port already in use
-
If you use Ubnutu 12.04,.4 12.04.5, 14.04, 14.10 then conical has given us another easter egg.
Conical has decided to include dnsmasq-base in the OS and USE it with network-manager.
When you install DNSMASQ or attempt to start/restart the service you will receive the following error:
[code]dnsmasq: failed to create listening socket for port 53: Address already in use failed![/code]I am not sure why, but I do have a fix for those of use that use DNSMASQ and need to start the service, I have made changes to the wiki to reflect what need to be completed.
To solve this issue:
Open terminal and issue the following command:
[code]
sudo nano /etc/NetworkManager/NetworkManager.conf[/code]
Remove the line
[code]
dns=dnsmasq[/code]
Now we need to restart the network service
[code]
sudo service network-manager restart[/code]
This should resolve issues with getting dnsmasq to start.
Issue the following command:
[code]
sudo service dnsmasq restart[/code]