+1 - I asked a similar question this morning ;-)<br><br>Adam<br><br><div class="gmail_quote">On Tue, May 25, 2010 at 10:01 AM, Lars Schrader <span dir="ltr"><<a href="mailto:schrader@geoinformationsdienst.de">schrader@geoinformationsdienst.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br>
<br>
the last days I have tried to install mapproxy as a production system (lighttpd) without luck.<br>
<br>
First I have tried to use the development environment with the Paste Server -> paster serve etc/develop.ini --reload<br>
Very good work!!!!<br>
<br>
After this I have started to install the production system.<br>
<br>
1. Edit /etc/lighttpd/lighttpd.conf<br>
<br>
<br>
$HTTP["host"] == "mapserver" {<br>
fastcgi.server = (<br>
"/proxy" => ((<br>
"check-local" => "disable",<br>
"socket" => "/home/meier/MapProxy-0.8.2/mymapproxy/var/fcgi-socket"<br>
))<br>
)<br>
}<br>
<br>
After starting the lighttpd web server and accessing<br>
-> <a href="http://mapserver/proxy/service" target="_blank">http://mapserver/proxy/service</a>? (web browser)<br>
I got the following error into /var/log/lighttpd/error.log<br>
<br>
2010-05-25 13:43:44: (log.c.166) server started<br>
2010-05-25 13:43:58: (mod_fastcgi.c.1734) connect failed: No such file or directory on unix:/home/meier/MapProxy-0.8.2/mymapproxy/var/fcgi-socket<br>
2010-05-25 13:43:58: (mod_fastcgi.c.3037) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1<br>
2010-05-25 15:32:52: (mod_fastcgi.c.2864) fcgi-server re-enabled: unix:/home/meier/MapProxy-0.8.2/mymapproxy/var/fcgi-socket<br>
<br>
<br>
<br>
2. Install mapproxy application and the fci-socket<br>
<br>
cd home/meier/MapProxy-0.8.2/mymapproxy<br>
<br>
paster setup-app etc/config.ini<br>
<br>
After this command I got the following error:<br>
<br>
(mapproxy)meier@mapserver:~/MapProxy-0.8.2/mymapproxy$ paster setup-app etc/config.ini<br>
<br>
Traceback (most recent call last):<br>
File "/home/meier/MapProxy-0.8.2/mapproxy/bin/paster", line 9, in <module><br>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()<br>
File "/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/command.py", line 84, in run<br>
invoke(command, command_name, options, args[1:])<br>
File "/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/command.py", line 123, in invoke<br>
exit_code = runner.run(args)<br>
File "/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/appinstall.py", line 68, in run<br>
return super(AbstractInstallCommand, self).run(new_args)<br>
File "/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/command.py", line 218, in run<br>
result = self.command()<br>
File "/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/appinstall.py", line 454, in command<br>
installer = self.get_installer(dist, ep_group, ep_name)<br>
File "/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/appinstall.py", line 234, in get_installer<br>
'paste.app_install', ep_name)<br>
File "/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/pkg_resources.py", line 2228, in load_entry_point<br>
raise ImportError("Entry point %r not found" % ((group,name),))<br>
ImportError: Entry point ('paste.app_install', 'app') not found<br>
<br>
<br>
Is this the right way to install mapproxy as a produktion system? I hope somebody can help me to fix this problem.<br>
<br>
Regards, Lars<br>
<br>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
</blockquote></div><br>