On a OpenBSD machine running OpenBSD 6.2 amd64, httpd cannot be started by using rcctl:
# rcctl start httpd
httpd(failed)
However, when started by just entering httpd, it works; but this is not the way to go, I guess. /var/log/messages does not contain any hints, nor does any other file in /var/log/.
My /etc/httpd.conf is rather simple:
server "default" {
listen on * port 80
}
/var/www exists and /var/www/htdocs contains files which are served when started manually. Specifying "root" in /etc/httpd.conf had no effect.
How can I get httpd to be enabled/started automatically by rcctl?