Problem connecting via Corba on Debian Linux

Hello,
I'm not able to connect to my Orocos server with corba when it's running on
Debian Linux. It works when the server is running on the same machine than
the task-browser. The same application also works fine when running on
Ubuntu. There's no entries in my iptables. Anyone has any idea?

Note : I tried this on 2 different computer running Debian Lenny. I tested
both using IOR and the Naming_Service.

Thank you,

Philippe Hamelin

Problem connecting via Corba on Debian Linux

On Apr 29, 2009, at 10:48 , Philippe Hamelin wrote:

> Hello,
> I'm not able to connect to my Orocos server with corba when it's
> running on Debian Linux. It works when the server is running on the
> same machine than the task-browser. The same application also works
> fine when running on Ubuntu. There's no entries in my iptables.
> Anyone has any idea?
>
> Note : I tried this on 2 different computer running Debian Lenny. I
> tested both using IOR and the Naming_Service.

This definitely works under Lenny. Lenny, unlike Ubuntu, auto-starts
the Naming service. Maybe check the startup parameters - somewhere in /
etc/something ...

Problem connecting via Corba on Debian Linux

I don't think the problem is with the Naming_Service, because I can't even
connect when directly using the IOR.

2009/4/29 S Roderick <kiwi [dot] net [..] ...>

> On Apr 29, 2009, at 10:48 , Philippe Hamelin wrote:
>
> Hello,
>> I'm not able to connect to my Orocos server with corba when it's running
>> on Debian Linux. It works when the server is running on the same machine
>> than the task-browser. The same application also works fine when running on
>> Ubuntu. There's no entries in my iptables. Anyone has any idea?
>>
>> Note : I tried this on 2 different computer running Debian Lenny. I tested
>> both using IOR and the Naming_Service.
>>
>
> This definitely works under Lenny. Lenny, unlike Ubuntu, auto-starts the
> Naming service. Maybe check the startup parameters - somewhere in
> /etc/something ...
>
>
>

Problem connecting via Corba on Debian Linux

When I do :

netstat -lptu

on my Lenny server, the deployer seems to be listening on a IPv6 socket
(tcp6). On my Ubuntu server it's standard IPv4 (tcp). Maybe it has something
to do with my problem. I will try to disable IPv6.

2009/4/29 S Roderick <kiwi [dot] net [..] ...>

> On Apr 29, 2009, at 10:48 , Philippe Hamelin wrote:
>
> Hello,
>> I'm not able to connect to my Orocos server with corba when it's running
>> on Debian Linux. It works when the server is running on the same machine
>> than the task-browser. The same application also works fine when running on
>> Ubuntu. There's no entries in my iptables. Anyone has any idea?
>>
>> Note : I tried this on 2 different computer running Debian Lenny. I tested
>> both using IOR and the Naming_Service.
>>
>
> This definitely works under Lenny. Lenny, unlike Ubuntu, auto-starts the
> Naming service. Maybe check the startup parameters - somewhere in
> /etc/something ...
>
>
>

Problem connecting via Corba on Debian Linux

On Wed, Apr 29, 2009 at 5:16 PM, Philippe Hamelin <
philippe [dot] hamelin [..] ...> wrote:

> When I do :
>
> netstat -lptu
>
> on my Lenny server, the deployer seems to be listening on a IPv6 socket
> (tcp6). On my Ubuntu server it's standard IPv4 (tcp). Maybe it has something
> to do with my problem. I will try to disable IPv6.

As you might have figured out, disabling ipv6 (removing the kernel module)
will cause your CORBA application to abort with a message
saying 'service not available'. Did you find a way to specify that IPV4 must
be used ?

Peter

Problem connecting via Corba on Debian Linux

It seems that there's no problem with interoperability of IPv4 and IPv6
orbs. I have found that the problem was a name resolving problem (DNS). So,
I forced the orb the use IP addresses instead of host name
(-ORBDottedDecimalAddresse 1). While testing that, I also found that the
corba-deployer wasn't passing correctly extra arguments to InitOrb. I
submitted a patch to solve that :

http://www.orocos.org/forum/rtt/rtt-dev/ocl-bug-cdeployer-and-corba-depl...

Now everything works fine!

Philippe

2009/5/7 Peter Soetens <peter [..] ...>

>
>
> On Wed, Apr 29, 2009 at 5:16 PM, Philippe Hamelin <
> philippe [dot] hamelin [..] ...> wrote:
>
>> When I do :
>>
>> netstat -lptu
>>
>> on my Lenny server, the deployer seems to be listening on a IPv6 socket
>> (tcp6). On my Ubuntu server it's standard IPv4 (tcp). Maybe it has something
>> to do with my problem. I will try to disable IPv6.
>
>
> As you might have figured out, disabling ipv6 (removing the kernel module)
> will cause your CORBA application to abort with a message
> saying 'service not available'. Did you find a way to specify that IPV4
> must be used ?
>
> Peter
>
>

Problem connecting via Corba on Debian Linux

On May 7, 2009, at 07:12 , Philippe Hamelin wrote:

> It seems that there's no problem with interoperability of IPv4 and
> IPv6 orbs. I have found that the problem was a name resolving
> problem (DNS). So, I forced the orb the use IP addresses instead of
> host name (-ORBDottedDecimalAddresse 1). While testing that, I also
> found that the corba-deployer wasn't passing correctly extra
> arguments to InitOrb. I submitted a patch to solve that :
>
> http://www.orocos.org/forum/rtt/rtt-dev/ocl-bug-cdeployer-and-corba-depl...
>
> Now everything works fine!
>
> Philippe

Be aware that to use IP addresses instead of host names with ACE/TAO
is actually

-ORBDottedDecimalAddresses 1

The above simply missed the final "s" :-)