[Pywps-dev] pywps on lighthttpd
Martin Landa
landa.martin at gmail.com
Wed May 10 08:24:53 PDT 2017
Hi all,
is there anyone by chance who is running successfully pywps on
lighthttpd? I started with configuration bellow:
fastcgi.server = (
"/pywps" => ((
"bin-path" => "/path/to/pywps.wsgi",
"socket" => "/tmp/pywps.socket",
"max-procs" => 2,
"bin-environment" => (
"REAL_SCRIPT_NAME" => ""
),
"check-local" => "disable"
))
)
but it's failing (500):
2017-05-10 17:21:30: (mod_fastcgi.c.1754) connect failed: Connection
refused on unix:/tmp/pywps.socket-1
2017-05-10 17:21:30: (mod_fastcgi.c.454) backend disabled for 1 seconds
2017-05-10 17:21:30: (mod_fastcgi.c.3021) backend died; we'll disable
it for 1 seconds and send the request to another backend instead:
reconnects: 0 load: 1
2017-05-10 17:21:30: (mod_fastcgi.c.2831) --- fastcgi spawning
socket unix:/tmp/pywps.socket-1
current: 1 / 2
2017-05-10 17:21:30: (mod_fastcgi.c.867) new proc, socket: 0 /tmp/pywps.socket-1
2017-05-10 17:21:30: (mod_fastcgi.c.3054) got proc: pid: 31250 socket:
unix:/tmp/pywps.socket-1 load: 1
2017-05-10 17:21:31: (mod_fastcgi.c.2562) unexpected end-of-file
(perhaps the fastcgi process died): pid: 31250 socket:
unix:/tmp/pywps.socket-1
2017-05-10 17:21:31: (mod_fastcgi.c.3299) child exited, pid: 31250 status: 0
2017-05-10 17:21:31: (mod_fastcgi.c.3313) --- fastcgi spawning
socket unix:/tmp/pywps.socket-1
current: 1 / 2
2017-05-10 17:21:31: (mod_fastcgi.c.867) new proc, socket: 0 /tmp/pywps.socket-1
2017-05-10 17:21:31: (mod_fastcgi.c.3346) response not received,
request sent: 792 on socket: unix:/tmp/pywps.socket-1 for
/pywps?service=wps&request=getcapabilities, closing connection
2017-05-10 17:21:31: (mod_fastcgi.c.1505) released proc: pid: 31254
socket: unix:/tmp/pywps.socket-1 load: 0
147.32.137.249 server:91 - [10/May/2017:17:21:31 +0200] "GET
/pywps?service=wps&request=getcapabilities HTTP/1.1" 500 369 "-"
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101
Firefox/53.0"
WSGI file is based on documentation [1].
Any ideas? Thanks, Martin
[1] http://pywps.readthedocs.io/en/latest/deployment.html#creating-a-pywps-wsgi-instance
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
More information about the pywps-dev
mailing list