Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2003 18:39:19 +0100 (CET)
From:      "Cordula's Web" <cpghost@cordula.ws>
To:        MLandman@face2interface.com
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: apache install problem
Message-ID:  <200311131739.hADHdJfU006695@fw.farid-hajji.net>
In-Reply-To: <6.0.0.22.0.20031113120154.01b9c148@pop.face2interface.com> (message from Marty Landman on Thu, 13 Nov 2003 12:21:23 -0500)
References:  <6.0.0.22.0.20031113120154.01b9c148@pop.face2interface.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I just installed Apache2 and not sure how to proceed, if I'm doing things 
> wrong from here or there is some other problem:
> 
> 
> $ which apachectl
> /usr/local/sbin/apachectl
> $ apachectl start
> httpd: Could not determine the server's fully qualified domain name, using 
> 127.0.0.1 for ServerName
> (13)Permission denied: make_sock: could not bind to address [::]:80
> no listening sockets available, shutting down
> Unable to open logs

You need to edit:
  /usr/local/etc/apache2/httpd.conf

Among others, set ServerName to your hostname,
and check the other directives in httpd.conf too.

Don't forget to use the -dist templates in
/usr/local/etc/apache2, e.g.:

 cp mime.times-dist mime.types

Good luck.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311131739.hADHdJfU006695>