Re: Localhost cannot be accessed when Apache is started

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

>> On Jan 15, 2016, at 11:40 AM, Lester Caine <lester@xxxxxxxxxxx>
>> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux