After eliminating trivial reasons, such as the lack of permission to write to the file, I searched for the reason for this. The file fcgid.conf
contains only the basic settings, and I canβt check which port it is trying to open. How can I grant permission?
Hint: the port may be blocked by my system, but I did not find any mention of the port there. in fcgid configuration.
This is the Apache error log. when the Fast CGI script loads:
[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
source
share