On 2013-06-23, Max Power <open...@cpnetserver.net> wrote:
> Hi guys!
>
> OpenBSD 5.3/amd64:
>
> pkg_add apache-httpd [ok.]
>
> next step
> /etc/rc.d/httpd2 start
> returns:
> httpd2(failed)
>
> Instead
> /usr/local/sbin/apachectl2 start
> It works and load Apache2.
>
> Why?
>
> Thanks, Max Power.
>
>

What does /etc/rc.d/httpd2 -d start say?

As said in rc.d(8),

     -d      Setting this option will print the function names as they are
             called and prevent the rc.subr(8) framework from redirecting
             stdin and stderr to /dev/null.  This is used to allow debugging
             of failed actions.

Also check your log files.

Reply via email to