Date: Mon, 18 May 2009 11:55:00 +0300 From: =?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?= <odhiambo@gmail.com> To: Brent Clark <brentgclarklist@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: apache not starting on reboot Message-ID: <991123400905180155p172f9e6ahccef83dd2589c1bb@mail.gmail.com> In-Reply-To: <4A111646.2080105@gmail.com> References: <4A111646.2080105@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 18, 2009 at 11:03 AM, Brent Clark <brentgclarklist@gmail.com>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?991123400905180155p172f9e6ahccef83dd2589c1bb>