iRods Error: local ip address returned from server with files >32mb

222 views
Skip to first unread message

kmar...@gmail.com

unread,
Jul 18, 2011, 11:24:44 AM7/18/11
to iROD-Chat
I have been working with iRods and have come across a problem with
transferring files that are >32mb. This is the error I get using
iput:

> iput -V -f test_dir_timing_40mb_80files.tar kmarcus/test_time
NOTICE: irodsHost=irods1.ccr.buffalo.edu
NOTICE: irodsPort=1247
NOTICE: irodsDefResource=demoResc
NOTICE: irodsHome=/vhub/home
NOTICE: irodsCwd=/vhub/home
NOTICE: irodsUserName=kmarcus
NOTICE: irodsZone=vhub
From server: NumThreads=2, addr:10.6.1.20, port:20169,
cookie=810769104
ERROR: connectToRhostPortal: connectTo Rhost 10.6.1.20 port 20169
error, status = -347000

We have already set the firewall on the irods server to accept ports
20000-20199. The problem I think has to do with the address of the
server. The server address in the error is the local ip address and
it should be connecting to the outside ip address
irods1.ccr.buffalo.edu.

Any thoughts as to why it is trying to connect to the local IP address
and not the outside IP address?

Chris Smith

unread,
Jul 18, 2011, 12:56:10 PM7/18/11
to irod...@googlegroups.com
I had the same issue recently where the receiving iRODS server was listening on the internal IP address for the parallel transfers. I just set up the IRODS_HOME/server/config/irodsHost file to fix this. My setup looks like:

    Hostname: irods.example.com
    Interface1: eth0 - 1.2.3.4 (public IP)
    Interface2: eth1 - 5.6.7.8 (private IP)

    irods.example.com resolved to 1.2.3.4, and the second IP didn't have a DNS entry.

On the iRODS server machine, I set up my irodsHost so it had the line:

    localhost irods irods.example.com 5.6.7.8

This tells iRODS to prefer the interface 'irods' when binding.

-- Chris


--
"iRODS: the Integrated Rule-Oriented Data-management System; A community driven, open source, data grid software solution"   https://www.irods.org

 iROD-Chat:  http://groups.google.com/group/iROD-Chat

Reply all
Reply to author
Forward
0 new messages