在 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/