Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-04 Thread Lester Caine
On 04/01/16 05:16, Skyler F wrote:
> Nevermind, it decided to work finally yay!

Skyler ... have been following your efforts and totally understand the
frustration ;) I HAD all of this working on an earlier build of SUSE
having jumped through all the hoops, and I thought carefully documenting
every step. Many of the problems are not so much with OSM but with the
way every distribution adds it's own complexity to running essentially
the same tools. Currently my own attempts at restoring the service have
cost a lot of unpaid time ...

service apache2 reload
systemctl restart apache2
or what ever esentially running
/etc/init.d/apache2 restart or what ever is replacing the init.d service

Even running LTS servers in order to keep things working is not always
the safest way of doing things as a recent exercise in porting a PHP
application has proven. The PHP5.2 builds are running stable in
production, but moving several years of data over to the 5.4 version
takes time, and once converted, can no long be used on the 5.2 build.
But while both are still available on LTS servers, both are end of life,
and moving them to 5.6 introduces another incompatible build, and PHP7
messes things further. Python has much the same problem with Python2 and
3 needing incompatible versions of code, and while many projects stick
with P2, pressure to upgrade resulted in a number of broken P2 projects
over Christmas. Then add in all the other languages used to produce a
working OSM setup!

MANY of the tools listed on the switch2osm site are no longer actively
supported by their originators, so we do need an overhaul of the whole
process, but a reliable base framework does not exist and the diversity
between linux distributions is making that more and more difficult.
Personally Ubuntu is not practical for me as all my production servers
are SUSE based, and when I have tried alternatives the subtle command
line differences such as restarting apache catch you out at critical
times :( And apache is perhaps not the best choice for production web
servers anyway ...

I HAD a working system which I was hoping to make live to produce a UK
style service, but currently only the OSRM layer is working fully. I'm
at the pink square stage on the tile server ... and need to pay the
bills so don't have time to 'start again' with a new framework.

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-04 Thread Daniel Koć

W dniu 04.01.2016 3:39, Joseph Reeves napisał(a):


Qemu / KVM is pretty straightforward to get running, probably easier
for a linux newbie than getting a tileserver built on 15.10, and
you'll benefit from learning about virtualization under Ubuntu. You'll
also be able to experiment with the virtual machine without messing up
your usual work environment.

I've got a setup like this and am very happy with it.


I don't know how much slower is such virtualization and how important is 
this aspect for you, but I would definitely start with Docker 
containers, which are lightweight and allow having multiple such 
machines, which are separated from the rest and the main system. Docker 
is also available for Windows or OS X:


https://docs.docker.com/engine/installation/

and while using it outside Linux makes virtualization necessary (which 
will be always slower than Linux native/containers), it brings other 
nice features, like having clean installation instructions in the form 
of Dockerfile (think of makefiles for compiling application code, but on 
the OS level). On Linux we have possibility of running Docker images 
based on other distributions, which is just great and makes a whole 
thing fast and versatile at the same time.


I have found some ready OSM-related Docker images here:

https://hub.docker.com/u/homme/

TileServer image from this repository is not so new (initial Dockerfile 
made 2 years ago, last successful update and build 8 months ago):


https://hub.docker.com/r/homme/openstreetmap-tiles/

but in Docker world it's easy to fork such recipe and tweak it to your 
taste. For example this fork uses newer PostgreSQL version and is based 
on newest Docker-friendly Ubuntu image:


https://hub.docker.com/r/xingfuryda/openstreetmap-tiles-docker/

It was created 4 months ago and the builds from last month produce some 
errors:


https://hub.docker.com/r/xingfuryda/openstreetmap-tiles-docker/builds/

but you can always grab the source:

https://github.com/xingfuryda/openstreetmap-tiles-docker

and fix it - or make any other modifications you like - without even 
messing with your operating system configuration!


Dockerfile instructions are rather easy to understand:

https://hub.docker.com/r/xingfuryda/openstreetmap-tiles-docker/~/dockerfile/
https://docs.docker.com/engine/reference/builder/

and for me are almost self-explanatory, but it won't be hard to 
automatically convert it to a more human-friendly format. It would allow 
us to have up to date documentation for manual installation (for those 
who like the dirty job or have any issues with Docker) which is on par 
with the latest Docker image (for the rest of us, who are lazy, afraid 
of accidentally breaking their primary system and don't like the mess 
with removing stuff when not needed any more).


--
"Завтра, завтра всё кончится!" [Ф. Достоевский]

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-04 Thread Skyler F
>
> I don't know how much slower is such virtualization and how important is
> this aspect for you, but I would definitely start with Docker containers,
> which are lightweight and allow having multiple such machines, which are
> separated from the rest and the main system. Docker is also available for
> Windows or OS X:
>

I just decided to downgrade my whole system to 14 LTS. If I wanted to run a
virtual machine, I would just do it in the native OS, which is mac
(dual-booted).

Anyway, thanks everybody for getting back to me. Now I can use APRS where
there is no internet to chase weather balloons, and volunteer at events
such as bike races where all stations are transmitting their location
through ham radio, and I need to view it on a map where I don't have
cellular service.

On Mon, Jan 4, 2016 at 6:35 AM, Daniel Koć  wrote:

> W dniu 04.01.2016 3:39, Joseph Reeves napisał(a):
>
> Qemu / KVM is pretty straightforward to get running, probably easier
>> for a linux newbie than getting a tileserver built on 15.10, and
>> you'll benefit from learning about virtualization under Ubuntu. You'll
>> also be able to experiment with the virtual machine without messing up
>> your usual work environment.
>>
>> I've got a setup like this and am very happy with it.
>>
>
> I don't know how much slower is such virtualization and how important is
> this aspect for you, but I would definitely start with Docker containers,
> which are lightweight and allow having multiple such machines, which are
> separated from the rest and the main system. Docker is also available for
> Windows or OS X:
>
> https://docs.docker.com/engine/installation/
>
> and while using it outside Linux makes virtualization necessary (which
> will be always slower than Linux native/containers), it brings other nice
> features, like having clean installation instructions in the form of
> Dockerfile (think of makefiles for compiling application code, but on the
> OS level). On Linux we have possibility of running Docker images based on
> other distributions, which is just great and makes a whole thing fast and
> versatile at the same time.
>
> I have found some ready OSM-related Docker images here:
>
> https://hub.docker.com/u/homme/
>
> TileServer image from this repository is not so new (initial Dockerfile
> made 2 years ago, last successful update and build 8 months ago):
>
> https://hub.docker.com/r/homme/openstreetmap-tiles/
>
> but in Docker world it's easy to fork such recipe and tweak it to your
> taste. For example this fork uses newer PostgreSQL version and is based on
> newest Docker-friendly Ubuntu image:
>
> https://hub.docker.com/r/xingfuryda/openstreetmap-tiles-docker/
>
> It was created 4 months ago and the builds from last month produce some
> errors:
>
> https://hub.docker.com/r/xingfuryda/openstreetmap-tiles-docker/builds/
>
> but you can always grab the source:
>
> https://github.com/xingfuryda/openstreetmap-tiles-docker
>
> and fix it - or make any other modifications you like - without even
> messing with your operating system configuration!
>
> Dockerfile instructions are rather easy to understand:
>
>
> https://hub.docker.com/r/xingfuryda/openstreetmap-tiles-docker/~/dockerfile/
> https://docs.docker.com/engine/reference/builder/
>
> and for me are almost self-explanatory, but it won't be hard to
> automatically convert it to a more human-friendly format. It would allow us
> to have up to date documentation for manual installation (for those who
> like the dirty job or have any issues with Docker) which is on par with the
> latest Docker image (for the rest of us, who are lazy, afraid of
> accidentally breaking their primary system and don't like the mess with
> removing stuff when not needed any more).
>
> --
> "Завтра, завтра всё кончится!" [Ф. Достоевский]
>
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>



-- 
Skyler Fennell
amsatnet.info
KDØWHB
electricity...@gmail.com
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-04 Thread Daniel Koć

W dniu 04.01.2016 16:08, Skyler F napisał(a):


I just decided to downgrade my whole system to 14 LTS. If I wanted to
run a virtual machine, I would just do it in the native OS, which is
mac (dual-booted).


According to Wikipedia operating-system-level virtualization technology 
(which Docker is using) "usually imposes little to no overhead, because 
programs in virtual partitions use the operating system's normal system 
call interface and do not need to be subjected to emulation or be run in 
an intermediate virtual machine, as is the case with whole-system 
virtualizers (such as VMware ESXi, QEMU or Hyper-V) and paravirtualizers 
(such as Xen or UML)", so you have (near-)native speed and neatly 
manageable virtual systems at the same time. The Docker container on 
Linux should be faster than any Linux virtual machine on OS X.



Anyway, thanks everybody for getting back to me. Now I can use APRS
where there is no internet to chase weather balloons, and volunteer at
events such as bike races where all stations are transmitting their
location through ham radio, and I need to view it on a map where I
don't have cellular service.


Great! =}

--
"Завтра, завтра всё кончится!" [Ф. Достоевский]

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-04 Thread Andy Townsend

On 04/01/2016 10:45, Lester Caine wrote:
MANY of the tools listed on the switch2osm site are no longer actively 
supported by their originators, 


I can't speak for everything on there, but I do know that I tested (and 
tweaked slightly) the "manual 14.04 instructions" about a month ago 
because I suspected that some of the changes to the OSM stack might 
require a change (though it turned out it was mainly the way that the 
Natural Earth data was packaged that did).  I suspect that the Leaflet 
stuff should be still OK too (though very unrepresentative of what is 
possible with Leaflet now).


so we do need an overhaul of the whole process, but a reliable base 
framework does not exist and the diversity between linux distributions 
is making that more and more difficult. Personally Ubuntu is not 
practical for me as all my production servers are SUSE based, 


Ubuntu may not be an option for you but it doesn't mean that "a reliable 
base framework does not exist".  It'd be like saying that a recipe for 
pizza doesn't work because you can't digest cheese**...


... And apache is perhaps not the best choice for production web 
servers anyway ...


Using something other than Apache would require using something other 
than mod_tile (perhaps see *), but that would be a different set of 
instructions, which I'm not aware of existing currently.


Cheers,

Andy


* 
http://gis.stackexchange.com/questions/70881/tile-server-with-dynamic-mapnik-rendering-caching-and-pre-emptive-rendering


** I once saw a friend of mine ordering a "pizza sans fromage" in a 
restaurant in France.  The result was not pretty.



___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Graham Jones
You will find generate_tiles.py etc. in the subversion folder referenced
here: http://wiki.openstreetmap.org/wiki/OnDemandTileServer#Mapnik

the instructions in that wiki page are:

 svn co http://svn.openstreetmap.org/applications/rendering/mapnik

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.


On 3 January 2016 at 23:27, Graham Jones  wrote:

> 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.
>
> 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!
> http://www.slideshare.net/jones139/rendering-openstreetmap-data-using-mapnik
>
> I started a wiki page to describe the different methods of making tiles
> once http://wiki.openstreetmap.org/wiki/Creating_your_own_tiles
>
> 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.
>
> 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.
>
> 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.
>
> Regards
>
>
> Graham.
>
> On 3 January 2016 at 23:14, Skyler F  wrote:
>
>> 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.
>>
>> On Sun, Jan 3, 2016 at 4:10 PM, Graham Jones 
>> wrote:
>>
>>> 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.
>>> Sorry!
>>>
>>> Graham.
>>>
>>> On 3 January 2016 at 23:02, Skyler F  wrote:
>>>
 I am getting pretty frustrated. I have been working all day on this,
 and just can't get it to work.

 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.

 When I run sudo -u kd0whb renderd -f -c /usr/local/etc/renderd.conf
 I get a bunch of syntax errors:

 renderd[5845]: Rendering daemon started
 renderd[5845]: Initiating reqyest_queue
 iniparser: syntax error in /usr/local/etc/renderd.conf (7):
 -> ;[renderd01]
 iniparser: syntax error in /usr/local/etc/renderd.conf (14):
 -> ;[renderd02]
 iniparser: syntax error in /usr/local/etc/renderd.conf (33):
 -> ;** config options used by mod_tile, but not renderd **
 iniparser: syntax error in /usr/local/etc/renderd.conf (45):
 -> ;[style2]
 iniparser: syntax error in /usr/local/etc/renderd.conf (52):
 -> ;** config options used by mod_tile, but not renderd **

 Isn't this symbol a comment "  ;   "  ?
 Why is it telling me syntax errors for the commented out lines?

 On Sun, Jan 3, 2016 at 3:17 PM, Skyler F 
 wrote:

> Well here is the error log:
>
> [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
> [Sun Jan 03 10:17:11.032907 2016] [core:notice] [pid 17637:tid
> 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
> [Sun Jan 03 10:17:16.002678 2016] [mpm_event:notice] [pid 17637:tid
> 140426070529920] AH00493: SIGUSR1 received.  Doing graceful restart
> 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
> [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
> [Sun Jan 03 10:17:16.005693 2016] [core:notice] [pid 17637:tid
> 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
> [Sun Jan 03 10:17:33.559173 2016] [mpm_event:notice] 

Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Skyler F
Ok. I finished the apache configuration and am almost done, but when I
typed
service apache2 reload, I got an error

Job for apache2.service failed because the control process exited with
error code. See "systemctl status apache2.service" and "journalctl -xe" for
details.

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.

On Sun, Jan 3, 2016 at 1:42 PM, Skyler F  wrote:

> Nevermind, I found the link, part of it was on the next line.
>
> On Sun, Jan 3, 2016 at 1:36 PM, Skyler F  wrote:
>
>> Ok, I am on the download OSM bright, but there is a 404 error when I get
>> here
>>
>> wget http//www.naturalearthdata.com/download/10m/cultural
>>
>> On Sun, Jan 3, 2016 at 12:45 PM, Sebastiaan Couwenberg <
>> sebas...@xs4all.nl> wrote:
>>
>>> On 03-01-16 19:58, Skyler F wrote:
>>> > Notice: dependencies not met for plugin 'occi', not building...
>>> > Notice: dependencies not met for plugin 'rasterlite', not building
>>>
>>> librasterlite has been deprecated by its author [0], consequently
>>> rasterlite support has been removed [1] from Mapnik core in 3.0.1. The
>>> osm & occi support were moved out of core in the same release. [2]
>>>
>>> [0] http://www.gaia-gis.it/gaia-sins/
>>> [1] https://github.com/mapnik/mapnik/issues/2977
>>> [2] https://github.com/mapnik/mapnik/blob/v3.0.2/CHANGELOG.md#301
>>>
>>> Kind Regards,
>>>
>>> Bas
>>>
>>> --
>>>  GPG Key ID: 4096R/6750F10AE88D4AF1
>>> Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
>>>
>>> ___
>>> talk mailing list
>>> talk@openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/talk
>>>
>>
>>
>>
>> --
>> Skyler Fennell
>> amsatnet.info
>> KDØWHB
>> electricity...@gmail.com
>>
>
>
>
> --
> Skyler Fennell
> amsatnet.info
> KDØWHB
> electricity...@gmail.com
>



-- 
Skyler Fennell
amsatnet.info
KDØWHB
electricity...@gmail.com
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Joseph Reeves
Have you considered running 14.04 in a virtual machine under 15.10 on your
laptop?

Qemu / KVM is pretty straightforward to get running, probably easier for a
linux newbie than getting a tileserver built on 15.10, and you'll benefit
from learning about virtualization under Ubuntu. You'll also be able to
experiment with the virtual machine without messing up your usual work
environment.

I've got a setup like this and am very happy with it.

Cheers, Joseph
On 3 Jan 2016 13:37, "Skyler F" <electricity...@gmail.com> wrote:

> That makes sense,
> The only reason I am running 15.10 is because it supports keyboard
> backlight, brightness, and wifi out of the box on my macbook, where I had
> problems with the 14 LTS.
>
>
>
> On Sun, Jan 3, 2016 at 11:30 AM, Andy Townsend <ajt1...@gmail.com> wrote:
>
>> ... well I wouldn't say "changed"; 14.04 LTS is still the current LTS and
>> is supported through 2019 (though some tile server dependencies may "move
>> on" and make it not a good idea before then, like happened with 10.04)‎.
>>
>> That's not to say that a 15.10 version of the doc isn't a good idea;
>> speaking for myself I've never had a pressing need to look at it  because
>> I've never jumped onto Ububtu's non-LTS update treadmill.
>>
>> A new LTS version should be out this year (if I understand what Ubuntu
>> normally do).
>>
>> Cheers,
>> Andy
>>
>>
>>
>> *From: *Skyler F
>> *Sent: *Sunday, 3 January 2016 17:28
>> *To: *talk@openstreetmap.org
>> *Subject: *Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting
>>
>> Thanks. That got me past step 1.
>>
>> 8 upgraded, 313 newly installed, 0 to remove and 83 not upgraded.
>>
>> So that is the first thing to change in the documentation on the website,
>> instead of libtiff4-dev change it to libtiff-dev.
>>
>>
>>
>> On Sun, Jan 3, 2016 at 9:59 AM, Sebastiaan Couwenberg <sebas...@xs4all.nl
>> > wrote:
>>
>>> On 03-01-16 17:48, Graham Jones wrote:
>>> > if you type "sudo apt-cache search libtiff" it lists all the packages
>>> that
>>> > are available with 'libtiff' in the title.  On my system it lists
>>> > libtiff5-dev, so I would suggest installing that.
>>>
>>> Just install libtiff-dev, it is the virtual package provided by both
>>> libtiff4-dev & libtiff5-dev, it will pull in the relevant libtiffN-dev
>>> package for the distribution in question.
>>>
>>> Kind Regards,
>>>
>>> Bas
>>>
>>> --
>>>  GPG Key ID: 4096R/6750F10AE88D4AF1
>>> Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
>>>
>>> ___
>>> talk mailing list
>>> talk@openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/talk
>>>
>>
>>
>>
>> --
>> Skyler Fennell
>> amsatnet.info
>> KDØWHB
>> electricity...@gmail.com
>>
>>
>>
>
>
> --
> Skyler Fennell
> amsatnet.info
> KDØWHB
> electricity...@gmail.com
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Skyler F
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.

On Sun, Jan 3, 2016 at 4:10 PM, Graham Jones 
wrote:

> 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.
> Sorry!
>
> Graham.
>
> On 3 January 2016 at 23:02, Skyler F  wrote:
>
>> I am getting pretty frustrated. I have been working all day on this, and
>> just can't get it to work.
>>
>> 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.
>>
>> When I run sudo -u kd0whb renderd -f -c /usr/local/etc/renderd.conf
>> I get a bunch of syntax errors:
>>
>> renderd[5845]: Rendering daemon started
>> renderd[5845]: Initiating reqyest_queue
>> iniparser: syntax error in /usr/local/etc/renderd.conf (7):
>> -> ;[renderd01]
>> iniparser: syntax error in /usr/local/etc/renderd.conf (14):
>> -> ;[renderd02]
>> iniparser: syntax error in /usr/local/etc/renderd.conf (33):
>> -> ;** config options used by mod_tile, but not renderd **
>> iniparser: syntax error in /usr/local/etc/renderd.conf (45):
>> -> ;[style2]
>> iniparser: syntax error in /usr/local/etc/renderd.conf (52):
>> -> ;** config options used by mod_tile, but not renderd **
>>
>> Isn't this symbol a comment "  ;   "  ?
>> Why is it telling me syntax errors for the commented out lines?
>>
>> On Sun, Jan 3, 2016 at 3:17 PM, Skyler F 
>> wrote:
>>
>>> Well here is the error log:
>>>
>>> [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
>>> [Sun Jan 03 10:17:11.032907 2016] [core:notice] [pid 17637:tid
>>> 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
>>> [Sun Jan 03 10:17:16.002678 2016] [mpm_event:notice] [pid 17637:tid
>>> 140426070529920] AH00493: SIGUSR1 received.  Doing graceful restart
>>> 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
>>> [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
>>> [Sun Jan 03 10:17:16.005693 2016] [core:notice] [pid 17637:tid
>>> 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
>>> [Sun Jan 03 10:17:33.559173 2016] [mpm_event:notice] [pid 17637:tid
>>> 140426070529920] AH00493: SIGUSR1 received.  Doing graceful restart
>>> 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
>>> [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
>>> [Sun Jan 03 10:17:33.562231 2016] [core:notice] [pid 17637:tid
>>> 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
>>> [Sun Jan 03 15:15:05.934508 2016] [mpm_event:notice] [pid 17637:tid
>>> 140426070529920] AH00491: caught SIGTERM, shutting down
>>>
>>>
>>> On Sun, Jan 3, 2016 at 3:11 PM, Graham Jones 
>>> wrote:
>>>
 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.
 I'd look at the bottom of  /var/log/apache2/error.log - the messages
 are often helpful.

 Graham.

 On 3 January 2016 at 22:05, Skyler F  wrote:

> Ok. I finished the apache configuration and am almost done, but when I
> typed
> service apache2 reload, I got an error
>
> Job for apache2.service failed because the control process exited with
> error code. See "systemctl status apache2.service" and "journalctl -xe" 
> for
> details.
>
> 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.
>
> On Sun, Jan 3, 2016 at 1:42 PM, Skyler F 
> wrote:
>
>> Nevermind, I found the link, part of it was on the next line.
>>
>> On Sun, Jan 3, 2016 at 1:36 PM, Skyler F 
>> wrote:
>>
>>> Ok, I am on the download OSM bright, but there is a 404 error when I
>>> get here
>>>
>>> wget http//www.naturalearthdata.com/download/10m/cultural
>>>
>>> On Sun, Jan 3, 2016 at 12:45 PM, Sebastiaan 

Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Skyler F
So I am trying to figure out what happened to apache, and I am getting this
error under

 systemctl status apache2.service

Jan 03 19:16:17 kd0whb apache2[22929]: * The apache2 configtest failed.
Jan 03 19:16:17 kd0whb apache2[22929]: Output of config test was:
Jan 03 19:16:17 kd0whb apache2[22929]: AH00526: Syntax error on line 12 of
/etc/apache2/sites-enabled/000-default.conf:
Jan 03 19:16:17 kd0whb apache2[22929]: Invalid command
'LoadTileConfigFile', perhaps misspelled or defined by a module not
included in the server configuration
Jan 03 19:16:17 kd0whb apache2[22929]: Action 'configtest' failed.
Jan 03 19:16:17 kd0whb apache2[22929]: The Apache error log may have more
information.

I checked the /etc/apache2/sites-enabled/000-default.conf and everything
seemed to be just as the website told me to add.


On Sun, Jan 3, 2016 at 4:33 PM, Graham Jones 
wrote:

> You will find generate_tiles.py etc. in the subversion folder referenced
> here: http://wiki.openstreetmap.org/wiki/OnDemandTileServer#Mapnik
>
> the instructions in that wiki page are:
>
>  svn co http://svn.openstreetmap.org/applications/rendering/mapnik
>
> 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.
>
>
> On 3 January 2016 at 23:27, Graham Jones  wrote:
>
>> 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.
>>
>> 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!
>> http://www.slideshare.net/jones139/rendering-openstreetmap-data-using-mapnik
>>
>> I started a wiki page to describe the different methods of making tiles
>> once http://wiki.openstreetmap.org/wiki/Creating_your_own_tiles
>>
>> 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.
>>
>> 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.
>>
>> 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.
>>
>> Regards
>>
>>
>> Graham.
>>
>> On 3 January 2016 at 23:14, Skyler F  wrote:
>>
>>> 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.
>>>
>>> On Sun, Jan 3, 2016 at 4:10 PM, Graham Jones 
>>> wrote:
>>>
 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.
 Sorry!

 Graham.

 On 3 January 2016 at 23:02, Skyler F  wrote:

> I am getting pretty frustrated. I have been working all day on this,
> and just can't get it to work.
>
> 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.
>
> When I run sudo -u kd0whb renderd -f -c /usr/local/etc/renderd.conf
> I get a bunch of syntax errors:
>
> renderd[5845]: Rendering daemon started
> renderd[5845]: Initiating reqyest_queue
> iniparser: syntax error in /usr/local/etc/renderd.conf (7):
> -> ;[renderd01]
> iniparser: syntax error in /usr/local/etc/renderd.conf (14):
> -> ;[renderd02]
> iniparser: syntax error in /usr/local/etc/renderd.conf (33):
> -> ;** config options used by mod_tile, but not renderd **
> iniparser: syntax error in /usr/local/etc/renderd.conf (45):
> -> ;[style2]
> iniparser: syntax error in /usr/local/etc/renderd.conf (52):
> -> ;** config options used by mod_tile, but not renderd **
>
> Isn't this symbol a comment "  ;   "  ?
> Why is it telling me syntax errors for the commented out lines?
>
> On Sun, Jan 3, 2016 at 3:17 PM, Skyler F 
> wrote:
>
>> Well here is the error log:
>>
>> [Sun 

Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Graham Jones
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.

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!
http://www.slideshare.net/jones139/rendering-openstreetmap-data-using-mapnik

I started a wiki page to describe the different methods of making tiles
once http://wiki.openstreetmap.org/wiki/Creating_your_own_tiles

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.

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.

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.

Regards


Graham.

On 3 January 2016 at 23:14, Skyler F  wrote:

> 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.
>
> On Sun, Jan 3, 2016 at 4:10 PM, Graham Jones 
> wrote:
>
>> 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.
>> Sorry!
>>
>> Graham.
>>
>> On 3 January 2016 at 23:02, Skyler F  wrote:
>>
>>> I am getting pretty frustrated. I have been working all day on this, and
>>> just can't get it to work.
>>>
>>> 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.
>>>
>>> When I run sudo -u kd0whb renderd -f -c /usr/local/etc/renderd.conf
>>> I get a bunch of syntax errors:
>>>
>>> renderd[5845]: Rendering daemon started
>>> renderd[5845]: Initiating reqyest_queue
>>> iniparser: syntax error in /usr/local/etc/renderd.conf (7):
>>> -> ;[renderd01]
>>> iniparser: syntax error in /usr/local/etc/renderd.conf (14):
>>> -> ;[renderd02]
>>> iniparser: syntax error in /usr/local/etc/renderd.conf (33):
>>> -> ;** config options used by mod_tile, but not renderd **
>>> iniparser: syntax error in /usr/local/etc/renderd.conf (45):
>>> -> ;[style2]
>>> iniparser: syntax error in /usr/local/etc/renderd.conf (52):
>>> -> ;** config options used by mod_tile, but not renderd **
>>>
>>> Isn't this symbol a comment "  ;   "  ?
>>> Why is it telling me syntax errors for the commented out lines?
>>>
>>> On Sun, Jan 3, 2016 at 3:17 PM, Skyler F 
>>> wrote:
>>>
 Well here is the error log:

 [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
 [Sun Jan 03 10:17:11.032907 2016] [core:notice] [pid 17637:tid
 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
 [Sun Jan 03 10:17:16.002678 2016] [mpm_event:notice] [pid 17637:tid
 140426070529920] AH00493: SIGUSR1 received.  Doing graceful restart
 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
 [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
 [Sun Jan 03 10:17:16.005693 2016] [core:notice] [pid 17637:tid
 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
 [Sun Jan 03 10:17:33.559173 2016] [mpm_event:notice] [pid 17637:tid
 140426070529920] AH00493: SIGUSR1 received.  Doing graceful restart
 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
 [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
 [Sun Jan 03 10:17:33.562231 2016] [core:notice] [pid 17637:tid
 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
 [Sun Jan 

Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Skyler F
I am getting pretty frustrated. I have been working all day on this, and
just can't get it to work.

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.

When I run sudo -u kd0whb renderd -f -c /usr/local/etc/renderd.conf
I get a bunch of syntax errors:

renderd[5845]: Rendering daemon started
renderd[5845]: Initiating reqyest_queue
iniparser: syntax error in /usr/local/etc/renderd.conf (7):
-> ;[renderd01]
iniparser: syntax error in /usr/local/etc/renderd.conf (14):
-> ;[renderd02]
iniparser: syntax error in /usr/local/etc/renderd.conf (33):
-> ;** config options used by mod_tile, but not renderd **
iniparser: syntax error in /usr/local/etc/renderd.conf (45):
-> ;[style2]
iniparser: syntax error in /usr/local/etc/renderd.conf (52):
-> ;** config options used by mod_tile, but not renderd **

Isn't this symbol a comment "  ;   "  ?
Why is it telling me syntax errors for the commented out lines?

On Sun, Jan 3, 2016 at 3:17 PM, Skyler F  wrote:

> Well here is the error log:
>
> [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
> [Sun Jan 03 10:17:11.032907 2016] [core:notice] [pid 17637:tid
> 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
> [Sun Jan 03 10:17:16.002678 2016] [mpm_event:notice] [pid 17637:tid
> 140426070529920] AH00493: SIGUSR1 received.  Doing graceful restart
> 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
> [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
> [Sun Jan 03 10:17:16.005693 2016] [core:notice] [pid 17637:tid
> 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
> [Sun Jan 03 10:17:33.559173 2016] [mpm_event:notice] [pid 17637:tid
> 140426070529920] AH00493: SIGUSR1 received.  Doing graceful restart
> 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
> [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
> [Sun Jan 03 10:17:33.562231 2016] [core:notice] [pid 17637:tid
> 140426070529920] AH00094: Command line: '/usr/sbin/apache2'
> [Sun Jan 03 15:15:05.934508 2016] [mpm_event:notice] [pid 17637:tid
> 140426070529920] AH00491: caught SIGTERM, shutting down
>
>
> On Sun, Jan 3, 2016 at 3:11 PM, Graham Jones 
> wrote:
>
>> 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.
>> I'd look at the bottom of  /var/log/apache2/error.log - the messages are
>> often helpful.
>>
>> Graham.
>>
>> On 3 January 2016 at 22:05, Skyler F  wrote:
>>
>>> Ok. I finished the apache configuration and am almost done, but when I
>>> typed
>>> service apache2 reload, I got an error
>>>
>>> Job for apache2.service failed because the control process exited with
>>> error code. See "systemctl status apache2.service" and "journalctl -xe" for
>>> details.
>>>
>>> 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.
>>>
>>> On Sun, Jan 3, 2016 at 1:42 PM, Skyler F 
>>> wrote:
>>>
 Nevermind, I found the link, part of it was on the next line.

 On Sun, Jan 3, 2016 at 1:36 PM, Skyler F 
 wrote:

> Ok, I am on the download OSM bright, but there is a 404 error when I
> get here
>
> wget http//www.naturalearthdata.com/download/10m/cultural
>
> On Sun, Jan 3, 2016 at 12:45 PM, Sebastiaan Couwenberg <
> sebas...@xs4all.nl> wrote:
>
>> On 03-01-16 19:58, Skyler F wrote:
>> > Notice: dependencies not met for plugin 'occi', not building...
>> > Notice: dependencies not met for plugin 'rasterlite', not building
>>
>> librasterlite has been deprecated by its author [0], consequently
>> rasterlite support has been removed [1] from Mapnik core in 3.0.1. The
>> osm & occi support were moved out of core in the same release. [2]
>>
>> [0] http://www.gaia-gis.it/gaia-sins/
>> [1] https://github.com/mapnik/mapnik/issues/2977
>> [2] https://github.com/mapnik/mapnik/blob/v3.0.2/CHANGELOG.md#301
>>
>> Kind Regards,
>>
>> Bas
>>
>> --
>>  GPG Key ID: 4096R/6750F10AE88D4AF1
>> Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
>>
>> 

Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Skyler F
Nevermind, it decided to work finally yay!

On Sun, Jan 3, 2016 at 10:14 PM, Skyler F <electricity...@gmail.com> wrote:

> Ok, so I am in Ubuntu 14 LTS, and decided to just install from packages:
>
> https://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/
>
> I did every step, but I am just getting* Pink tiles *just like I did when
> I tried it a while back.
>
> On Sun, Jan 3, 2016 at 7:39 PM, Joseph Reeves <iknowjos...@gmail.com>
> wrote:
>
>> Have you considered running 14.04 in a virtual machine under 15.10 on
>> your laptop?
>>
>> Qemu / KVM is pretty straightforward to get running, probably easier for
>> a linux newbie than getting a tileserver built on 15.10, and you'll benefit
>> from learning about virtualization under Ubuntu. You'll also be able to
>> experiment with the virtual machine without messing up your usual work
>> environment.
>>
>> I've got a setup like this and am very happy with it.
>>
>> Cheers, Joseph
>> On 3 Jan 2016 13:37, "Skyler F" <electricity...@gmail.com> wrote:
>>
>>> That makes sense,
>>> The only reason I am running 15.10 is because it supports keyboard
>>> backlight, brightness, and wifi out of the box on my macbook, where I had
>>> problems with the 14 LTS.
>>>
>>>
>>>
>>> On Sun, Jan 3, 2016 at 11:30 AM, Andy Townsend <ajt1...@gmail.com>
>>> wrote:
>>>
>>>> ... well I wouldn't say "changed"; 14.04 LTS is still the current LTS
>>>> and is supported through 2019 (though some tile server dependencies may
>>>> "move on" and make it not a good idea before then, like happened with
>>>> 10.04)‎.
>>>>
>>>> That's not to say that a 15.10 version of the doc isn't a good idea;
>>>> speaking for myself I've never had a pressing need to look at it  because
>>>> I've never jumped onto Ububtu's non-LTS update treadmill.
>>>>
>>>> A new LTS version should be out this year (if I understand what Ubuntu
>>>> normally do).
>>>>
>>>> Cheers,
>>>> Andy
>>>>
>>>>
>>>>
>>>> *From: *Skyler F
>>>> *Sent: *Sunday, 3 January 2016 17:28
>>>> *To: *talk@openstreetmap.org
>>>> *Subject: *Re: [OSM-talk] Tile Server manual build 15.10
>>>> troubleshooting
>>>>
>>>> Thanks. That got me past step 1.
>>>>
>>>> 8 upgraded, 313 newly installed, 0 to remove and 83 not upgraded.
>>>>
>>>> So that is the first thing to change in the documentation on the
>>>> website, instead of libtiff4-dev change it to libtiff-dev.
>>>>
>>>>
>>>>
>>>> On Sun, Jan 3, 2016 at 9:59 AM, Sebastiaan Couwenberg <
>>>> sebas...@xs4all.nl> wrote:
>>>>
>>>>> On 03-01-16 17:48, Graham Jones wrote:
>>>>> > if you type "sudo apt-cache search libtiff" it lists all the
>>>>> packages that
>>>>> > are available with 'libtiff' in the title.  On my system it lists
>>>>> > libtiff5-dev, so I would suggest installing that.
>>>>>
>>>>> Just install libtiff-dev, it is the virtual package provided by both
>>>>> libtiff4-dev & libtiff5-dev, it will pull in the relevant libtiffN-dev
>>>>> package for the distribution in question.
>>>>>
>>>>> Kind Regards,
>>>>>
>>>>> Bas
>>>>>
>>>>> --
>>>>>  GPG Key ID: 4096R/6750F10AE88D4AF1
>>>>> Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
>>>>>
>>>>> ___
>>>>> talk mailing list
>>>>> talk@openstreetmap.org
>>>>> https://lists.openstreetmap.org/listinfo/talk
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Skyler Fennell
>>>> amsatnet.info
>>>> KDØWHB
>>>> electricity...@gmail.com
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Skyler Fennell
>>> amsatnet.info
>>> KDØWHB
>>> electricity...@gmail.com
>>>
>>> ___
>>> talk mailing list
>>> talk@openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/talk
>>>
>>>
>
>
> --
> Skyler Fennell
> amsatnet.info
> KDØWHB
> electricity...@gmail.com
>



-- 
Skyler Fennell
amsatnet.info
KDØWHB
electricity...@gmail.com
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Skyler F
Ok, so I am in Ubuntu 14 LTS, and decided to just install from packages:

https://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/

I did every step, but I am just getting* Pink tiles *just like I did when I
tried it a while back.

On Sun, Jan 3, 2016 at 7:39 PM, Joseph Reeves <iknowjos...@gmail.com> wrote:

> Have you considered running 14.04 in a virtual machine under 15.10 on your
> laptop?
>
> Qemu / KVM is pretty straightforward to get running, probably easier for a
> linux newbie than getting a tileserver built on 15.10, and you'll benefit
> from learning about virtualization under Ubuntu. You'll also be able to
> experiment with the virtual machine without messing up your usual work
> environment.
>
> I've got a setup like this and am very happy with it.
>
> Cheers, Joseph
> On 3 Jan 2016 13:37, "Skyler F" <electricity...@gmail.com> wrote:
>
>> That makes sense,
>> The only reason I am running 15.10 is because it supports keyboard
>> backlight, brightness, and wifi out of the box on my macbook, where I had
>> problems with the 14 LTS.
>>
>>
>>
>> On Sun, Jan 3, 2016 at 11:30 AM, Andy Townsend <ajt1...@gmail.com> wrote:
>>
>>> ... well I wouldn't say "changed"; 14.04 LTS is still the current LTS
>>> and is supported through 2019 (though some tile server dependencies may
>>> "move on" and make it not a good idea before then, like happened with
>>> 10.04)‎.
>>>
>>> That's not to say that a 15.10 version of the doc isn't a good idea;
>>> speaking for myself I've never had a pressing need to look at it  because
>>> I've never jumped onto Ububtu's non-LTS update treadmill.
>>>
>>> A new LTS version should be out this year (if I understand what Ubuntu
>>> normally do).
>>>
>>> Cheers,
>>> Andy
>>>
>>>
>>>
>>> *From: *Skyler F
>>> *Sent: *Sunday, 3 January 2016 17:28
>>> *To: *talk@openstreetmap.org
>>> *Subject: *Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting
>>>
>>> Thanks. That got me past step 1.
>>>
>>> 8 upgraded, 313 newly installed, 0 to remove and 83 not upgraded.
>>>
>>> So that is the first thing to change in the documentation on the
>>> website, instead of libtiff4-dev change it to libtiff-dev.
>>>
>>>
>>>
>>> On Sun, Jan 3, 2016 at 9:59 AM, Sebastiaan Couwenberg <
>>> sebas...@xs4all.nl> wrote:
>>>
>>>> On 03-01-16 17:48, Graham Jones wrote:
>>>> > if you type "sudo apt-cache search libtiff" it lists all the packages
>>>> that
>>>> > are available with 'libtiff' in the title.  On my system it lists
>>>> > libtiff5-dev, so I would suggest installing that.
>>>>
>>>> Just install libtiff-dev, it is the virtual package provided by both
>>>> libtiff4-dev & libtiff5-dev, it will pull in the relevant libtiffN-dev
>>>> package for the distribution in question.
>>>>
>>>> Kind Regards,
>>>>
>>>> Bas
>>>>
>>>> --
>>>>  GPG Key ID: 4096R/6750F10AE88D4AF1
>>>> Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
>>>>
>>>> ___
>>>> talk mailing list
>>>> talk@openstreetmap.org
>>>> https://lists.openstreetmap.org/listinfo/talk
>>>>
>>>
>>>
>>>
>>> --
>>> Skyler Fennell
>>> amsatnet.info
>>> KDØWHB
>>> electricity...@gmail.com
>>>
>>>
>>>
>>
>>
>> --
>> Skyler Fennell
>> amsatnet.info
>> KDØWHB
>> electricity...@gmail.com
>>
>> ___
>> talk mailing list
>> talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk
>>
>>


-- 
Skyler Fennell
amsatnet.info
KDØWHB
electricity...@gmail.com
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Sebastiaan Couwenberg
On 03-01-16 19:35, Skyler F wrote:
> So is there another way I can install this without the configure and
> autogen?

Use the packages included in Ubuntu itself. wily includes osm2pgsql
0.88.1 which is current enough.

https://launchpad.net/ubuntu/+source/osm2pgsql

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Sebastiaan Couwenberg
On 03-01-16 17:48, Graham Jones wrote:
> if you type "sudo apt-cache search libtiff" it lists all the packages that
> are available with 'libtiff' in the title.  On my system it lists
> libtiff5-dev, so I would suggest installing that.

Just install libtiff-dev, it is the virtual package provided by both
libtiff4-dev & libtiff5-dev, it will pull in the relevant libtiffN-dev
package for the distribution in question.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Skyler F
Thanks. That got me past step 1.

8 upgraded, 313 newly installed, 0 to remove and 83 not upgraded.

So that is the first thing to change in the documentation on the website,
instead of libtiff4-dev change it to libtiff-dev.



On Sun, Jan 3, 2016 at 9:59 AM, Sebastiaan Couwenberg 
wrote:

> On 03-01-16 17:48, Graham Jones wrote:
> > if you type "sudo apt-cache search libtiff" it lists all the packages
> that
> > are available with 'libtiff' in the title.  On my system it lists
> > libtiff5-dev, so I would suggest installing that.
>
> Just install libtiff-dev, it is the virtual package provided by both
> libtiff4-dev & libtiff5-dev, it will pull in the relevant libtiffN-dev
> package for the distribution in question.
>
> Kind Regards,
>
> Bas
>
> --
>  GPG Key ID: 4096R/6750F10AE88D4AF1
> Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>



-- 
Skyler Fennell
amsatnet.info
KDØWHB
electricity...@gmail.com
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Skyler F
Ok, *NEXT*,

I typed

>  sudo apt-get install postgresql postgresql-contrib postgis
> postgresql-9.3-postgis-2.1
>

And got

Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package postgresql-9.3-postgis-2.1
> E: Couldn't find any package by regex 'postgresql-9.3-postgis-2.1'
>



On Sun, Jan 3, 2016 at 10:25 AM, Skyler F  wrote:

> Thanks. That got me past step 1.
>
> 8 upgraded, 313 newly installed, 0 to remove and 83 not upgraded.
>
> So that is the first thing to change in the documentation on the website,
> instead of libtiff4-dev change it to libtiff-dev.
>
>
>
> On Sun, Jan 3, 2016 at 9:59 AM, Sebastiaan Couwenberg 
> wrote:
>
>> On 03-01-16 17:48, Graham Jones wrote:
>> > if you type "sudo apt-cache search libtiff" it lists all the packages
>> that
>> > are available with 'libtiff' in the title.  On my system it lists
>> > libtiff5-dev, so I would suggest installing that.
>>
>> Just install libtiff-dev, it is the virtual package provided by both
>> libtiff4-dev & libtiff5-dev, it will pull in the relevant libtiffN-dev
>> package for the distribution in question.
>>
>> Kind Regards,
>>
>> Bas
>>
>> --
>>  GPG Key ID: 4096R/6750F10AE88D4AF1
>> Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
>>
>> ___
>> talk mailing list
>> talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk
>>
>
>
>
> --
> Skyler Fennell
> amsatnet.info
> KDØWHB
> electricity...@gmail.com
>



-- 
Skyler Fennell
amsatnet.info
KDØWHB
electricity...@gmail.com
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Sebastiaan Couwenberg
On 03-01-16 18:27, Skyler F wrote:
>>  sudo apt-get install postgresql postgresql-contrib postgis
>> postgresql-9.3-postgis-2.1
> 
> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Unable to locate package postgresql-9.3-postgis-2.1

Ubuntu vivid and later have postgresql-9.4 for which the postgis
packages is:

 postgresql-9.4-postgis-2.1

https://launchpad.net/ubuntu/+source/postgis

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Skyler F
Ok, I switched

sudo apt-get install postgresql postgresql-contrib postgis
postgresql-9.3-postgis-2.1

to



On Sun, Jan 3, 2016 at 10:44 AM, Sebastiaan Couwenberg 
wrote:

> On 03-01-16 18:27, Skyler F wrote:
> >>  sudo apt-get install postgresql postgresql-contrib postgis
> >> postgresql-9.3-postgis-2.1
> >
> > Reading package lists... Done
> >> Building dependency tree
> >> Reading state information... Done
> >> E: Unable to locate package postgresql-9.3-postgis-2.1
>
> Ubuntu vivid and later have postgresql-9.4 for which the postgis
> packages is:
>
>  postgresql-9.4-postgis-2.1
>
> https://launchpad.net/ubuntu/+source/postgis
>
> Kind Regards,
>
> Bas
>
> --
>  GPG Key ID: 4096R/6750F10AE88D4AF1
> Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>



-- 
Skyler Fennell
amsatnet.info
KDØWHB
electricity...@gmail.com
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Skyler F
I am attempting a manual build of a tile server on Ubuntu 15.10. I just did
a fresh install of Ubuntu, and will post the results as I go along from
this link:

https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/

So, here is step 1:

> sudo apt-get install libboost-all-dev subversion git-core tar unzip wget 
> bzip2 build-essential autoconf libtool libxml2-dev libgeos-dev libgeos++-dev 
> libpq-dev libbz2-dev libproj-dev munin-node munin libprotobuf-c0-dev 
> protobuf-c-compiler libfreetype6-dev libpng12-dev libtiff4-dev libicu-dev 
> libgdal-dev libcairo-dev libcairomm-1.0-dev apache2 apache2-dev libagg-dev 
> liblua5.2-dev ttf-unifont lua5.1 liblua5.1-dev libgeotiff-epsg node-carto
>
>
Here is the Result:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libprotobuf-c-dev' instead of 'libprotobuf-c0-dev'
Note, selecting 'libcairo2-dev' instead of 'libcairo-dev'
Note, selecting 'liblua5.1-0-dev' instead of 'liblua5.1-dev'
Package libtiff4-dev is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libtiff5-dev:i386 libtiff5-dev

E: Package 'libtiff4-dev' has no installation candidate

I don't want to mess this up on my fresh Ubuntu so I'll wait at every step
until there is a solution.
What should I try, Should I install the replacement package instead?

Thanks,
Skyler
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Tile Server manual build 15.10 troubleshooting

2016-01-03 Thread Graham Jones
if you type "sudo apt-cache search libtiff" it lists all the packages that
are available with 'libtiff' in the title.  On my system it lists
libtiff5-dev, so I would suggest installing that.

Regards

Graham.

On 3 January 2016 at 16:38, Skyler F  wrote:

> I am attempting a manual build of a tile server on Ubuntu 15.10. I just
> did a fresh install of Ubuntu, and will post the results as I go along from
> this link:
>
> https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/
>
> So, here is step 1:
>
>> sudo apt-get install libboost-all-dev subversion git-core tar unzip wget 
>> bzip2 build-essential autoconf libtool libxml2-dev libgeos-dev libgeos++-dev 
>> libpq-dev libbz2-dev libproj-dev munin-node munin libprotobuf-c0-dev 
>> protobuf-c-compiler libfreetype6-dev libpng12-dev libtiff4-dev libicu-dev 
>> libgdal-dev libcairo-dev libcairomm-1.0-dev apache2 apache2-dev libagg-dev 
>> liblua5.2-dev ttf-unifont lua5.1 liblua5.1-dev libgeotiff-epsg node-carto
>>
>>
> Here is the Result:
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Note, selecting 'libprotobuf-c-dev' instead of 'libprotobuf-c0-dev'
> Note, selecting 'libcairo2-dev' instead of 'libcairo-dev'
> Note, selecting 'liblua5.1-0-dev' instead of 'liblua5.1-dev'
> Package libtiff4-dev is not available, but is referred to by another
> package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> However the following packages replace it:
>   libtiff5-dev:i386 libtiff5-dev
>
> E: Package 'libtiff4-dev' has no installation candidate
>
> I don't want to mess this up on my fresh Ubuntu so I'll wait at every step
> until there is a solution.
> What should I try, Should I install the replacement package instead?
>
> Thanks,
> Skyler
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>


-- 
Graham Jones 
Hartlepool, UK.
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk