mod_fcgid notice in apache error log

5 posts / 0 new
Last post
#1 Mon, 11/22/2010 - 17:30
hebmaster

mod_fcgid notice in apache error log

Hello,

I use Virtualmin, with php5 and mod_fcgid.

In my apache error log I have a lot of those lines:

[Mon Nov 22 22:19:32 2010] [notice] mod_fcgid: call /home/monsite/public_html/fp_file.php with wrapper /home/monsite/fcgi-bin/php5.fcgi
[Mon Nov 22 22:19:35 2010] [notice] mod_fcgid: process /home/monsite/public_html/index.php(28613) exit(server exited), terminated by calling exit(), return code: 0

here is my Virtualhost:

<VirtualHost 94.XX.XX.XX:80>
SuexecUserGroup "#1001" "#1001"
ServerName monsite.com
ServerAlias www.monsite.com
DocumentRoot /home/monsite/public_html
ErrorLog /var/log/virtualmin/monsite.com_error_log
CustomLog /var/log/virtualmin/monsite.com_access_log combined
ScriptAlias /cgi-bin/ /home/monsite/cgi-bin/
ScriptAlias /awstats/ /home/monsite/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/monsite/public_html>
Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
allow from all
AllowOverride All
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/monsite/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/monsite/fcgi-bin/php5.fcgi .php5
</Directory>
<Directory /home/monsite/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.monsite.com
RewriteRule ^(.*) https://monsite.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.monsite.com
RewriteRule ^(.*) https://monsite.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
IPCCommTimeout 31
Alias /dav /home/monsite/public_html
Alias /pipermail /var/lib/mailman/archives/public
<Location /dav>
DAV On
AuthType Basic
AuthName monsite.com
AuthUserFile /home/monsite/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
RemoveHandler .php
RemoveHandler .php5
RewriteEngine off
</Location>
<Files awstats.pl>
AuthName "monsite.com statistics"
AuthType Basic
AuthUserFile /home/monsite/.awstats-htpasswd
require valid-user
</Files>
RedirectMatch /cgi-bin/mailman/([^/\.]*)(.cgi)?(.*) https://monsite.com:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
RedirectMatch /mailman/([^/\.]*)(.cgi)?(.*) https://monsite.com:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
</VirtualHost>

mod_fcgid config:

<IfModule mod_fcgid.c>
  AddHandler fcgid-script .fcgi
  IPCConnectTimeout 20
</IfModule>

Can you help me to find why I have those notices?

Thanks.

Mon, 11/22/2010 - 17:43
andreychek

Howdy,

Are you seeing any errors on your web pages that coincide with the messages in your logfiles? Sometimes, you can see certain warnings/errors in the logfiles (especially with fcgid!) that don't relate to any browser activity.

-Eric

Mon, 11/22/2010 - 18:05
hebmaster

There is no errors on our web pages (like 500 error...), the web site work fine, but I afraid that those notice cause some browsing error that I haven't seen.

I have also this line:

[warn] (103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function

PS:sorry for my English , it's not my native language.

Mon, 11/22/2010 - 18:14
andreychek

Hello,

Yeah, fcgid can be "noisy" in the logfiles.

If a user browses to your website, and hits the "stop" button, it'll generate errors such as that "software caused connection abort" message.

If you're not hearing any complaints about your website not working, it's probably working correctly :-)

-Eric

Mon, 11/22/2010 - 18:54
hebmaster

Ok, I see...

Thanks for your help.

Topic locked