Permalink
Browse files

Added chmod for sockets to documentation.

  • Loading branch information...
1 parent fd58e66 commit 94ffa3506fa93a2db1c9f0f461312da62371e6ec @drolbr committed May 4, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 html/full_installation.html
  2. +2 −0 html/no_frills.html
@@ -82,6 +82,7 @@ <h2><a name="minute_updates">Minute Updates</a></h2>
<p>The following steps are only needed if you want minutely updates. In this case, run the following commands:</p>
<pre>nohup ../bin/dispatcher --osm-base --meta --db-dir=&quot;../db/&quot; &amp;</pre>
+<pre>chmod 666 &quot;../db/osm3s_v0.6.98_osm_base&quot;</pre>
<p>(without <em>--meta</em> if you have not processed meta data)</p>
<p>The dispatcher has been successfully started if you find a line &quot;<em>Dispatcher just started.</em>&quot; with correct date (in UTC) in the file <em>transactions.log</em> in the database directory.</p>
@@ -151,6 +152,7 @@ <h2><a name="areas">Area creation</a></h2>
<p>The next step is to start a second dispatcher that coordinates read and write operations for the areas related files in the database:</p>
<pre>nohup ../bin/dispatcher --areas --db-dir=&quot;../db/&quot; &amp;</pre>
+<pre>chmod 666 &quot;../db/osm3s_v0.6.98_areas&quot;</pre>
<p>The dispatcher has been successfully started if you find a line &quot;<em>Dispatcher just started.</em>&quot; with correct date (in UTC) in the file <em>transactions.log</em> in the database directory.</p>
<p>The third step then is to start the rule batch processor as a daemon:</p>
View
@@ -38,6 +38,7 @@ <h2>Outline</h2>
<p><a href="#minute_updates">Activate minutely updates</a>:</p>
<pre>nohup ../bin/dispatcher --osm-base --meta --db-dir=&quot;../db/&quot; &amp;
+chmod 666 &quot;../db/osm3s_v0.6.98_osm_base&quot;
nohup ../bin/fetch_osc.sh <em>id</em> &quot;http://planet.openstreetmap.org/minute-replicate/&quot; &quot;../minute-diffs/&quot; &amp;
nohup ../bin/apply_osc_to_db.sh &quot;../db/&quot; &quot;../minute-diffs/&quot; <em>id</em> --meta=yes &amp;</pre>
@@ -109,6 +110,7 @@ <h2><a name="minute_updates">Minute Updates</a></h2>
<p>But maybe you also want minutely updates. In this case, run the commands:</p>
<pre>nohup ../bin/dispatcher --osm-base --meta --db-dir=&quot;../db/&quot; &amp;</pre>
+<pre>chmod 666 &quot;../db/osm3s_v0.6.98_osm_base&quot;</pre>
<pre>nohup ../bin/fetch_osc.sh <em>id</em> &quot;http://planet.openstreetmap.org/minute-replicate/&quot; &quot;../minute-diffs/&quot; &amp;</pre>
<pre>nohup ../bin/apply_osc_to_db.sh &quot;../db/&quot; &quot;../minute-diffs/&quot; <em>id</em> --meta=yes &amp;</pre>
<p>These commands don't make sense without <em>nohup</em>, because the programs become daemons and never terminate. Once again, you need to replace parameters: you always need to replace <em>id</em> by the replicate id to start from. Search on <a href="http://planet.openstreetmap.org/minute-replicate/">http://planet.openstreetmap.org/minute-replicate/</a> with your browser for the last replication diff that has been created before the planet creation date.</p>

0 comments on commit 94ffa35

Please sign in to comment.