Re: mod_fastcgi apache 2.2.9 fcgi-pm

David Birnbaum <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Markus,

Well, if it's permission denied, then have you walked through all the 
permissions explicitly to make sure the user running fcgi (wwwrun?) can get all 
the way to the binary and exec it?  Perhaps a truss/strace on the process 
manager will be enlightening.

David.

-----

On Fri, 7 Nov 2008, [email protected] wrote:

> Dear List Members,
>
> I can't get mod_fastcgi to work.
> The situation is as follows:
>
> - OS: Suse Linux Enterprise Server 9 x86_64
> - apache 2.2.9
> - mod_fastcgi-2.4.6 (and others: mod_fastcgi-2.4.0 with patch for apache 2.2.; mod_fastcgi-SNAP-0809231057.tar.gz)
>
> 1. I build the module as described in INSTALL.AP2
>
> # cd <mod_fastcgi_dir>
> # cp Makefile.AP2 Makefile
> # make top_dir=<apache_install_dir>
>
> The module builds without errors. Only one warning appears:
>
> fcgi_config.c: In function 'fcgi_config_new_auth_server':
> fcgi_config.c:1207: warning: cast from pointer to integer of different size
>
> 2. I did the apache configuration
>
> ...
> LoadModule fastcgi_module modules/mod_fastcgi.so
> ...
> httpd.conf looks like:
>
> <IfModule !mod_fastcgi.c>
>        <Directory "/www/fcgi-bin">
>                AllowOverride None
>                Options None
>                Order allow,deny
>                Deny from all
>        </Directory>
> </IfModule>
>
> <IfModule mod_fastcgi.c>
>
>        ScriptAlias /fcgi-bin/ /www/fcgi-bin/
>        FastCgiIpcDir /var/log/apache/fastcgi
>        <Directory "/www/fcgi-bin">
>                AllowOverride None
>                Options +ExecCGI -Includes
>                SetHandler fastcgi-script
>                Order allow,deny
>                Allow from all
>        </Directory>
>        AddHandler fastcgi-script .fcg .fcgi .fpl
> </IfModule>
>
> 3. Start apache
>
> In the apache error log I find this:
>
> [notice] FastCGI: process manager initialized (pid 1376)
>
> When I look at the process it appears like this:
>
> # ps aux |grep fcgi
> wwwrun  1376  0.0  0.0 116392  4624 ?  S  10:51   0:00 /appl/local/apache/2.2.9/bin/fcgi- -k start
>
> My fastcgi application doesn't start with a permission denied error.
>
> So here comes my question:
>
> Is it possible that the module is broken or did I miss something in my setup.
>
> I wonder where the pm of the fcgi-pm proccess has gone in the ps listing.
>
> I use mod_fastcgi on two other servers without problem. The only differences I see is that the process manager starts whithout the pm.
>
> If I am totally wrong here please direct me to the right place if possible.
> If you need more detailed information please let me know.
>
> Thanks in advance!
>
> Best regards,
>
> Markus
> ==================================
> T-Systems Enterprise Services GmbH
> Systems Integration / ADSF / SF / Telco / Network Planning Systems
> Rabinstrasse 8
> D- 53111 Bonn
> Tel: +49 228 9841 382
> E-Mail: [email protected]
>
> T-Systems Enterprise Services GmbH
> Aufsichtsrat: René Obermann (Vorsitzender) Executive Committee: Reinhard Clemens (Vorsitzender)*, Olaf Heyden*, Dr. Klaus Hofmann, Katrin Horstmann, Joachim Langmack*, Dr. Stefan Schloter, Dr. Matthias Schuster*, Zvezdana Seeger*, Klaus Werner*, Dr. Rolf Werner
> Handelsregister: Amtsgericht Frankfurt am Main HRB 55933 Sitz der Gesellschaft: Frankfurt am Main WEEE-Reg.-Nr. DE87523644 *Geschäftsführer gem. § 35 GmbHG
>
> Notice: This transmittal and/or attachments may be privileged or confidential. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you.
>
> T-Systems - Business flexibility
> _______________________________________________
> FastCGI-developers mailing list
> FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
> http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
>

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.