<div dir="ltr"><div>First of all I've missed an important information to include in my 
first question post. I am using osgeo-6.05 where MapProxy comes 
prebuild. <br><br></div>
When I execute the command <br><br><pre><font size="4"><span style="color:rgb(11,83,148)">mapproxy-util serve-develop mapproxy.yaml</span><br><br></font></pre><pre><font size="4"><span style="font-family:arial,helvetica,sans-serif">It gave me an error as the following</span><br>
<br><span style="color:rgb(255,0,0)">[2013-05-23 16:57:33,558] mapproxy.config - INFO - reading: /usr/local/share/mapproxy/</span><span style="color:rgb(255,0,0)">mapproxy.yaml<br>

[info]  * Running on <a href="http://127.0.0.1:8080/" target="_blank">http://127.0.0.1:8080/</a><br>Traceback (most recent call last):<br>  File "/usr/bin/mapproxy-util", line 9, in <module><br>    load_entry_point('MapProxy==1.</span><span style="color:rgb(255,0,0)">5.0', 'console_scripts', 'mapproxy-util')()<br>


  File "/usr/lib/pymodules/python2.7/</span><span style="color:rgb(255,0,0)">mapproxy/script/util.py", line 337, in main<br>    commands[command]['func'](</span><span style="color:rgb(255,0,0)">args)<br>
  File "/usr/lib/pymodules/python2.7/</span><span style="color:rgb(255,0,0)">mapproxy/script/util.py", line 82, in serve_develop_command<br>

    extra_files=[mapproxy_conf])<br>  File "/usr/lib/pymodules/python2.7/</span><span style="color:rgb(255,0,0)">mapproxy/util/ext/serving.py", line 568, in run_simple<br>    test_socket.bind((hostname, port))<br>
  File "/usr/lib/python2.7/socket.py"</span><span style="color:rgb(255,0,0)">, line 224, in meth<br>

    return getattr(self._sock,name)(*</span><span style="color:rgb(255,0,0)">args)<br>socket.error: [Errno 98] Address already in use<br></span><br></font></pre><pre><font size="4">Since it tells the default port 8080 is used. I thought of a different method. In osgeo-6.05 there is a separate menu<br>


</font></pre><pre><font size="4">menu called "Start MapProxy". When I hit that option my proxy got started without giving the above error. It produces the following lines when it starts.<br><span style="color:rgb(0,255,0)"><br>
<span style="color:rgb(11,83,148)">[2013-05-23 17:04:59,365] mapproxy.config - INFO - reading: /usr/local/share/mapproxy/</span></span><span style="color:rgb(11,83,148)">mapproxy.yaml<br>

[info]  * Running on <a href="http://0.0.0.0:8011/" target="_blank">http://0.0.0.0:8011/</a><br>[info]  * Restarting with reloader: stat() polling<br>[2013-05-23 17:04:59,716] mapproxy.config - INFO - reading: /usr/local/share/mapproxy/</span><span style="color:rgb(11,83,148)">mapproxy.yaml</span><br>


<br></font></pre><pre><font size="4">After that I used the link<br><br><a href="http://localhost:8011/demo/" target="_blank">http://localhost:8011/demo/</a><br><br></font></pre><pre><font size="4">and viewed the demo site. </font></pre>
<div class="gmail_extra"><br>-- <br><a href="http://hishanmelanga.blogspot.com/" target="_blank">හිෂාන් මෙලංග | Hishan Melanga</a><br>
</div></div>