Isolated Network DHCP Interface error



  • After rebooting my Ubuntu 12.04 Fog 0.32 server, I always manually reset the DHCP using:

    [CODE]sudo /etc/init.d/isc-dhcp-server start[/CODE]

    But for the past two reboots, the command fails and the log generates the error:

    [CODE]Dec 17 11:40:51 host-desktop dhcpd: Not configured to listen on any interfaces![/CODE]

    I’ve attempted to set the interface manually, as per [URL=‘http://fogproject.org/forum/threads/fog-setup-with-2-nics.10241/’]this thread[/URL], but that didn’t work, nor did dpkg-reconfigure.

    Any suggestions?



  • [quote=“Tom Elliott, post: 40087, member: 7271”]Try this:

    [code]update-rc.d isc-dhcp-server disable[/code]

    Then edit the file:

    Add before the exit 0 line:

    [code]sleep 30 && start isc-dhcp-server[/code]

    Restart and hopefully all things will work.[/quote][/quote]

    Thank you for your help. The syslog still reads the same interface error. I looked into previous syslog files, and at one point, it read out:
    [CODE]Withdrawing address record for [IP address] on eth0
    Leaving mDNS multicast group on interface eth0
    Interface eht0 IPv4 no longer relevant for mDNS[/CODE]

    Could any of this have to do with the error?


  • Senior Developer

    Try this:

    [code]update-rc.d isc-dhcp-server disable[/code]

    Then edit the file:
    [quote]/etc/rc.local[/quote]

    Add before the exit 0 line:

    [code]sleep 30 && start isc-dhcp-server[/code]

    Restart and hopefully all things will work.[/quote]


  • Senior Developer

    Sounds to me like an upstart bug if anyone else wants to jump in to help all please feel free


Log in to reply
 

544
Online

39007
Users

10720
Topics

101798
Posts

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