[Rock-dev] [rock] #212: Orocos.initialize could not find CORBA Naming service

rock noreply at opendfki.de
Fri Nov 2 11:57:32 CET 2012


#212: Orocos.initialize could not find CORBA Naming service
-----------------------+------------------------------------
 Reporter:  jahi02     |       Owner:  rock-dev-mailing-list
     Type:  defect     |      Status:  new
 Priority:  minor      |   Milestone:
Component:  toolchain  |  Resolution:
 Keywords:             |
-----------------------+------------------------------------

Comment (by jahi02):

 Omni Name service is listening:

 $ sudo netstat -tlpn
 Active Internet connections (only servers)
 Proto Recv-Q Send-Q Local Address           Foreign Address         State
 PID/Program name
 tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
 588/sshd
 tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN
 1114/cupsd
 tcp        0      0 0.0.0.0:2809            0.0.0.0:*               LISTEN
 2713/omniNames
 tcp        0      0 0.0.0.0:8193            0.0.0.0:*               LISTEN
 1222/mrouter
 tcp        0      0 0.0.0.0:49100           0.0.0.0:*               LISTEN
 1035/magent
 tcp6       0      0 :::22                   :::*                    LISTEN
 588/sshd
 tcp6       0      0 ::1:631                 :::*                    LISTEN
 1114/cupsd


 The problem is solved when the NameService ip address is written before
 calling initialize (for example):

 #! /usr/bin/env ruby
 require 'orocos'

 include Orocos

 Orocos::CORBA.name_service.ip = "127.0.0.1"

 #Initializes the CORBA communication layer
 Orocos.initialize

 If Orocos::CORBA.name_service.ip = "127.0.0.1" is not in the script then
 it will crash.

 In principle it should not be like this.

-- 
Ticket URL: <http://rock.opendfki.de/ticket/212#comment:6>
rock <http://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list