Main  /  Edit version 2  /  Edit version 3  /   /  Users Area

Difference "Web Server Configuration Troubleshooting" ver. 2 versus ver. 3

Titles:

Version 2Version 3
Server configuration troubleshootingWeb Server Configuration Troubleshooting

Content:

<!--toc-->
[Back to server configuration](/wikipp/en/page/cppcms_1x_tut_web_server_config).
## Apache 2
### FastCGI: failed to connect to server
All seems to be perfectly configured, but the browser complains about an internal server error / misconfiguration. The apache error logs for the site have:
(13)Permission denied: FastCGI: failed to connect to server
FastCGI: incomplete headers (0 bytes) received from server
Solution: see [Common log file errors](http://www.electricmonk.nl/docs/apache_fastcgi_python/apache_fastcgi_python.html#_common_logfile_errors) :
<blockquote>
FastCGI cannot connect to the application socket because it does not have the correct ownership or permissions. This usually happens in external mode, when the application you are trying to run creates the socket itself. Make sure you are running the application as the web server user and that the web server can read and write from and to the socket. Sometimes the socket will not be removed by Apache or your application, and it will have the wrong permissions. Your application can’t overwrite the socket with a correct one, and fails silently. Make sure to remove any socket files before starting Apache.
</blockquote>
> FastCGI cannot connect to the application socket
> because it does not have the correct ownership
> or permissions.
> This usually happens in external mode,
> when the application you are trying to run creates the
> socket itself.
>
> Make sure you are running the application
> as the web server user and that the web server can read
> and write from and to the socket. Sometimes the socket
> will not be removed by Apache or your application, and it
> will have the wrong permissions. Your application can’t
> overwrite the socket with a correct one, and fails
> silently. Make sure to remove any socket files before
> starting Apache.

Sidebar:

## Related
- [Web Server Configuration](/wikipp/en/page/cppcms_1x_tut_web_server_config).

About

CppCMS is a web development framework for performance demanding applications.

Support This Project

SourceForge.net Logo

Поддержать проект

CppCMS needs You


Navigation

Main Page


Valid CSS | Valid XHTML 1.0