[PLUG] Firefox cannot locate localhost: httpd will not start [RESOLVED]

Ken Stephens kens at cad2cam.com
Tue Sep 22 00:45:35 UTC 2015


Rich Shepard wrote:
> On Mon, 21 Sep 2015, brooks at netgate.net wrote:
>
>> I'd suggest checking latest entries in your http error and access logs for
>> clues.
>     Duh, I completely forgot about them. Mea culpa!
>
> >From the access log:
>
> 127.0.0.1 - - [20/Sep/2015:06:37:33 -0700] "GET /sql-ledger/login.pl
> HTTP/1.1" 404 217
>
> >From the error log:
>
> [Sat Sep 19 17:36:48.239642 2015] [mpm_event:notice] [pid 866:tid
> 3070007040] AH00489: Apache/2.4.16 (Unix) configured -- resuming normal
> operations
> [Sat Sep 19 17:36:48.380864 2015] [core:notice] [pid 866:tid 3070007040]
> AH00094: Command line: '/usr/sbin/httpd'
> [Sun Sep 20 06:38:03.362245 2015] [mpm_event:notice] [pid 866:tid
> 3070007040] AH00494: SIGHUP received.  Attempting to restart
> AH00534: httpd: Configuration error: The MPM cannot be changed during
> restart.
> [Mon Sep 21 16:23:36.419890 2015] [authnz_ldap:error] [pid 8153:tid
> 3069830912] AH01749: Module mod_ldap missing. Mod_ldap (aka. util_ldap) must
> be loaded in order for mod_authnz_ldap to function properly
> AH00016: Configuration Failed
>
> mod_ldap is still present:
>
> /usr/lib/httpd/modules/mod_ldap.so
>
>     Uncommented the line in httpd.conf and now httpd starts. But, ... rather
> than loading the accounting application's login page it displays the perl
> script. Sigh. On to that issue.
>
> Thanks,
>
> Rich
>
Need to load the mod_perl module, and add the SetHandler perl-script to 
the configuration.  Probably only add the mod_perl statement in the 
/etc/httpd/conf.d/mod_perl.conf

$ grep perl /etc/httpd/conf.d/*
/etc/httpd/conf.d/perl.conf:# Mod_perl incorporates a Perl interpreter 
into the Apache web server,
/etc/httpd/conf.d/perl.conf:# Mod_perl links the Perl runtime library 
into the Apache web server
/etc/httpd/conf.d/perl.conf:# This will allow execution of mod_perl to 
compile your scripts to


Ken



More information about the PLUG mailing list