From owner-freebsd-questions@FreeBSD.ORG Mon May 18 08:55:02 2009 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 240601065670 for ; Mon, 18 May 2009 08:55:02 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-fx0-f216.google.com (mail-fx0-f216.google.com [209.85.220.216]) by mx1.freebsd.org (Postfix) with ESMTP id 99DE98FC37 for ; Mon, 18 May 2009 08:55:01 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by fxm12 with SMTP id 12so3089942fxm.43 for ; Mon, 18 May 2009 01:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=4wkAg5nd72+xFhjPZM4ZwN4eTbeH2BhNuf06Il0LjpQ=; b=JDzwrU6oe5tZAhyu2gL+3xQAMKI5e47TAYx3IKjEg9Q4oJP07Kymj+1PC8eeWCI1Bs +ycZ1bK188eLvg0ij52KD59qdwxLQkne1BEcvnYzmX1qMxQ8Vb9xmPzTvW7SehPmS3XP k9lyCPXpM5RY8bDvVmOaUuwVjZ0w4p9pxvdhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QFgobOaBXUd3u0UEYZ0itw8lDLV62QxeFEQemEs0E1IMXQm/GvEkrbPyrWHf8Yayly xtqI+j0e/j5yXrpxLMwEPnaQtBjkvIy4k0nHrU35m/o96PxB+QLjgAiJzmfPymBJXxy7 mzFdvaryWfyNuYm+QU0xpZvzuf2DSKJVwzrQA= MIME-Version: 1.0 Received: by 10.223.109.198 with SMTP id k6mr4158543fap.46.1242636900432; Mon, 18 May 2009 01:55:00 -0700 (PDT) In-Reply-To: <4A111646.2080105@gmail.com> References: <4A111646.2080105@gmail.com> Date: Mon, 18 May 2009 11:55:00 +0300 Message-ID: <991123400905180155p172f9e6ahccef83dd2589c1bb@mail.gmail.com> From: =?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?= To: Brent Clark Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: apache not starting on reboot 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: Mon, 18 May 2009 08:55:02 -0000 On Mon, May 18, 2009 at 11:03 AM, Brent Clark wrote: > Hiya > > I have the following in my /etc/rc.conf > > mitm# cat /etc/rc.conf | grep apache > apache22_enable="YES" > mitm# > > The problem I seem to be experiencing is that if I reboot the machine, then > apache does not come up. Its only on when I run > > /usr/local/etc/rc.d/apache22 restart > > that apache is running and available. > > If anyone could assist me on where I went wrong or on what route and / or > path to look, I would be most grateful. > Start by looking at /var/log/messages Apache sometimes refuses to start if it cannot properly resolve the servername. If you have a ServerName directive in httpd.conf, try and see if it matches an entry in /etc/hosts or even a DNS entry - such that apache can resolve it. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain