httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [users@httpd] mod_fcgid: Invalid command 'FcgidMinProcessesPerClass'
Date Mon, 02 May 2011 16:35:26 GMT
On Mon, May 2, 2011 at 12:25 PM, Duke <duke.lists@gmx.com> wrote:
> Hi Jeff,
>
> On 5/2/11 12:16 PM, Jeff Trawick wrote:
>>
>> On Mon, May 2, 2011 at 10:56 AM, Duke<duke.lists@gmx.com>  wrote:
>>>
>>> Hi all,
>>>
>>> Please forgive me if the question was asked before. I have been using
>>> apache
>>> for quite a bit of time (3-4 years) but I am totally new to the group.
>>> Recently I tried to give our Red Hat server's apache FastCGI capability
>>> and
>>> hence I installed mod_fcgid. The module loaded fine, but issues happen
>>> when
>>> I tried to configure it:
>>>
>>> <IfModule mod_fcgid.c>
>>>  Alias /fgb2 "/var/www/cgi-bin/gb2"
>>> <Location /fgb2>
>>>    SetHandler   fcgid-script
>>>    Options      ExecCGI
>>> </Location>
>>>  DefaultInitEnv GBROWSE_CONF /etc/gbrowse2
>>>  # these directives prevent idle/busy timeouts and may need to be
>>>  # adjusted up or down
>>>  FcgidMinProcessesPerClass 6
>>>  FcgidIOTimeout   600
>>>  FcgidBusyTimeout 600
>>> </IfModule>
>>>
>>> The error is:
>>> $ service httpd start
>>>>
>>>> Starting httpd: Syntax error on line 40 of
>>>> /etc/httpd/conf.d/z_gbrowse2.conf:
>>>> Invalid command 'FcgidMinProcessesPerClass', perhaps misspelled or
>>>> defined
>>>> by a module not included in the server configuration
>>>>                                                  
          [FAILED]
>>
>> mod_fcgid is apparently not loaded, or you have an older version.
>>
>> If the directive DefaultMinClassProcessCount is recognized but
>> FcgidMinProcessesPerClass is not, you have a pre-ASF version of
>> mod_fcgid.
>>
>
> I am sure the module is loaded. Changing to the older (deprecated) directive
> names works, so that means I am using the pre-ASF version? Please let me
> know how I know that. The infos about the module is:
>
> $ rpm -qi mod_fcgid.x86_64 0:2.2-11.el5
> Name        : mod_fcgid                    Relocations: (not relocatable)
> Version     : 2.2                               Vendor: Fedora Project

Version 2.2 is pre-ASF, doesn't support new names for those directives.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message