ORBIT-USER: Errno::EADDRINUSE while imaging

Kishore Ramachandran kishore at winlab.rutgers.edu
Mon Feb 19 09:28:20 EST 2007


Hi Ramya:

This error comes up when there is another running instance of nodehandler.
You seemed to have run orbitImage prior to running imageNodes4.

rk274    13172 12928  0 09:07 pts/2    00:00:00 /usr/bin/ruby ./orbitImage
ss_nodeset click-2.4.26-20051204.ndz
rk274    13173 13172  0 09:07 pts/2    00:00:00 [orbitImage] <defunct>
...
rk274    13903 13670  0 09:24 pts/1    00:00:00 /bin/bash
/usr/bin/imageNodes4 [[2,1],[2,3]] tmp/node-1-2-2007-02-07-04-52-46.ndz
rk274    13904 13903  9 09:24 pts/1    00:00:01
/opt/nodehandler-4.1.2/sbin/ruby
/opt/nodehandler-4.1.2/app/nodeHandler.rb -s true system:exp:imageNode
rk274    13908 13904  0 09:24 pts/1    00:00:00
/opt/nodehandler-4.1.2/sbin/commServer
--iface eth1 -l /tmp/commServer-grid_2007_02_19_09_24_14.lo

I suggest killing the earlier instance of orbitImage first before running
imageNodes4.

regards,
Kishore

On 2/19/07, Ramya Krishnamoorthy <rk274 at cornell.edu> wrote:
>
> Hi
>
> I am getting the following error when I try to image nodes on the grid.
>
> rk274 at console.grid:~$ /usr/bin/imageNodes4 [[1,2],[1,4]]
> click-2.4.26-20051204.ndz
> Imaging nodes: '[[1,2],[1,4]]' with image 'click-2.4.26-20051204.ndz'
> WARN: init'-s flag' flag is depreciated, use '-k' instead
> Using logfile /etc/nodehandler/nodehandler_log.xml
> DEBUG oconfig: Testbed name: 'grid'
> INFO init: NodeHandler Version 4.1.2 (1272)
> INFO init: Experiment ID: grid_2007_02_19_09_02_29
> INFO ExecApp: Starting application 'commServer':
> /opt/nodehandler-4.1.2/sbin/commServer --iface eth1 -l
> /tmp/commServer-grid_2007_02_19_09_02_29.log
> FATAL run: Exception: Address already in use - bind(2) (Errno::EADDRINUSE)
>         /opt/nodehandler-4.1.2/lib/webrick/utils.rb:73:in `initialize'
>         /opt/nodehandler-4.1.2/lib/webrick/utils.rb:73:in `new'
>         /opt/nodehandler-4.1.2/lib/webrick/utils.rb:73:in
> `create_listeners'
>         /opt/nodehandler-4.1.2/lib/webrick/utils.rb:70:in `each'
>         /opt/nodehandler-4.1.2/lib/webrick/utils.rb:70:in
> `create_listeners'
>         /opt/nodehandler-4.1.2/lib/webrick/server.rb:75:in `listen'
>         /opt/nodehandler-4.1.2/lib/webrick/server.rb:63:in `initialize'
>         /opt/nodehandler-4.1.2/lib/webrick/httpserver.rb:24:in
> `initialize'
>         /opt/nodehandler-4.1.2/lib/handler/nodeHandlerServer.rb:25:in
> `new'
>         /opt/nodehandler-4.1.2/lib/handler/nodeHandlerServer.rb:25:in
> `start'
>         /opt/nodehandler-4.1.2/app/nodeHandler.rb:464:in `startWebServer'
>         /opt/nodehandler-4.1.2/app/nodeHandler.rb:171:in `run'
>         /opt/nodehandler-4.1.2/app/nodeHandler.rb:622
> INFO ExecApp: Application 'commServer' finished
> INFO run: Experiment grid_2007_02_19_09_02_29 finished after 0:9
>
> What is the reason for this error?
>
> Ramya
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://orbit-lab.org/pipermail/orbit-user/attachments/20070219/f5873a7a/attachment.htm 


More information about the orbit-user mailing list