[Tile-serving] [openstreetmap/mod_tile] apache2 not startable because configtest command is not OK -> tile:notice messages (Issue #468)

a14stoner notifications at github.com
Fri Oct 18 06:55:37 UTC 2024


I set up a apache2 service together with mod_tile and renderd modules. 

I have two layers configured in renderd.conf: 

```
[renderd]
pid_file=/var/run/renderd/renderd.pid
stats_file=/var/run/renderd/renderd.stats
socketname=/var/run/renderd/renderd.sock
num_threads=32
tile_dir=/usr/local/renderd/cache

[mapnik]
plugins_dir=/usr/lib/mapnik/3.1/input
font_dir=/usr/share/fonts
font_dir_recurse=true

[default]
URI=/tile/
XML=/usr/local/mapnik/openstreetmap-carto/CARTO_DE_AT_CH.xml
HOST=localhost
TILEDIR=/usr/local/renderd/cache

[topo]
URI=/topo/
XML=/usr/local/mapnik/OpenTopoMap/mapnik/opentopomap.xml
HOST=localhost
TILEDIR=/usr/local/renderd/cache
```

the output of the apachectl configtest command is: 

```
apachectl configtest
[Fri Oct 18 06:50:08.166689 2024] [tile:notice] [pid 7328:tid 7328] Loading tile config default at /tile/ for zooms 0 - 20 from tile directory /usr/local/renderd/cache with extension .png and mime type image/png
[Fri Oct 18 06:50:08.166742 2024] [tile:notice] [pid 7328:tid 7328] Loading tile config topo at /topo/ for zooms 0 - 20 from tile directory /usr/local/renderd/cache with extension .png and mime type image/png
```

when trying to start the apache2 service is: 

```
/etc/apache2# /etc/init.d/apache2 start
 * Starting Apache httpd web server apache2
 *
 * The apache2 configtest failed.
Output of config test was:
[Fri Oct 18 06:52:33.432541 2024] [tile:notice] [pid 7336:tid 7336] Loading tile config default at /tile/ for zooms 0 - 20 from tile directory /usr/local/renderd/cache with extension .png and mime type image/png
[Fri Oct 18 06:52:33.432613 2024] [tile:notice] [pid 7336:tid 7336] Loading tile config topo at /topo/ for zooms 0 - 20 from tile directory /usr/local/renderd/cache with extension .png and mime type image/png
```

does anyone have an idea why a "notice" message from the tile module is preventing my apache2 service to start



VERSIONS: 

```
apache2 -v
Server version: Apache/2.4.62 (Ubuntu)
Server built:   2024-07-22T12:37:10
```

```
renderd --version
0.8.0
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/468
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/issues/468 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20241017/28fb209a/attachment.htm>


More information about the Tile-serving mailing list