From owner-freebsd-questions@FreeBSD.ORG Fri Dec 14 22:37:57 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE23816A41A for ; Fri, 14 Dec 2007 22:37:57 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.184]) by mx1.freebsd.org (Postfix) with ESMTP id 71B9B13C478 for ; Fri, 14 Dec 2007 22:37:57 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1151463rvb.43 for ; Fri, 14 Dec 2007 14:37:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6+oTo1DfKOO4Vi+lEFvCnSq2BDi+VMUHRivfl5pNjUs=; b=o46WQENFoMXQfx9RLBlRvKLnAd+waUpmeRw9HFIyvuTxSQrGTMKcxbOc/x9N643Vzh9EBXrYodb3cX3pZv76tgh9gcSxiIyOZU+M5XLGvbr0mw3Lo6G5xHDBp4kTj32eN9YWw/h/EA5qhqtIE2TdLfUpJMtvuwDUWrfoNL5ZUMc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GjW2LZBJasxkpLgJ6EBnzWyPDppfxkzi5mzuL6ivz449LoWLyC0vEv+KdgehXfiSH4pjZwbBekzfr3DgHX1WG1T1JDDhr6XmthVfrE2IQgatiwlsSThufLjlnRjT4DjmkFIfhMiRa6r1JnUHxmBaiujiXXVHxNhQm34PnzPqhIs= Received: by 10.141.74.17 with SMTP id b17mr2248954rvl.144.1197670291194; Fri, 14 Dec 2007 14:11:31 -0800 (PST) Received: by 10.140.133.20 with HTTP; Fri, 14 Dec 2007 14:11:31 -0800 (PST) Message-ID: <89ce7f740712141411m4ecd5f17odb1e9bd9939bf96@mail.gmail.com> Date: Fri, 14 Dec 2007 17:11:31 -0500 From: "Ivan \"Rambius\" Ivanov" To: Yuri In-Reply-To: <1197669823.4762fdbfcb44d@webmail.rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1197669823.4762fdbfcb44d@webmail.rawbw.com> Cc: freebsd-questions@freebsd.org Subject: Re: /usr/local/rc.d/apache22 start doesn't start Apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2007 22:37:57 -0000 Hello Yuri, On Dec 14, 2007 5:03 PM, 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? 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