4

我正在与在我的 ubuntu 12.04 服务器上安装 OSRM 作斗争。上

osrm-routed map.osrm 

我得到以下结果和错误:

[info] starting up engines, v4.8.1
[info] populating base path: map.osrm
[info] HSGR file:       "map.osrm.hsgr"
[info] loading graph data
[info] loading graph from map.osrm.hsgr
[info] number_of_nodes: 13257636, number_of_edges: 91420598
[info] loaded 13257636 nodes and 91420598 edges
[info] Data checksum is 2360151423
[info] loading edge information
[info] loading core information
[info] loading geometries
[info] loading r-tree
[info] loading timestamp
[info] Loading Timestamp
[info] loading street names
[info] loaded plugin: table
[info] loaded plugin: hello
[info] loaded plugin: locate
[info] loaded plugin: nearest
[info] loaded plugin: match
[info] loaded plugin: timestamp
[info] loaded plugin: viaroute
[info] loaded plugin: trip
[info] http 1.1 compression handled by zlib version 1.2.8
[warn] [exception] bind: Address already in use

我尝试了多个版本的 server.ini,但结果保持不变。

你知道出了什么问题吗?

感谢您的帮助。

乔治

4

1 回答 1

4

OSRM 使用的默认端口(端口5000)似乎已经被抢占了。您可以使用以下命令指定不同的端口:

./osrm-routed -p YOUR_PORT data.osrm

我建议不要再使用server.ini了,因为下一个版本将不再支持。请改用命令行选项。

于 2016-01-08T12:14:12.260 回答