Yuri wrote:
> I installed Apache port.
> But when I run "/usr/local/etc/rc.d/apache22 start" nothing happens.
> 'ps ax | grep httpd' returns nothing.
> So server wasn't started.
>
> Why nothing is printed and server not started with the first command?
> What is the right way to start the server?
>
> Thanks,
> Yuri
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>
>   
Edit /etc/rc.conf and add:

apache22_enable="YES"

then retry your command above.
It is nominal for every port that acts as a daemon to have a
corresponding portsomething_enable="YES"  variable.
If you really need to start it without registering the variable (e.g.
for testing purposes), try

/usr/local/etc/rc.d/apache22 onestart


in this case however, it will not restart automatically after system reboot.

See also:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-apache.html


(section 27.7.3)
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to