Re: apache not starting on reboot

2009-05-20 Thread Mel Flynn
On Monday 18 May 2009 10:55:00 Odhiambo  ワシントン wrote:
 On Mon, May 18, 2009 at 11:03 AM, Brent Clark 
brentgclarkl...@gmail.comwrote:
  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

Better yet, /var/log/httpd-error.log. On restart, does it give a apache not 
running? message or is it running, but not responding to requests?
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


apache not starting on reboot

2009-05-18 Thread Brent Clark

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.


Kind Regards
Brent Clark

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: apache not starting on reboot

2009-05-18 Thread Odhiambo ワシントン
On Mon, May 18, 2009 at 11:03 AM, Brent Clark brentgclarkl...@gmail.comwrote:

 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org