套接字绑定因以下原因而失败:/var/run/renderd/renderd.sock运行渲染的-f -c /usr/local/etc/renderd.conf之后

时间:2019-04-29 07:44:09

标签: linux apache maps openstreetmap mapnik

基本上我想设置一个openstreetmaps tileserver。现在我处在一个无法独自解决问题的地方。所以这是我的问题:

运行renderd -f -c /usr/local/etc/renderd.conf时,得到以下输出:

renderd[28482]: Rendering daemon started
renderd[28482]: 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 **
renderd[28482]: Parsing section renderd
renderd[28482]: Parsing render section 0
renderd[28482]: Parsing section mapnik
renderd[28482]: Parsing section default
renderd[28482]: config renderd: unix socketname=/var/run/renderd/renderd.sock
renderd[28482]: config renderd: num_threads=4
renderd[28482]: config renderd: num_slaves=0
renderd[28482]: config renderd: tile_dir=/var/lib/mod_tile
renderd[28482]: config renderd: stats_file=/var/run/renderd/renderd.stats
renderd[28482]: config mapnik:  plugins_dir=/usr/lib/mapnik/input
renderd[28482]: config mapnik:  font_dir=/usr/share/fonts/truetype
renderd[28482]: config mapnik:  font_dir_recurse=1
renderd[28482]: config renderd(0): Active
renderd[28482]: config renderd(0): unix socketname=/var/run/renderd/renderd.sock
renderd[28482]: config renderd(0): num_threads=4
renderd[28482]: config renderd(0): tile_dir=/var/lib/mod_tile
renderd[28482]: config renderd(0): stats_file=/var/run/renderd/renderd.stats
renderd[28482]: config map 0:   name(default) file(/home/betrieb/src/openstreetmap-carto/mapnik.xml) uri(/hot/) htcp() host(tile.openstreetmap.org)
renderd[28482]: Initialising unix server socket on /var/run/renderd/renderd.sock
socket bind failed for: /var/run/renderd/renderd.sock

我也尝试了that post的答案,但没有帮助。 还有其他想法可以使它起作用吗?

最诚挚的问候,

N3x

0 个答案:

没有答案