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:
-
Check the format, owner, and rights of the /dev/null file:
ls -alh /dev/null && file /dev/null
An example of responsecrw-rw-rw- 1 root root 1, 3 May 17 12:36 /dev/null /dev/null: character special
-
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
-
Stop the running ihttpd-dns processes:
killall ihttpd-dns
-
Start ihttpd-dns:
systemctl start ihttpd-dns
or
service ihttpd-dns start