错误:ejabberd节点'ejabberd @ localhost'已在运行

aks*_*hay 5 ejabberd

  1. 我正在安装ejabberd但是当我通过终端使用./start命令运行它时.它给出了ejabberd节点ejabberd@localhost已经运行的错误.

  2. 我卸载了ejabberd并再次通过安装程序安装它,但
    它给出了同样的错误.

小智 5

我也遇到类似的问题,使用ubuntu作为操作系统。

我只是使用命令 ps -aux | grep -i 'ejabberd' 列出 ejabberd 进程。然后我杀死所有这些进程(通过从上面的命令收集进程 ID,而不是使用命令,例如“kill 98167 87654”)。

这为我解决了问题。


Mic*_*ond 2

我在 OSX 10.10.4 上使用 OSX ejabberd 安装程序进行了全新安装测试,安装后我可以正常启动 ejabberd。

因此,您的环境中似乎已经有一些正在运行的东西正在以不良方式与 ejabberd / ejabberd 安装程序进行交互。

以下是您需要检查的内容:

  1. 使用以下 ejabberdctl 命令检查 ejabberd 是否实际运行:

    $ bin/ejabberdctl 状态

    ejabberdctl stop您还可以尝试直接使用和启动/停止 ejabberdejabberdctl start

  2. 使用 来检查 Erlang 正在运行的进程ps aux | grep beam。这是 ejabberd 实际运行时得到的结果:

    $ ps 辅助| grep 束 mremond 53977 0.0 0.2 2526548 41872 ?? S 7:47PM 0:01.73 /Applications/ejabberd-15.06/bin/beam.smp -K true -P 250000 -- -root /Applications/ejabberd-15.06 -progname /Applications/ejabberd-15.06/bin/erl -- - home /Users/mremond -- -sname ejabberd@localhost -noshell -noinput -noshell -noinput -pa /Applications/ejabberd-15.06/lib/ejabberd-15.06/ebin -mnesia dir "/Applications/ejabberd-15.06/database/ejabberd @localhost" -ejabberd log_rate_limit 100 log_rotate_size 10485760 log_rotate_count 1 log_rotate_date "" -s ejabberd -sasl sasl_error_logger {file,"/Applications/ejabberd-15.06/logs/erlang.log"} -smp 自动启动

  3. 检查您在/Applications/ejabberd-15.06/logs文件中看到的内容。特别注意error.log和install.log