Apache 中的快速 CGI:无法绑定 unix 域套接字
Fast CGI in Apache: Couldn't bind unix domain socket
排除了诸如缺少写入文件的权限之类的琐碎原因后,我正在寻找造成这种情况的原因。文件 fcgid.conf
仅提供基本设置,我无法验证它试图打开哪个端口。如何授予权限?
提示:可能这个端口被我的系统屏蔽了,但是我没有找到任何提到的端口号。在 fcgid 配置中。
这是 Apache 错误日志。加载快速 CGI 脚本时:
[Tue Oct 06 14:16:24.235309 2015] [fcgid:error] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /var/run/httpd/mod_fcgid/23141.256
[Tue Oct 06 14:16:24.235351 2015] [fcgid:warn] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: spawn process /var/www/html/azure/testfcgi.fcgi error
[Tue Oct 06 14:16:25.236606 2015] [fcgid:error] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /var/run/httpd/mod_fcgid/23141.257
[Tue Oct 06 14:16:25.236682 2015] [fcgid:warn] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: spawn process /var/www/html/azure/testfcgi.fcgi error
[Tue Oct 06 14:16:26.237965 2015] [fcgid:error] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /var/run/httpd/mod_fcgid/23141.258
[Tue Oct 06 14:16:26.238043 2015] [fcgid:warn] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: spawn process /var/www/html/azure/testfcgi.fcgi error
要解决此问题,请修复服务器报告的文件和路径的权限。
排除了诸如缺少写入文件的权限之类的琐碎原因后,我正在寻找造成这种情况的原因。文件 fcgid.conf
仅提供基本设置,我无法验证它试图打开哪个端口。如何授予权限?
提示:可能这个端口被我的系统屏蔽了,但是我没有找到任何提到的端口号。在 fcgid 配置中。
这是 Apache 错误日志。加载快速 CGI 脚本时:
[Tue Oct 06 14:16:24.235309 2015] [fcgid:error] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /var/run/httpd/mod_fcgid/23141.256
[Tue Oct 06 14:16:24.235351 2015] [fcgid:warn] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: spawn process /var/www/html/azure/testfcgi.fcgi error
[Tue Oct 06 14:16:25.236606 2015] [fcgid:error] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /var/run/httpd/mod_fcgid/23141.257
[Tue Oct 06 14:16:25.236682 2015] [fcgid:warn] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: spawn process /var/www/html/azure/testfcgi.fcgi error
[Tue Oct 06 14:16:26.237965 2015] [fcgid:error] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /var/run/httpd/mod_fcgid/23141.258
[Tue Oct 06 14:16:26.238043 2015] [fcgid:warn] [pid 23141:tid 139803208390720] (13)Permission denied: mod_fcgid: spawn process /var/www/html/azure/testfcgi.fcgi error
要解决此问题,请修复服务器报告的文件和路径的权限。