Date: Fri, 14 Dec 2007 17:11:31 -0500 From: "Ivan \"Rambius\" Ivanov" <rambiusparkisanius@gmail.com> To: Yuri <yuri@rawbw.com> Cc: freebsd-questions@freebsd.org Subject: Re: /usr/local/rc.d/apache22 start doesn't start Apache Message-ID: <89ce7f740712141411m4ecd5f17odb1e9bd9939bf96@mail.gmail.com> In-Reply-To: <1197669823.4762fdbfcb44d@webmail.rawbw.com> References: <1197669823.4762fdbfcb44d@webmail.rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Yuri, On Dec 14, 2007 5:03 PM, Yuri <yuri@rawbw.com> 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? I think you should add the line apache2_enable="YES" in your /etc/rc.conf. The starting script /usr/local/etc/rc.d/apache22 checks if the rcvar in rc.conf is set to YES and if so it starts the server. You can see the exact name of the rc variable by executing /usr/local/etc/rc.d/apache22 rcvar. Regards Rambius -- Tangra Mega Rock: http://www.radiotangra.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89ce7f740712141411m4ecd5f17odb1e9bd9939bf96>