iRODS Resource Server Error

138 views
Skip to first unread message

dba...@vols.utk.edu

unread,
Oct 6, 2015, 6:05:53 PM10/6/15
to iRODS-Chat

I am trying to set-up a resource server whose domain name is "server2" which is supposed to connect to the iCAT server which is running on "server1". I get the following error:


Step 1 of 3:  Preparing to initialize...

    Stopping iRODS server...

Found 0 processes:

        There are no iRODS servers running.


Step 2 of 3:  Configuring iRODS server...

    Updating /etc/irods/server_config.json...

    Running 'iinit' to enable server to server connections...

ERROR: _rcConnect: connectToRhost error, server on server2:1247 is probably down status = -305111 USER_SOCK_CONNECT_ERR, Connection refused

ERROR: Saved password, but failed to connect to server server2

    Using ICAT-enabled server on 'server1'


Step 3 of 3:  Configuring iRODS user and starting server...

    Updating iRODS user's ~/.irods/irods_environment.json...

    Starting iRODS server...


It says "connectToRhost error, server on server2:1247 is probably down", but I am trying to connect to server1. 


I have added iptables rules to allow it to connect to the port 1247, but I still get the error.


What could be the cause of this?


Ben Keller

unread,
Oct 6, 2015, 6:11:57 PM10/6/15
to irod-chat
Can you attach the contents of your server logs (both icat and resource) /var/lib/irods/iRODS/server/log/rodsLog*

--
--
"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

---
You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dba...@vols.utk.edu

unread,
Oct 6, 2015, 6:39:22 PM10/6/15
to iRODS-Chat
I am trying to setup a resource server on host "irods2.nics.utk.edu" which should connect to the iCat server which is running on "irods1.nics.utk.edu." I have attached the full error message and logs.

Step 1 of 3:  Preparing to initialize...

    Stopping iRODS server...

Found 0 processes:

        There are no iRODS servers running.


Step 2 of 3:  Configuring iRODS server...

    Updating /etc/irods/server_config.json...

    Running 'iinit' to enable server to server connections...

ERROR: _rcConnect: connectToRhost error, server on irods2.nics.utk.edu:1247 is probably down status = -305111 USER_SOCK_CONNECT_ERR, Connection refused

ERROR: Saved password, but failed to connect to server irods2.nics.utk.edu

    Using ICAT-enabled server on 'irods1.nics.utk.edu'


Step 3 of 3:  Configuring iRODS user and starting server...

    Updating iRODS user's ~/.irods/irods_environment.json...

    Starting iRODS server...

Error encountered running start on irods_control.

Traceback (most recent call last):

  File "/var/lib/irods/iRODS/scripts/python/irods_control.py", line 803, in main

    operations_dict[operation]()

  File "/var/lib/irods/iRODS/scripts/python/irods_control.py", line 751, in <lambda>

    execution_environment=execution_environment)

  File "/var/lib/irods/iRODS/scripts/python/irods_control.py", line 143, in start

    irods_six.reraise(IrodsControllerError, e, sys.exc_info()[2])

  File "/var/lib/irods/iRODS/scripts/python/irods_control.py", line 138, in start

    raise IrodsControllerError('iRODS server failed to start.')

IrodsControllerError: iRODS server failed to start.

Exiting...

Could not start iRODS server.

    Validating [/etc/irods/server_config.json]... Success

Validating [/var/lib/irods/VERSION.json]... Success

Validating [/etc/irods/hosts_config.json]... Success

Validating [/etc/irods/host_access_control_config.json]... Success

Validating [/var/lib/irods/.irods/irods_environment.json]... Success

Starting iRODS server...

Failure



Install problem:

    Cannot start iRODS server.

Found 0 processes:

        There are no iRODS servers running.


Abort.

rodsLog.2015.10.06-resc
rodsLog.2015.10.06-icat

Ben Keller

unread,
Oct 6, 2015, 7:18:32 PM10/6/15
to irod-chat
Do you have the inputs and outputs from the setup_irods.sh scripts you ran on both machines?

Can you run iadmin lu on the icat and show me the output?

Also, the logs suggest you are running irods 4.2.0. Did you build these packages locally? Unless you are doing development, I highly recommend using the 4.1.6 packages from http://irods.org/download/



--

dba...@vols.utk.edu

unread,
Oct 7, 2015, 4:07:37 PM10/7/15
to iRODS-Chat
I use the same information as the input for the Resource server as I did for the iCat. I used the iCat's zone keys for the input for the setup script for the resource server. 

I did build the packages locally. Should I try re-installing iRODS with the pre-compiled downloads?

"iadmin lu" gives the following:

dbarry9#NICS

rods#NICS

barr...@gmail.com

unread,
Oct 7, 2015, 4:33:22 PM10/7/15
to iRODS-Chat
I installed the resource package from the website as you suggested, and I am no longer getting that error.

Thank you for your help!

Ben Keller

unread,
Oct 7, 2015, 5:23:41 PM10/7/15
to irod-chat
Great to hear that it's working. You definitely want to use the pre-compiled downloads.

On Wed, Oct 7, 2015 at 4:32 PM, <barr...@gmail.com> wrote:
I installed the resource package from the website as you suggested, and I am no longer getting that error.

Thank you for your help!

--
Reply all
Reply to author
Forward
0 new messages