apache的fastcgi配置导致的故障
|
[Tue Jan 10 13:54:30 2012] [alert] [client 192.168.1.200] (13)Permission denied: FastCGI: failed to connect to (dynamic) server "/var/www/extsuite/extmail/cgi/index.cgi": something is seriously wrong, any chance the socket/named_pipe directory was removed?, see the FastCgiIpcDir directive [Tue Jan 10 13:54:30 2012] [error] [client 192.168.1.200] FastCGI: incomplete headers (0 bytes) received from server "/var/www/extsuite/extmail/cgi/index.cgi" [Tue Jan 10 13:54:30 2012] [alert] [client 192.168.1.200] (13)Permission denied: FastCGI: failed to connect to (dynamic) server "/var/www/extsuite/extmail/cgi/index.cgi": something is seriously wrong, any chance the socket/named_pipe directory was removed?, see the FastCgiIpcDir directive [Tue Jan 10 13:54:30 2012] [error] [client 192.168.1.200] FastCGI: incomplete headers (0 bytes) received from server "/var/www/extsuite/extmail/cgi/index.cgi" [Tue Jan 10 13:54:31 2012] [alert] [client 192.168.1.200] (13)Permission denied: FastCGI: failed to connect to (dynamic) server "/var/www/extsuite/extmail/cgi/index.cgi": something is seriously wrong, any chance the socket/named_pipe directory was removed?, see the FastCgiIpcDir directive [Tue Jan 10 13:54:31 2012] [error] [client 192.168.1.200] FastCGI: incomplete headers (0 bytes) received from server "/var/www/extsuite/extmail/cgi/index.cgi" [Tue Jan 10 13:54:32 2012] [error] [client 192.168.1.200] [8109] cannot create mutex /var/tmp/clamav.lock [Tue Jan 10 13:54:32 2012] [error] [client 192.168.1.200] [8109] cannot create mutex /var/tmp/clamav.lock [Tue Jan 10 13:54:32 2012] [crit] (13)Permission denied: FastCGI: can't create (dynamic) server "/var/www/extsuite/extmail/cgi/index.cgi": bind() failed [/etc/httpd/logs/fastcgi/dynamic/fbbfc6e30836736f3a63ec557eea023b] [Tue Jan 10 13:54:33 2012] [alert] [client 192.168.1.200] (13)Permission denied: FastCGI: failed to connect to (dynamic) server "/var/www/extsuite/extmail/cgi/index.cgi": something is seriously wrong, any chance the socket/named_pipe directory was removed?, see the FastCgiIpcDir directive [Tue Jan 10 13:54:33 2012] [error] [client 192.168.1.200] FastCGI: incomplete headers (0 bytes) received from server "/var/www/extsuite/extmail/cgi/index.cgi" 查找原因,发现是apache的fastcgi配置问题,
<VirtualHost *:80>
ServerName mail.7399.com
DocumentRoot /var/www/extsuite/extmail/html
LoadModule fastcgi_module modules/mod_fastcgi.so
Options indexes FollowSymLinks +ExecCGI
<Ifmodule mod_fastcgi.c>
#FastCgiExternalServer /usr/bin/dispstch.fcgi -host 127.0.0.1:8888 出现上述问题的原因
FastCgiExternalServer /var/www/extsuite/extmail/cgi/index.cgi -host 127.0.0.1:8888
</Ifmodule>
#Alias /extmail/cgi/ /usr/bin/dispatch.fcgi/ 出现以上问题的原因
Alias /extmail/cgi/ /var/www/extsuite/extmail/cgi/
<Location "/extmail/cgi">
#<Directory "/extmail/cgi">
SetHandler fastcgi-script
#Options ExecCGI
#</Directory>
</Location>
Alias /extmail /var/www/extsuite/extmail/html
ScriptAlias /extman/cgi /var/www/extsuite/extman/cgi/
Alias /extman /var/www/extsuite/extman/html/
suexecUserGroup vuser vgroup
<Directory "/var/www/extsuite/extmail/cgi/">
AllowOverride None
Options Indexes FollowSymLinks MultiViews +ExecCGI
Order allow,deny
Allow from all
</Directory>(编辑:南平站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |

