Question

In shell I typed bin/dev page foo and shell returned Node is not running, I checked my logs and noticed the message epmd: epmd: node name already occupied nitrogen

Then, in shell I typed epmd -names and it returned

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

Running epmd -debug gives

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

I cannot stop the node, and when I try apparently it is active in the db

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

In Eshell, I received the following

=ERROR REPORT==== 27-Jun-2013::00:49:53 ===
** Connection attempt from disallowed node 'nitrogen_maint_19141@127.0.0.1' ** 

Is there a method to get Eshell to recognize this node, in order to run bin/dev function?

Was it helpful?

Solution

I've noticed you posting on the Nitrogen mailing list, and as I understand it, you've got it straightened out, but in this situation, I'd kill the running node manually with a ps aux | grep nitrogen, then kill the process it finds with a simple kill XYZ.

That, or, I've seen the "Node is not running" thing pop up when the process was launched with a different user, such that you don't have access to the erlang pipe.

Admittedly, my advice isn't terribly scientific (killing a process is pretty nasty), but it's a simple solution if for whatever reason something got hosed during launching and you're unable to attach to the node.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top