*BSD News Article 99549


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!sol.net!spool.mu.edu!newsspool.sol.net!howland.erols.net!news.maxwell.syr.edu!news.bc.net!rover.ucs.ualberta.ca!scanner.worldgate.com!not-for-mail
From: Marc Slemko <marcs@znep.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Apache won't start
Date: 13 Jul 1997 03:42:35 GMT
Organization: WorldGate Inc.  http://www.worldgate.com/
Lines: 27
Message-ID: <5q9irb$856$1@scanner.worldgate.com>
References: <01bc8f06$620d0f10$64d91dce@phishhead>
NNTP-Posting-Host: valis.worldgate.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44338

Add a 

LockFile       /var/spool/lock/accept.lock

to your httpd.conf file.  It is required because the Apache port
uses a different directory structure than the base distribution;
it should have already been in the config file, but perhaps it wasn't
for some reason.

In <01bc8f06$620d0f10$64d91dce@phishhead> "Chris Taylor" <cstaylor@dawtech.com> writes:

>I just installed a new FBSDv.2.2.2 and I installed Apache from the ports
>directory.  When my machine boots, I get the following message...

>Local package startup: httpd open: No such file or directory
>Cannot open lock file.

>If I try to startup httpd manully as root, it's the same message.  The
>httpd binary is located in /usr/local/sbin where it should be.  the
>/usr/local/etc/apache files and /usr/local/etc/rc.d/apache.sh file all look
>fine.  Where is the lock file located and what do I need to do the fix
>that.  Also, what file/directory is httpd looking for and not finding?

>Any ideas?

>--Chris
>www.christaylor.com