• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    [SOLVED] DNSMASQ Port already in use

    Scheduled Pinned Locked Moved
    Linux Problems
    1
    1
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jaymes DriverJ
      Jaymes Driver Developer
      last edited by

      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]

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      209

      Online

      12.1k

      Users

      17.3k

      Topics

      155.3k

      Posts
      Copyright © 2012-2024 FOG Project