First ask your self: (Did I do this ?) -NOT "testpassword" Right? Please Note! This is on a CentOS 7
su postgres
psql
CREATE USER irods WITH PASSWORD 'testpassword';
CREATE DATABASE "ICAT";
GRANT ALL PRIVILEGES ON DATABASE "ICAT" TO irods;
\q
# Do remember : var/lib/pgsql/data/postgresql.conf
# listen_addresses = 'localhost' to listen_addresses = '*'
# and /var/lib/pgsql/data/pg_hba.conf # IDENT = trust
/var/lib/irods/packaging/setup_irods.sh ; iinit
Error:
su postgres
psql
CREATE USER irods WITH PASSWORD 'testpassword';
CREATE DATABASE "ICAT";
GRANT ALL PRIVILEGES ON DATABASE "ICAT" TO irods;
\q
# Do remember : var/lib/pgsql/data/postgresql.conf
# listen_addresses = 'localhost' to listen_addresses = '*'
# and /var/lib/pgsql/data/pg_hba.conf # IDENT = trust
/var/lib/irods/packaging/setup_irods.sh ; iinit
Docs » Manual » Troubleshooting>
Did you read : https://docs.irods.org/master/manual/troubleshooting/
Install problem:
Connection to iRODS server failed.
[-] libnative.cpp:336:native_auth_client_response : status [CAT_INVALID_USER] errno [] -- message [Call to rcAuthResponseFailed.]
failed with error -827000 CAT_INVALID_USER
Fix :
DB user / password is wrong...
If you have nothing you care about in your database yet, you can drop the tables, and start again.
Error:
# iadmin
ERROR: _rcConnect: setRhostInfo error, irodsHost is probably not set correctly status = -302000 USER_RODS_HOST_EMPTY
ERROR: rcConnect failure USER_RODS_HOST_EMPTY () (-302000) _rcConnect: setRhostInfo faile
Fix:
This means that your environment is not defined for your current unix user. This user has an ~/.irods/irods_environment.json file?
If not, you can run iinit to create one (it will prompt you for four pieces of information).
After a drop of the DB named: ICAT ... and follow the guides from : https://docs.irods.org/master/manual/installation/ and last run : iinit and give the same info as I did on setup.sh
Error : if the install say something about Permission denied /tmp/irods/setup_irods_configuration.flag
Fix:
Disable SELinux. Because /tmp/ is protected by SElinux - nano /etc/sysconfig/selinux
Disable SELinux. Because /tmp/ is protected by SElinux - nano /etc/sysconfig/selinux
Change “SELINUX=enforcing” to “SELINUX=disabled” and save the configuration file and reboot ;-)
Error:
Enter your current iRODS password:
[-] libnative.cpp:336:native_auth_client_response : status [CAT_INVALID_AUTHENTICATION] errno [] -- message [Call to rcAuthResponseFailed.]
failed with error -826000 CAT_INVALID_AUTHENTICATION
Fix : This error is from iCOMMAND. Your iRODS id/password is wrong.
re-run iinit and type the right id / password (what you typed when running: setup.sh )
Error:
ils /remoteZone
ERROR: rcObjStat of /remoteZone failed status = -913000 REMOTE_SERVER_SID_NOT_DEFINED
Fix :
Error:
ils /remoteZone
ERROR: rcObjStat of /remoteZone failed status = -913000 REMOTE_SERVER_SID_NOT_DEFINED
Fix :
The new name for the 'RemoteZoneSID' is 'zone_key'. We have not yet converted all the error codes from the old naming conventions - this is on the roadmap for 4.2.
You are missing the 'zone_key' entry on one side or the other of the federation, defining the authentication mechanism between your two zones.
Both sides of the federation need to have a stanza that includes the following four pieces of information:
"federation": [
{
"icat_host": "otherzone.example.org",
"zone_name": "anotherZone",
"zone_key": "ghjk6789",
"negotiation_key": " abcdefghijklmnopqrstuvwxyzabcd ef"
}
]
They will mutually authenticate and the errors will go away.
More fixes on : https://groups.google.com/forum/#!forum/irod-chat