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> 

 

你可能感兴趣的:(apache,职场,fastcgi,休闲)