erlang - 节点未运行,氮

标签 erlang erlang-otp nitrogen

在 shell 中,我输入了 bin/dev page foo 并且 shell 返回了 Node is not running,我检查了日志并注意到消息 epmd: epmd: node名称已占用氮

然后,在 shell 中输入 epmd -names 然后它返回了

epmd: up and running on port 4369 with data:
name nitrogen at port 61109

运行epmd -debug给出

epmd: Thu Jun 27 01:01:52 2013: epmd running - daemon = 0
epmd: Thu Jun 27 01:01:52 2013: there is already a epmd running at port 4369

我无法停止该节点,当我尝试时,它显然在数据库中处于事件状态

epmd: local epmd responded with <>
Killing not allowed - living nodes in database.

在Eshell中,我收到以下内容

=ERROR REPORT==== 27-Jun-2013::00:49:53 ===
** Connection attempt from disallowed node '<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="cfa1a6bbbda0a8aaa190a2aea6a1bb90fef6fefbfe8ffefdf8e1ffe1ffe1fe" rel="noreferrer noopener nofollow">[email protected]</a>' ** 

有没有办法让Eshell识别这个节点,以便运行bin/dev函数

最佳答案

我注意到您在 Nitrogen mailing list 上发帖,据我了解,您已经理清了它,但在这种情况下,我会使用 ps aux | grep nitrogen 手动终止正在运行的节点。 ,然后使用简单的 kill XYZ 终止它找到的进程。 .

或者,我已经看到当使用不同的用户启动进程时会弹出“节点未运行”的信息,这样您就无法访问 erlang 管道。

诚然,我的建议不是很科学(杀死进程非常令人讨厌),但如果由于某种原因在启动过程中出现问题并且您无法连接到节点,那么这是一个简单的解决方案。

关于erlang - 节点未运行,氮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17337720/

相关文章:

erlang - 记录网页访问的最佳方式

erlang - 氮气 session

Erlang Keyfind 找不到

database - 防止添加主键已存在于 mnesia 中的记录的最佳方法是什么?

python - pyparsing:字典列表的语法(erlang)

erlang - 在启动 start_child 调用的进程中注册子进程

html - 如何向按钮添加工具提示

Erlang 冒泡排序

mysql - 使用 mysql :query 为 erlang 使用 mysql-otp 驱动程序插入多行

erlang - erlang 中的事件管理器进程。命名进程或 Pids?