Ispmanager 6 lite, pro, host documentation

Issues with ihttpd

 

Issue

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

Solution

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 processes:
    killall ihttpd
  4. Start ihttpd:
    systemctl start ihttpd
    or
    service ihttpd start

In this article