Overpass API dispatcher fails with Address already in use 98

一笑奈何 提交于 2019-12-23 12:49:14

问题


I've followed the installation instructions on: http://wiki.openstreetmap.org/wiki/Overpass_API/install

Initially everything worked flawless, but I would like to try and use my own custom map, BUT when I killed the dispatcher process nothing works. This is with the original database and not my custom map.

I tried to clean everything and install from scratch, this also worked flawless, but a simple kill on the dispatcher make everything crash from there on.

I currently get the error message when I try to start the dispatcher: File_Error Address already in use 98 /srv/osm3s/db_dir//osm3s_v0.7.3_osm_base Dispatcher_Server::4

Looking at netstat there's no process using port 98. Restarting the entire server does not make it work. There is no lock file in /dev/shm.

What to do? I do not wish to clean and install everything every time I kill the dispatcher.


回答1:


Seems to be a lock in both /dev/shm/ and the database directory. An empty file osm_... is stored in the database directory which locks the process. Removing just those two files (database dir and /dev/shm/) gets the dispatcher up and running again.



来源:https://stackoverflow.com/questions/24525795/overpass-api-dispatcher-fails-with-address-already-in-use-98

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!