[Cppcms-users] HTTP 500 errors - backend died?
Brought to you by:
artyom-beilis
From: stuart b. <stu...@ho...> - 2009-02-22 20:54:32
|
Hi, I am having problems getting any CppCMS applications to run. (Running CppCMS 0.0.4 on Ubuntu 8.10 x86) Any requests get a HTTP 500 error. Have tried lighttpd and apache - the only difference is that lighttpd gives some debugging output (shown below). Here is the output when running the "hello world" example: $ cppcms_run hello.fcgi -c config.txt Web Server Host:127.0.0.1 Web Server Port:8080 Document Root:/<removed>/cppcms/examples-0.0.4/hello_world Script:/hello.fcgi Api:fastcgi Socket:/tmp/hello-world.sock Server:/usr/sbin/lighttpd -f /<removed>/cppcms/examples-0.0.4/hello_world/cppcms_rundir/lighty.conf Starting Application Server:/hello.fcgi X-Powered-By: cppcms/0.0.4 Content-Length: 53 Content-Type: text/html <html> <body> <h1>Hello World</h1> </body> </html> Application Server PID:11871 Starting Web Server 2009-02-22 20:41:33: (log.c.75) server started Web Server PID:11874 ------------------------------------ - Press Any Key To Stop The Server - ------------------------------------ 2009-02-22 20:41:42: (mod_fastcgi.c.1761) connect failed: No such file or directory on unix:/tmp/hello-world.sock 2009-02-22 20:41:42: (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 2009-02-22 20:41:48: (mod_fastcgi.c.2743) fcgi-server re-enabled: unix:/tmp/hello-world.sock The last few lines repeat each time a request is made from the browser. From my investigation it seems that the "app.execute()" line is falling through, generating one batch of output and then the application quits. Any ideas? |