Page MenuHomePhabricator

Lighttpd for tools.para webservice crashes on startup
Closed, ResolvedPublic

Description

The Grid Engine accounting logs showed 3722 restarts for https://tools.wmflabs.org/?tool=para. $HOME/error.log was full of messages like this:

2017-06-27 23:20:29: (log.c.166) server started
2017-06-27 23:20:29: (mod_fastcgi.c.1103) the fastcgi-backend /data/project/para/public_html/test.fcgi failed to start:
2017-06-27 23:20:29: (mod_fastcgi.c.1107) child exited with status 2 /data/project/para/public_html/test.fcgi
2017-06-27 23:20:29: (mod_fastcgi.c.1110) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2017-06-27 23:20:29: (mod_fastcgi.c.1398) [ERROR]: spawning fcgi failed.
2017-06-27 23:20:29: (server.c.1021) Configuration of plugins failed. Going down.

Seems to be caused by this snippet of $HOME/.lighttpd.conf:

fastcgi.server += ( "test.fcgi" =>
    ( "test" => (
        "bin-path" => "/data/project/para/public_html/test.fcgi",
        "socket" => "/tmp/socket.para.test.fcgi"
    ))
)

There is no /data/project/para/public_html/test.fcgi file.

I have stopped the webservice until @Para can fix the lighttpd config.

Event Timeline

Para claimed this task.

Commented it out. The logs show the error since March 2017.