天桥API调度程序失败,地址已在使用中98 [英] Overpass API dispatcher fails with Address already in use 98
问题描述
我在以下方面遵循了安装说明: http://wiki.openstreetmap.org/wiki/Overpass_API/install
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.
当我尝试启动调度程序时,我当前收到错误消息: File_Error地址已在使用中98/srv/osm3s/db_dir//osm3s_v0.7.3_osm_base Dispatcher_Server :: 4
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
查看netstat时,使用端口98的进程为零.重新启动整个服务器无法使其正常工作. /dev/shm中没有锁定文件.
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.
推荐答案
似乎在/dev/shm/和数据库目录中都是锁.空文件osm _...存储在数据库目录中,该文件将锁定进程.只需删除这两个文件(数据库dir和/dev/shm/),即可启动调度程序并再次运行.
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.
这篇关于天桥API调度程序失败,地址已在使用中98的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!