DNSmanager 6 Knowledge Base

If errors occur while starting ihttpd-dns

If "Failed to start daemon" or "Failed to become daemon" errors occur when starting ihttpd-dns, an error in /dev/null may be the cause. To eliminate the error:

  1. Check the format, owner, and rights of the /dev/null file:

    ls -alh /dev/null && file /dev/null
    An example of response
    crw-rw-rw- 1 root root 1, 3 May 17 12:36 /dev/null
    /dev/null: character special
  2. If the response to the command does not match the response in the example, remove the /dev/null file and recreate it:

    rm -f /dev/null && mknod /dev/null c 1 3 && chmod 666 /dev/null
  3. Stop the running ihttpd-dns processes:

    killall ihttpd-dns
  4. Start ihttpd-dns:

    systemctl start ihttpd-dns

    or

    service ihttpd-dns start