Last modified: 2014-08-03 15:22:39 UTC
I'm getting a "403 forbidden" error on http://tools.wmflabs.org/mix-n-match/api.php It worked fine yesterday; haven't touched it since three days ago. Restarted webservice, no change. This renders my tool non-functional. Please help.
Your webservice has been restarted 2014-07-24 07:47:05: (server.c.1512) server stopped by UID = 51434 PID = 23122 2014-07-24 07:47:33: (log.c.166) server started 2014-07-24 08:02:19: (server.c.1512) server stopped by UID = 0 PID = 17456 2014-07-24 08:02:48: (log.c.166) server started With restart it got the new default config, which checks for custom php-fcgi handlers in .lighttpd.conf. But this check fails, if there's no such config-file at all. Please create a file .lighttpd.conf and add some arbitrary comment or something useful like: server.modules += ("mod_auth","mod_status") status.status-url = "/mix-n-match/server-status" status.statistics-url = "/mix-n-match/server-statistics" Seems to be my faulft this time :/ Sry for that!
Change 148977 had a related patch set uploaded by Hedonil: webserviće: Bug: 68431, Bug: 68499 - allow setting individual tools memory limits via config files in /data/project/.system/config - create blank .lighttpd.conf, if it doesn't exist https://gerrit.wikimedia.org/r/148977
(In reply to metatron from comment #1) > Your webservice has been restarted > 2014-07-24 07:47:05: (server.c.1512) server stopped by UID = 51434 PID = > 23122 > 2014-07-24 07:47:33: (log.c.166) server started > 2014-07-24 08:02:19: (server.c.1512) server stopped by UID = 0 PID = 17456 > 2014-07-24 08:02:48: (log.c.166) server started > > With restart it got the new default config, which checks for custom php-fcgi > handlers in .lighttpd.conf. > > But this check fails, if there's no such config-file at all. > > Please create a file .lighttpd.conf and add some arbitrary comment or > something useful like: > > server.modules += ("mod_auth","mod_status") > status.status-url = "/mix-n-match/server-status" > status.statistics-url = "/mix-n-match/server-statistics" > > Seems to be my faulft this time :/ > Sry for that! Did that. Now it doesn't fail, it just "runs" forever...
(In reply to Magnus Manske from comment #3) > (In reply to metatron from comment #1) > > Your webservice has been restarted > > 2014-07-24 07:47:05: (server.c.1512) server stopped by UID = 51434 PID = > > 23122 > > 2014-07-24 07:47:33: (log.c.166) server started > > 2014-07-24 08:02:19: (server.c.1512) server stopped by UID = 0 PID = 17456 > > 2014-07-24 08:02:48: (log.c.166) server started > > > > With restart it got the new default config, which checks for custom php-fcgi > > handlers in .lighttpd.conf. > > > > But this check fails, if there's no such config-file at all. > > > > Please create a file .lighttpd.conf and add some arbitrary comment or > > something useful like: > > > > server.modules += ("mod_auth","mod_status") > > status.status-url = "/mix-n-match/server-status" > > status.statistics-url = "/mix-n-match/server-statistics" > > > > Seems to be my faulft this time :/ > > Sry for that! > > Did that. Now it doesn't fail, it just "runs" forever... Not forever; after a minute or so it died with "Internal error". Worked fine yesterday, so...
Yeah. Karma & Coincidence!. See labs-l: DB-upgrade in progress my backlog right now http://tools.wmflabs.org/newwebtest/xtools-status.html Just terminated the service for now.
Huh. Now it works. Thanks if you fixed it, otherwise - magick! ;-)
Ha! magic it is ;) Yep it's better as you're getting a quick error-response and not a 100sec timeout, if you try to access affected databases.
Change 149015 had a related patch set uploaded by Hedonil: lighttpd-starter: include default php-fcgi if no .lighttpd.conf is present https://gerrit.wikimedia.org/r/149015
Change 149015 merged by coren: lighttpd-starter: include default php-fcgi if no .lighttpd.conf is present https://gerrit.wikimedia.org/r/149015