/usr/local/rc.d/apache22 start doesn't start Apache
sonicy at otenet.gr
Fri Dec 14 14:18:05 PST 2007
> 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?
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
Edit /etc/rc.conf and add:
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
in this case however, it will not restart automatically after system reboot.
More information about the freebsd-questions