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配置问题,

 
 
  1. <VirtualHost *:80> 
  2.      ServerName mail.7399.com  
  3.      DocumentRoot /var/www/extsuite/extmail/html  
  4.      LoadModule fastcgi_module modules/mod_fastcgi.so  
  5.      Options indexes FollowSymLinks +ExecCGI  
  6.  <Ifmodule mod_fastcgi.c>                
  7. #FastCgiExternalServer /usr/bin/dispstch.fcgi -host 127.0.0.1:8888 出现上述问题的原因
  8. FastCgiExternalServer /var/www/extsuite/extmail/cgi/index.cgi -host 127.0.0.1:8888
  9.  </Ifmodule>               
  10. #Alias /extmail/cgi/ /usr/bin/dispatch.fcgi/  出现以上问题的原因
  11.  Alias /extmail/cgi/ /var/www/extsuite/extmail/cgi/  
  12. <Location "/extmail/cgi"> 
  13.      #<Directory "/extmail/cgi"> 
  14.      SetHandler fastcgi-script  
  15.      #Options ExecCGI  
  16.      #</Directory> 
  17. </Location>  
  18.   Alias /extmail /var/www/extsuite/extmail/html            
  19. ScriptAlias /extman/cgi /var/www/extsuite/extman/cgi/    
  20. Alias /extman /var/www/extsuite/extman/html/  
  21.   suexecUserGroup vuser vgroup  
  22. <Directory "/var/www/extsuite/extmail/cgi/"> 
  23.      AllowOverride None  
  24.      Options Indexes FollowSymLinks MultiViews +ExecCGI  
  25.      Order allow,deny  
  26.      Allow from all  
  27. </Directory> 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值