我在lighttpd上配置fastcgi ,用网页去访问时出现500错误
时间:2010-08-18
来源:互联网
我在lighttpd上配置fastcgi ,用网页去访问时出现500错误
无法显示网页
您要访问的网页有问题,无法显示。
--------------------------------------------------------------------------------
请尝试以下操作:
打开 10.4.8.161 主页,然后查找指向您感兴趣信息的链接。
单击刷新按钮,或以后再试。
单击搜索,寻找 Internet 上的信息。
也可查看相关站点列表。
HTTP 500 - 内部服务器错误
Internet Explorer
=====================================
用的lighttpd 是lighttpd 1.4.19 具体配置是:
fastcgi.server = (
".fastcgi"=>
("10.4.8.161"=>(
# "port"=>80,
"min-procs"=>1,
"max-procs"=>1,
"bin-path"=>"/var/www/fcgi-bin/test.fastcgi",
# "bin-path"=>"10.4.8.161:91",
"socket"=>"/tmp/fastcgi.socket",
"check-local"=>"disable"
)
),
".fcg" =>
((
"min-procs"=>1,
"max-procs"=>1,
"socket"=>"/tmp/fcg.socket",
"bin-path"=>"/var/www/fcgi-bin/count.fcg",
"check-local"=>"disable"
)
),
".php" =>
((
"bin-path" => "/usr/bin/php-cgi",
"socket" => "/tmp/php.socket",
"max-procs" => 2,
"idle-timeout" => 20,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "4",
"PHP_FCGI_MAX_REQUESTS" => "10000"
),
"bin-copy-environment" => ( "PATH", "SHELL", "USER"
),
"broken-scriptfilename" => "enable"
))
================================================================
去看log文件,里面显示:
2010-08-18 15:03:35: (mod_fastcgi.c.1761) connect failed: Connection refused on unix:/tmp/fcg.socket-0
2010-08-18 15:03:35: (mod_fastcgi.c.2930) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1
2010-08-18 15:03:35: (response.c.116) Response-Header:
HTTP/1.1 500 Internal Server Error
Content-Type: text/html
Content-Length: 369
Date: Wed, 18 Aug 2010 07:03:35 GMT
Server: lighttpd/1.4.19
请问如何解决
无法显示网页
您要访问的网页有问题,无法显示。
--------------------------------------------------------------------------------
请尝试以下操作:
打开 10.4.8.161 主页,然后查找指向您感兴趣信息的链接。
单击刷新按钮,或以后再试。
单击搜索,寻找 Internet 上的信息。
也可查看相关站点列表。
HTTP 500 - 内部服务器错误
Internet Explorer
=====================================
用的lighttpd 是lighttpd 1.4.19 具体配置是:
fastcgi.server = (
".fastcgi"=>
("10.4.8.161"=>(
# "port"=>80,
"min-procs"=>1,
"max-procs"=>1,
"bin-path"=>"/var/www/fcgi-bin/test.fastcgi",
# "bin-path"=>"10.4.8.161:91",
"socket"=>"/tmp/fastcgi.socket",
"check-local"=>"disable"
)
),
".fcg" =>
((
"min-procs"=>1,
"max-procs"=>1,
"socket"=>"/tmp/fcg.socket",
"bin-path"=>"/var/www/fcgi-bin/count.fcg",
"check-local"=>"disable"
)
),
".php" =>
((
"bin-path" => "/usr/bin/php-cgi",
"socket" => "/tmp/php.socket",
"max-procs" => 2,
"idle-timeout" => 20,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "4",
"PHP_FCGI_MAX_REQUESTS" => "10000"
),
"bin-copy-environment" => ( "PATH", "SHELL", "USER"
),
"broken-scriptfilename" => "enable"
))
================================================================
去看log文件,里面显示:
2010-08-18 15:03:35: (mod_fastcgi.c.1761) connect failed: Connection refused on unix:/tmp/fcg.socket-0
2010-08-18 15:03:35: (mod_fastcgi.c.2930) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1
2010-08-18 15:03:35: (response.c.116) Response-Header:
HTTP/1.1 500 Internal Server Error
Content-Type: text/html
Content-Length: 369
Date: Wed, 18 Aug 2010 07:03:35 GMT
Server: lighttpd/1.4.19
请问如何解决
作者: xindeluoye 发布时间: 2010-08-18
我已经解决。
作者: xindeluoye 发布时间: 2010-08-18
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28