httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard <lists-apa...@listmail.innovate.net>
Subject Re: [users@httpd] Localhost cannot be accessed when Apache is started
Date Fri, 15 Jan 2016 23:27:25 GMT


> Date: Friday, January 15, 2016 16:11:58 -0600
> From: Josiah Asbill <josiah.asbill@gmail.com>

>> On Jan 15, 2016, at 11:40 AM, Lester Caine <lester@lsces.co.uk>
>> wrote:
>> 
>> On 15/01/16 17:27, Josiah Asbill wrote:
>>> Okay, so I did that. Reran “httpd” to troubleshoot it. 
>>> Got back, "Syntax error on line 20 of
>>> /private/etc/apache2/extra/httpd-mpm.conf:
>>> Invalid command 'LockFile', perhaps misspelled or defined by a
>>> module not included in the server configuration" 
>>> This is what is on line 20, "LockFile
>>> '/private/var/log/apache2/accept.lock'"

>> 
>> OK This begs the question Apache2.2 or 2.4?
>> I'm not a Mac user, so I'm not sure exactly which version the
>> package manager will supply if that is where you installed from?
>> 
>> Simply removing line 20 should allow httpd to run and let you at
>> least get the 'It works' message.
>> 
>> -- 
>> Lester Caine - G8HFL

> The version is 2.4.16.
> I tried to comment out line 20, but my text editor says, "This
> operation couldn't be completed because an error occurred. The
> authenticated save for this file failed."

That error has nothing to do with apache. Make certain that you have
the necessary permissions to write to that file/location.

I would suggest that you start with a minimal/basic install, get
that working and then move on from there. 

Please do not top post.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message