--- Michael O'Keefe <[EMAIL PROTECTED]> wrote:

> Michael Lynch wrote:
> > I commented out the Listen 80
> > in http.conf
> > and now its working.
> > 
> > Does anybody know why this made it work?
> 
> Can't help you there.
> I'd look through all the config files and see if there was already a 
> Listen directive somewhere ?

It could be another Listen or a VirtualHost or Bind or another equivalent
statement which tells Apache to bind to the port.

It is worth knowing that a syntax check of the Apache config is available:

/sbin/service httpd configtest

If you removed the comment and ran the above command, it might tell you the
place(s) where a problem resides.

Keep in mind that the config files are routinely stored in /etc/httpd/ and
below this you may see both a directory conf as well as one called conf.d.  The
files in these directories may contain multiple statements to bind to the port.

Finally, manually starting Apache is fine for testing but you want to have it
start automatically so it will be running after a reboot of the server.  

One older way of managing this is the chkconfig command which will place
symlinks in the /etc/rc.d directories to determine if a server program (aka
daemon or service) is to be running in a particular run level (probably 3 for
command line or 5 for X window).  Find out with:

grep initdefault /etc/inittab

For a command-line login (good for standalone, headless servers):

id:3:initdefault:

James


-- 
KPLUG-Newbie@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to