+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">&lt;<a href="mailto:schrader@geoinformationsdienst.de">schrader@geoinformationsdienst.de</a>&gt;</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 -&gt; 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[&quot;host&quot;] == &quot;mapserver&quot; {<br>
  fastcgi.server = (<br>
    &quot;/proxy&quot; =&gt; ((<br>
      &quot;check-local&quot; =&gt; &quot;disable&quot;,<br>
      &quot;socket&quot;      =&gt; &quot;/home/meier/MapProxy-0.8.2/mymapproxy/var/fcgi-socket&quot;<br>
    ))<br>
  )<br>
}<br>
<br>
After starting the lighttpd web server and accessing<br>
-&gt; <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&#39;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 &quot;/home/meier/MapProxy-0.8.2/mapproxy/bin/paster&quot;, line 9, in &lt;module&gt;<br>
    load_entry_point(&#39;PasteScript==1.7.3&#39;, &#39;console_scripts&#39;, &#39;paster&#39;)()<br>
  File &quot;/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/command.py&quot;, line 84, in run<br>
    invoke(command, command_name, options, args[1:])<br>
  File &quot;/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/command.py&quot;, line 123, in invoke<br>
    exit_code = runner.run(args)<br>
  File &quot;/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/appinstall.py&quot;, line 68, in run<br>
    return super(AbstractInstallCommand, self).run(new_args)<br>
  File &quot;/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/command.py&quot;, line 218, in run<br>
    result = self.command()<br>
  File &quot;/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/appinstall.py&quot;, line 454, in command<br>
    installer = self.get_installer(dist, ep_group, ep_name)<br>
  File &quot;/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/paste/script/appinstall.py&quot;, line 234, in get_installer<br>
    &#39;paste.app_install&#39;, ep_name)<br>
  File &quot;/home/meier/MapProxy-0.8.2/mapproxy/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg/pkg_resources.py&quot;, line 2228, in load_entry_point<br>
    raise ImportError(&quot;Entry point %r not found&quot; % ((group,name),))<br>
ImportError: Entry point (&#39;paste.app_install&#39;, &#39;app&#39;) 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>