<div dir="ltr"><div>So I am trying to figure out what happened to apache, and I am getting this error under<br><br> systemctl status apache2.service<br><br>Jan 03 19:16:17 kd0whb apache2[22929]: * The apache2 configtest failed.<br>Jan 03 19:16:17 kd0whb apache2[22929]: Output of config test was:<br>Jan 03 19:16:17 kd0whb apache2[22929]: AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/000-default.conf:<br>Jan 03 19:16:17 kd0whb apache2[22929]: Invalid command 'LoadTileConfigFile', perhaps misspelled or defined by a module not included in the server configuration<br>Jan 03 19:16:17 kd0whb apache2[22929]: Action 'configtest' failed.<br>Jan 03 19:16:17 kd0whb apache2[22929]: The Apache error log may have more information.<br><br></div>I checked the /etc/apache2/sites-enabled/000-default.conf and everything seemed to be just as the website told me to add.<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 3, 2016 at 4:33 PM, Graham Jones <span dir="ltr"><<a href="mailto:grahamjones139@gmail.com" target="_blank">grahamjones139@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You will find generate_tiles.py etc. in the subversion folder referenced here: <a href="http://wiki.openstreetmap.org/wiki/OnDemandTileServer#Mapnik" target="_blank">http://wiki.openstreetmap.org/wiki/OnDemandTileServer#Mapnik</a><div><br></div><div>the instructions in that wiki page are:</div><div><pre style="font-family:monospace,Courier;color:black;border:1px solid rgb(221,221,221);padding:1em;white-space:pre-wrap;line-height:1.3em;font-size:1.2em;background-color:rgb(249,249,249)"> svn co <a href="http://svn.openstreetmap.org/applications/rendering/mapnik" target="_blank">http://svn.openstreetmap.org/applications/rendering/mapnik</a></pre><pre style="font-family:monospace,Courier;color:black;border:1px solid rgb(221,221,221);padding:1em;white-space:pre-wrap;line-height:1.3em;font-size:1.2em;background-color:rgb(249,249,249)">I don't think subversion is installed by default on ubuntu so you will probably have to do 'sudo apt-get install subversion' for 'svn' to work.</pre></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 3 January 2016 at 23:27, Graham Jones <span dir="ltr"><<a href="mailto:grahamjones139@gmail.com" target="_blank">grahamjones139@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm a bit out of practice - haven't done much OSM stuff lately, but when you download the OSM mapnik things (to make the mapnik style file), it comes with a program called generate_tiles.py. You give it the bounding box of the area you are interested in, and the mapnik style file, and it creates the set of tiles - you can put these in a location where your web server can get to them and they will be served by apache.<div><br></div><div>I drew a picture of how it all fitted together in a presentation a while ago, because it is quite complicated as you have discovered! <a href="http://www.slideshare.net/jones139/rendering-openstreetmap-data-using-mapnik" target="_blank">http://www.slideshare.net/jones139/rendering-openstreetmap-data-using-mapnik</a></div><div><br></div><div>I started a wiki page to describe the different methods of making tiles once <a href="http://wiki.openstreetmap.org/wiki/Creating_your_own_tiles" target="_blank">http://wiki.openstreetmap.org/wiki/Creating_your_own_tiles</a></div><div><br></div><div>To get going I'd recommend just having a go with the generate_image.py and generate_tiles.py scripts to get something if you are not too interested in updating everything in real time etc.</div><div><br></div><div>One thing to bear in mind though is that the method of creating the mapnik style file has changed since I used it - the default style is now once called 'carto', but once you have made the xml style file, generate_tiles.py and generate_image.py will work with it.</div><div><br></div><div>I hope that helps. I'm afraid it is rather late in the uk so I have to go to bed, but if you need anything else drop me a line and I'll reply tomorrow.</div><div><br></div><div>Regards</div><span><font color="#888888"><div><br></div><div><br>Graham.</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 3 January 2016 at 23:14, Skyler F <span dir="ltr"><<a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">How do you use generate_tiles.py, maybe that would work better. All I want to do is be able to request tiles in the Colorado area from an application that needs tiles. <br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 3, 2016 at 4:10 PM, Graham Jones <span dir="ltr"><<a href="mailto:grahamjones139@gmail.com" target="_blank">grahamjones139@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm afraid I am out of my depth now - I never used renderd - I just generated a set of tiles manually using generate_tiles.py once I had got the database and mapnik working - hopefully one of the folks that are more familiar with renderd will be able to help with that bit.<div>Sorry!</div><span><font color="#888888"><div><br>Graham.</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 3 January 2016 at 23:02, Skyler F <span dir="ltr"><<a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I am getting pretty frustrated. I have been working all day on this, and just can't get it to work. <br><br></div>So I type service apache2 reload, and I get Job for apache2.service invalid?! Apache was working fine earlier but now, It won't even open up the apache test page when I type localhost on my system. <br><br>When I run sudo -u kd0whb renderd -f -c /usr/local/etc/renderd.conf<br></div>I get a bunch of syntax errors:<br><br>renderd[5845]: Rendering daemon started<br>renderd[5845]: Initiating reqyest_queue<br>iniparser: syntax error in /usr/local/etc/renderd.conf (7):<br>-> ;[renderd01]<br>iniparser: syntax error in /usr/local/etc/renderd.conf (14):<br>-> ;[renderd02]<br>iniparser: syntax error in /usr/local/etc/renderd.conf (33):<br>-> ;** config options used by mod_tile, but not renderd **<br>iniparser: syntax error in /usr/local/etc/renderd.conf (45):<br>-> ;[style2]<br>iniparser: syntax error in /usr/local/etc/renderd.conf (52):<br>-> ;** config options used by mod_tile, but not renderd **<br><br></div>Isn't this symbol a comment " ; " ?<br><div><div>Why is it telling me syntax errors for the commented out lines?<br></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 3, 2016 at 3:17 PM, Skyler F <span dir="ltr"><<a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Well here is the error log:<br><div><br>[Sun Jan 03 10:17:11.032835 2016] [mpm_event:notice] [pid 17637:tid 140426070529920] AH00489: Apache/2.4.12 (Ubuntu) configured -- resuming normal operations<br>[Sun Jan 03 10:17:11.032907 2016] [core:notice] [pid 17637:tid 140426070529920] AH00094: Command line: '/usr/sbin/apache2'<br>[Sun Jan 03 10:17:16.002678 2016] [mpm_event:notice] [pid 17637:tid 140426070529920] AH00493: SIGUSR1 received. Doing graceful restart<br>AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message<br>[Sun Jan 03 10:17:16.005685 2016] [mpm_event:notice] [pid 17637:tid 140426070529920] AH00489: Apache/2.4.12 (Ubuntu) configured -- resuming normal operations<br>[Sun Jan 03 10:17:16.005693 2016] [core:notice] [pid 17637:tid 140426070529920] AH00094: Command line: '/usr/sbin/apache2'<br>[Sun Jan 03 10:17:33.559173 2016] [mpm_event:notice] [pid 17637:tid 140426070529920] AH00493: SIGUSR1 received. Doing graceful restart<br>AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message<br>[Sun Jan 03 10:17:33.562223 2016] [mpm_event:notice] [pid 17637:tid 140426070529920] AH00489: Apache/2.4.12 (Ubuntu) configured -- resuming normal operations<br>[Sun Jan 03 10:17:33.562231 2016] [core:notice] [pid 17637:tid 140426070529920] AH00094: Command line: '/usr/sbin/apache2'<br>[Sun Jan 03 15:15:05.934508 2016] [mpm_event:notice] [pid 17637:tid 140426070529920] AH00491: caught SIGTERM, shutting down<br><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 3, 2016 at 3:11 PM, Graham Jones <span dir="ltr"><<a href="mailto:grahamjones139@gmail.com" target="_blank">grahamjones139@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I haven't seen that before - I always use "/etc/init.d/apache2 restart", but i think that is just the old fashioned way of doing what you are doing. <div>I'd look at the bottom of /var/log/apache2/error.log - the messages are often helpful.</div><div><br>Graham.</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On 3 January 2016 at 22:05, Skyler F <span dir="ltr"><<a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Ok. I finished the apache configuration and am almost done, but when I typed <br></div>service apache2 reload, I got an error<br><br><span style="font-size:13.3333px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline">Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.<br><br></span></div><span style="font-size:13.3333px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-variant:normal;text-decoration:none;vertical-align:baseline">Anything I can try to see what wen't wrong. I have been updating that google drive file with everything I have done so far. </span><span style="font-size:13.3333px;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline"><br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 3, 2016 at 1:42 PM, Skyler F <span dir="ltr"><<a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Nevermind, I found the link, part of it was on the next line. <br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 3, 2016 at 1:36 PM, Skyler F <span dir="ltr"><<a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, I am on the download OSM bright, but there is a 404 error when I get here<br><br>wget http//<a href="http://www.naturalearthdata.com/download/10m/cultural" target="_blank">www.naturalearthdata.com/download/10m/cultural</a><br></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Sun, Jan 3, 2016 at 12:45 PM, Sebastiaan Couwenberg <span dir="ltr"><<a href="mailto:sebastic@xs4all.nl" target="_blank">sebastic@xs4all.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 03-01-16 19:58, Skyler F wrote:<br>
> Notice: dependencies not met for plugin 'occi', not building...<br>
> Notice: dependencies not met for plugin 'rasterlite', not building<br>
<br>
</span>librasterlite has been deprecated by its author [0], consequently<br>
rasterlite support has been removed [1] from Mapnik core in 3.0.1. The<br>
osm & occi support were moved out of core in the same release. [2]<br>
<br>
[0] <a href="http://www.gaia-gis.it/gaia-sins/" rel="noreferrer" target="_blank">http://www.gaia-gis.it/gaia-sins/</a><br>
[1] <a href="https://github.com/mapnik/mapnik/issues/2977" rel="noreferrer" target="_blank">https://github.com/mapnik/mapnik/issues/2977</a><br>
[2] <a href="https://github.com/mapnik/mapnik/blob/v3.0.2/CHANGELOG.md#301" rel="noreferrer" target="_blank">https://github.com/mapnik/mapnik/blob/v3.0.2/CHANGELOG.md#301</a><br>
<div><div><br>
Kind Regards,<br>
<br>
Bas<br>
<br>
--<br>
GPG Key ID: 4096R/6750F10AE88D4AF1<br>
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1<br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span>-- <br><div><div dir="ltr"><font color="#38761d" face="arial narrow, sans-serif">Skyler Fennell</font><div><font color="#38761d" face="arial narrow, sans-serif"><a href="http://amsatnet.info" target="_blank">amsatnet.info</a></font></div><div><font color="#38761d" face="arial narrow, sans-serif">KDØWHB</font></div><div><font color="#38761d" face="arial narrow, sans-serif"><a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a></font></div></div></div>
</span></div>
</blockquote></div><br><br clear="all"><span><font color="#888888"><br>-- <br><div><div dir="ltr"><font color="#38761d" face="arial narrow, sans-serif">Skyler Fennell</font><div><font color="#38761d" face="arial narrow, sans-serif"><a href="http://amsatnet.info" target="_blank">amsatnet.info</a></font></div><div><font color="#38761d" face="arial narrow, sans-serif">KDØWHB</font></div><div><font color="#38761d" face="arial narrow, sans-serif"><a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a></font></div></div></div>
</font></span></div><span><font color="#888888">
</font></span></div></div></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div><div dir="ltr"><font color="#38761d" face="arial narrow, sans-serif">Skyler Fennell</font><div><font color="#38761d" face="arial narrow, sans-serif"><a href="http://amsatnet.info" target="_blank">amsatnet.info</a></font></div><div><font color="#38761d" face="arial narrow, sans-serif">KDØWHB</font></div><div><font color="#38761d" face="arial narrow, sans-serif"><a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a></font></div></div></div>
</font></span></div>
<br>_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><span><font color="#888888"><div><div dir="ltr"><div><a href="http://google.com/+GrahamJones" target="_blank">Graham Jones</a> <div>Hartlepool, UK.</div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><font color="#38761d" face="arial narrow, sans-serif">Skyler Fennell</font><div><font color="#38761d" face="arial narrow, sans-serif"><a href="http://amsatnet.info" target="_blank">amsatnet.info</a></font></div><div><font color="#38761d" face="arial narrow, sans-serif">KDØWHB</font></div><div><font color="#38761d" face="arial narrow, sans-serif"><a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a></font></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><font color="#38761d" face="arial narrow, sans-serif">Skyler Fennell</font><div><font color="#38761d" face="arial narrow, sans-serif"><a href="http://amsatnet.info" target="_blank">amsatnet.info</a></font></div><div><font color="#38761d" face="arial narrow, sans-serif">KDØWHB</font></div><div><font color="#38761d" face="arial narrow, sans-serif"><a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a></font></div></div></div>
</div>
</div></div><br>_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><a href="http://google.com/+GrahamJones" target="_blank">Graham Jones</a> <div>Hartlepool, UK.</div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><font color="#38761d" face="arial narrow, sans-serif">Skyler Fennell</font><div><font color="#38761d" face="arial narrow, sans-serif"><a href="http://amsatnet.info" target="_blank">amsatnet.info</a></font></div><div><font color="#38761d" face="arial narrow, sans-serif">KDØWHB</font></div><div><font color="#38761d" face="arial narrow, sans-serif"><a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a></font></div></div></div>
</div>
</div></div><br>_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><a href="http://google.com/+GrahamJones" target="_blank">Graham Jones</a> <div>Hartlepool, UK.</div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><a href="http://google.com/+GrahamJones" target="_blank">Graham Jones</a> <div>Hartlepool, UK.</div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><font face="arial narrow, sans-serif" color="#38761d">Skyler Fennell</font><div><font face="arial narrow, sans-serif" color="#38761d"><a href="http://amsatnet.info" target="_blank">amsatnet.info</a></font></div><div><font face="arial narrow, sans-serif" color="#38761d">KDØWHB</font></div><div><font face="arial narrow, sans-serif" color="#38761d"><a href="mailto:electricity440@gmail.com" target="_blank">electricity440@gmail.com</a></font></div></div></div>
</div>