Re: mod_fcgid: Invalid command 'FcgidMinProcessesPerClass'

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

 



Hi Jeff,

On 5/2/11 12:35 PM, Jeff Trawick wrote:
On Mon, May 2, 2011 at 12:25 PM, Duke<duke.lists@xxxxxxx>  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@xxxxxxx>    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.

Thanks for this useful information. I did not know this. Is there anywhere (a page of version history for example) that I can find the infos in details?

Thanks,

D.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-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