[openrtm-users 00360] First install, first problem

7 posts / 0 new
Last post
root
Offline
Last seen: 22 hours 51 min ago
Joined: 2009-06-23 14:31
[openrtm-users 00360] First install, first problem

Dear OpenRTM ML users,
I have some problem after having installed your OpenRTM. I installed
using the tar.gz on a Linux Kubuntu 64bit machine.
Everything is OK (./configure, make, sudo make install) but when I try
to run the example SimpleIO, it does not work.

The first error message that I have when I type ./run.sh from SimpleIO
directory is:
Starting omniORB omniNames: skynet:9876
../../utils/rtm-naming/rtm-naming: 72: -start: not found

It seems that there is something wrong with the rtm-naming script.
$cosnames is empty, so the line
$cosnames -start $port -logdir $currdir &
results in
-start 9876 -logdir
/home/madmage/download/OpenRTM/OpenRTM-aist-0.4.1/examples/SimpleIO

then there is a second error message, I think from ConnectorComp (it
arrives after 5 seconds), and it is:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

P.S.: should be fair, since you have a website also in english, to give
instructions about how confirm the registration to this ML also in
English. Thanks

Undefined
root
Offline
Last seen: 22 hours 51 min ago
Joined: 2009-06-23 14:31
[openrtm-users 00361] First install, first problem

Dear Daniele,

> then there is a second error message, I think from ConnectorComp (it
> arrives after 5 seconds), and it is:
> terminate called after throwing an instance of 'std::bad_alloc'
> what(): std::bad_alloc

Is the name server "localhost:9876" ?
ConnectorComp tries to find the components on the name server.
If you are using other name server, ConnectorComp will not work.

Masayuki

On Fri, 08 Feb 2008 06:29:06 +0100
"Calisi@DIS" wrote:

> Dear OpenRTM ML users,
> I have some problem after having installed your OpenRTM. I installed
> using the tar.gz on a Linux Kubuntu 64bit machine.
> Everything is OK (./configure, make, sudo make install) but when I try
> to run the example SimpleIO, it does not work.
>
> The first error message that I have when I type ./run.sh from SimpleIO
> directory is:
> Starting omniORB omniNames: skynet:9876
> ../../utils/rtm-naming/rtm-naming: 72: -start: not found
>
> It seems that there is something wrong with the rtm-naming script.
> $cosnames is empty, so the line
> $cosnames -start $port -logdir $currdir &
> results in
> -start 9876 -logdir
> /home/madmage/download/OpenRTM/OpenRTM-aist-0.4.1/examples/SimpleIO
>
> then there is a second error message, I think from ConnectorComp (it
> arrives after 5 seconds), and it is:
> terminate called after throwing an instance of 'std::bad_alloc'
> what(): std::bad_alloc
>
> P.S.: should be fair, since you have a website also in english, to give
> instructions about how confirm the registration to this ML also in
> English. Thanks
>

root
Offline
Last seen: 22 hours 51 min ago
Joined: 2009-06-23 14:31
[openrtm-users 00363] First install, first problem

On Fri, 08 Feb 2008 07:05:54 +0100
"Calisi@DIS" wrote:

> Masayuki Shimizu wrote:
> > Is the name server "localhost:9876" ?
> > ConnectorComp tries to find the components on the name server.
> > If you are using other name server, ConnectorComp will not work.
> >
> This means that I have to install named on my PC?

No. You have only to specify the correct name server in rtc.conf.
Anyway, please check the log file "rtcxxx.log",
to investigate the reason of the error.
Can you find the line like,
naming_svc NameServer connection succeeded: corba/localhost:9876
in the log file?

root
Offline
Last seen: 22 hours 51 min ago
Joined: 2009-06-23 14:31
[openrtm-users 00364] First install, first problem

On Fri, 08 Feb 2008 07:57:17 +0100
"Calisi@DIS" wrote:

> I'm afraid that is not clear for me what is a "name server" here.
>
> The log says:
> Feb 08 07:54:17 naming_svc NameServer connection failed:
> corba/localhost:9876

I think omniNames (CORBA name server) is not running,
or network trouble occurs.
Please check if omniNames is working.

root
Offline
Last seen: 22 hours 51 min ago
Joined: 2009-06-23 14:31
[openrtm-users 00370] First install, first problem

$cosname is defined by RTM's installer.
I guess the installer could not find
any name servers on your machine
when compiling RTM.
Please recompile and reinstall RTM
after you have installed omniNames on the system.

On Thu, 14 Feb 2008 11:34:01 +0100
"Calisi@DIS" wrote:

> Dear all,
> ok now everything is working... anyway the problem with the rtm-naming
> script remains, i.e., I have to run the omniNames server by hand... the
> problem with rtm-script is that $cosname is empty, I think it should
> contain something like "omniNames"
>
> I found some mistakes here and there in your webpage but it seems that
> hosts cannot make modifications. For example, in the page
> http://www.is.aist.go.jp/rt/OpenRTM-aist/html-en/Documents/Tutorial.html#ge9ad110
> "The *ConsoleOut* component follows a similar pattern, with a couple of
> things worth noting." I think you mean ConsoleIn, not Out
>
> thanks,
>
> Masayuki Shimizu wrote:
> > On Fri, 08 Feb 2008 07:57:17 +0100
> > "Calisi@DIS" wrote:
> >
> >
> >> I'm afraid that is not clear for me what is a "name server" here.
> >>
> >> The log says:
> >> Feb 08 07:54:17 naming_svc NameServer connection failed:
> >> corba/localhost:9876
> >>
> >
> > I think omniNames (CORBA name server) is not running,
> > or network trouble occurs.
> > Please check if omniNames is working.
> >

root
Offline
Last seen: 22 hours 51 min ago
Joined: 2009-06-23 14:31
[openrtm-users 00371] Lacking of rtc.conf

Hi all,
I am in the process of writing my first RTM service. After writing the
idl of the interface, generated code, wrote some printf here and there
and compiled, I run the server and a client. The problem is that they do
not appear to be registered in the name server, since RTC-Link do not
display them under the CORBA name server.

The problem was that there was no rtc.conf file in my directory. Just an
advice: to avoid someone else to be blocked with this problem, write
this somewhere in the documentation (or display some error message when
you launch the server or the client).

root
Offline
Last seen: 22 hours 51 min ago
Joined: 2009-06-23 14:31
[openrtm-users 00372] Lacking of rtc.conf

You can find example folder in OpenRTM source. Each of examples have
rtc.conf file. If examples run correctly same rtc.conf file work with your
example also.

But make sure that when you start the name server, give the same port as in
the rtc.conf file. Otherwise name server start in its default port.

>rtm-naming 6789

-----Original Message-----
From: Calisi@DIS
Sent: Friday, February 15, 2008 16:12
To: OpenRTM ML
Subject: [openrtm-users 00371] Lacking of rtc.conf

Hi all,
I am in the process of writing my first RTM service. After writing the
idl of the interface, generated code, wrote some printf here and there
and compiled, I run the server and a client. The problem is that they do
not appear to be registered in the name server, since RTC-Link do not
display them under the CORBA name server.

The problem was that there was no rtc.conf file in my directory. Just an
advice: to avoid someone else to be blocked with this problem, write
this somewhere in the documentation (or display some error message when
you launch the server or the client).

Log in or register to post comments

Download

latest Releases : 2.0.0-RELESE

2.0.0-RELESE Download page

Number of Projects

Choreonoid

Motion editor/Dynamics simulator

OpenHRP3

Dynamics simulator

OpenRTP

Integrated Development Platform

AIST RTC collection

RT-Components collection by AIST

TORK

Tokyo Opensource Robotics Association

DAQ-Middleware

Middleware for DAQ (Data Aquisition) by KEK