Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2006 09:55:42 -0800 (PST)
From:      Steven Narmontas <snarmont@wnec.edu>
To:        freebsd-questions@freebsd.org
Subject:   httpd could not be started
Message-ID:  <17821403.1137174943074.JavaMail.root@m11>

next in thread | raw e-mail | index | archive | help
------=_Part_982_24986631.1137174942886
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I'm entirely new to FreeBSD, but have a fair amount of Linux 
experience.

I installed FreeBSD 6.0 (Production Release) on an oldish i386 
system.  During the install, I asked to install "ALL".  The 
install went flawlessly.

I need Apache on this system for some software development, so I 
followed these instructions I found at:  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html 
:

# pkg_add -r cvsup-without-gui
# cvsup -L 2 -h cvsup.FreeBSD.org 
/usr/share/examples/cvsup/ports-supfile
# cd /usr/ports/www/apache13
# make
# make install

Everything to this point went smoothly!  I edited 
/usr/local/etc/apache/httpd.conf ONLY to set the ServerName to the 
IP address of the machine. However, when I try to start apache I 
get:

#/usr/local/sbin/apachectl start
/usr/local/sbin/apachectl start: httpd could not be started

I can't start apache.  Here's a configtest:

#/usr/local/sbin/apachectl configtest
Syntax OK


Apache also won't start if I bypass the apachectl script and start 
it directly. However it doesn't report any errors either:

# /usr/local/sbin/httpd
#


Everything up above is with a completely fresh install of FreeBSD 
6.  I didn't mess around with anything on the system.  I followed 
the above steps exactly. (As I side note, I've struggled with this 
for two days, and have installed FreeBSD at least 6 times trying 
differnet things.  I can't get Apache to start. On previous 
installs, I tried using apache22 with the same results.)

Does anyone have any suggestions on how to get ANY version of 
Apache running on a new install of FreeBSD 6?

Thanks,
Steven Narmontas







------=_Part_982_24986631.1137174942886--




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