I think in this case, the other program is another instance of NOX being run 
simultaneously. :)  So the last suggestion applies.  The commandline to start 
the second instance should be something like:

./nox_core -v -i ptcp:6635 jsonmessenger=tcpport=2704 spanning_tree routing

-- Murphy

On Sep 28, 2011, at 2:08 PM, Kyriakos Zarifis wrote:

> It looks like either the socket was left open from an ungraceful shutdown 
> last time you ran NOX, or another application happens to be using the port 
> that jsonmessenger is trying to use.  If I recall, that would be port 2703.
> 
> If you run "lsof -i | grep 2703" you should be able to see which application 
> is using that port. If it is a zombie NOX (or some other program you don't 
> care about) you can kill it and try rerunning.
> 
> Alternatively (if a program you care about is using 2703), you can try to 
> make jsonmessenger use another different port.
> I think the command for that would be "jsonmessenger=tcpport=<portnumber>"
> 
> On Wed, Sep 28, 2011 at 1:33 PM, Rafael Lopes <rafaell...@gmail.com> wrote:
> When i try to run two nox with the spanning_tree i get this error below.
> 
> First: Ok
> openflow@openflowvm:~/nox/build/src$ ./nox_core -v -i ptcp:6634 switch
> spanning_tree routing
> 00001|nox|INFO:Starting nox_core
> (/home/openflow/nox/build/src/.libs/lt-nox_core)
> 00002|nox|INFO:nox bootstrap complete
> 
> Second: Error
> openflow@openflowvm:~/nox/build/src$ ./nox_core -v -i ptcp:6635 switch
> spanning_tree routing
> 00001|nox|INFO:Starting nox_core
> (/home/openflow/nox/build/src/.libs/lt-nox_core)
> 00002|nox|ERR:Cannot change the state of 'spanning_tree' to INSTALLED:
> 'spanning_tree' has an unmet dependency:
>        'jsonmessenger' ran into an error:
>                bind: Address already in use
> 
> any idea to solve it ?
> 
> --
> Rafael Lopes Gomes:
>  - Msc. Candidate in Computer Science at University of Campinas (UNICAMP)
>  - Member of LRC/UNICAMP and GERCOM/UFPA
>  - http://www.lrc.ic.unicamp.br/~rafaellgom
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev
> 
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to