[PLUG] Tuning httpd.conf [ALMOST RESOLVED]

Ken Stephens kens at cad2cam.com
Mon Mar 10 23:46:23 UTC 2014


Rich Shepard wrote:
> On Mon, 10 Mar 2014, King Beowulf wrote:
>
>> You may have to downgrade to apache-2.2 and then build/install mod_perl
>> or try bleeding edge mod_perl from SVN. The Slackbuild.org folks are
>> still looking into it I believe and mod-perl-2.0.8 was supposed to work
>     There must be an incompatibility here. I removed httpd-2.4.6 and replaced
> it with httpd-2.2.25. Now, when I try to restart httpd I see this error:
>
> /usr/sbin/apachectl: line 100: /usr/sbin/httpd: cannot execute binary file
>
> yet permissions show it is executable:
>
> -rwxr-xr-x 1 root root 454080 Aug  5  2013 /usr/sbin/httpd*
>
>     The error log shows;
>
> [Mon Mar 10 16:05:58.739547 2014] [core:error] [pid 28489:tid 3070002944]
> (2)No such file or directory: AH00095: failed to remove PID file
> /var/run/httpd.pid
> [Mon Mar 10 16:05:58.739598 2014] [mpm_event:notice] [pid 28489:tid
> 3070002944] AH00491: caught SIGTERM, shutting down
>
>     There is no /var/run/httpd.pid. Should I touch that file and try again?
>
>     Putting the error string in duckduckgo produces no hits.
>
> Rich
>
Rich,

Sounds like you are having fun.  The .pl may need to have a handler 
assigned to it.  Look for an AddHandler statement in your ledger 
configuration.

This would be a requirement for both 2.2 and 2.4.

Ken



More information about the PLUG mailing list