Project

General

Profile

Actions

Support #1290

closed

Fastcgi Problem. Apache

Added by Anonymous almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
05/13/2012
Due date:
% Done:

0%

Estimated time:

Description

The built-in web server of wt is running fine and i can log in to my wt page. I am on ubuntu. Once I compile and link helloworld with libwtfcgi without making any modifications to code ( Did I miss something ) and when i run ./hello.wt it says

[2012-May-13 21:44:38.760740] 15912 - [info] "wtfcgi: reading FastCGI stream from stdin"

[2012-May-13 21:44:38.766581] 15912 - [error] "wtfcgi: fatal: accept(): Socket operation on non-socket"

I have checked and there is a socket being created in var/run/wt with the process id.

Also I have apache report this in the error log file width 500 Internal Server Error.

[Sun May 13 21:57:44 2012] [warn] FastCGI: (dynamic) server "/var/www/hello.wt" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds

[Sun May 13 21:57:49 2012] [alert] [client 127.0.0.1] (13)Permission denied: FastCGI: failed to connect to (dynamic) server "/var/www/wt_testing.wt": something is seriously wrong, any chance the socket/named_pipe directory was removed?, see the FastCgiIpcDir directive

[Sun May 13 21:57:49 2012] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "/var/www/wt_testing.wt"

Now I am swimming in brain-disorder-pool configuring apache.

Also I notice that similiar problem has been posted before. And all such solutions doesnt work for me.

Actions #1

Updated by Koen Deforche almost 12 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche
  • Target version set to 3.2.2

Hey,

[Sun May 13 21:57:49 2012] [alert] [client 127.0.0.1] (13)Permission denied: FastCGI: failed to connect to (dynamic) server

[Sun May 13 21:57:49 2012] [alert] [client 127.0.0.1] (13)Permission denied: FastCGI: failed to connect to (dynamic) server "/var/www/wt_testing.wt": something is seriously wrong, any chance the socket/named_pipe directory was removed?, see the FastCgiIpcDir directive

This error I have not yet seen. Does the directory indicated by the value of FastCgiIpcDir exist with correct permissions (srw for apache process) ?

Regards,

koen

Actions #2

Updated by Koen Deforche almost 12 years ago

  • Status changed from InProgress to Closed
Actions

Also available in: Atom PDF