[SOLVED] DNSMASQ Port already in use


  • Developer

    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.

    [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#Additional_Steps_for_12.04.4.2C_12.04.5.2C_14.04.2C_14.10[/url]

    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]


Log in to reply
 

365
Online

38982
Users

10712
Topics

101678
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.