From : https://groups.google.com/forum/#!forum/irod-chat
I did : chmod -R 755 /var/lib/irods
-- My Server files---
#rpm -qa postgre*
postgresql-server-9.2.13-1. el7_1.x86_64
postgresql-9.2.13-1.el7_1.x86_ 64
postgresql-odbc-09.03.0100-2. el7.x86_64
postgresql-devel-9.2.13-1.el7_ 1.x86_64
postgresql-contrib-9.2.13-1. el7_1.x86_64
postgresql-server-9.2.13-1.
postgresql-9.2.13-1.el7_1.x86_
postgresql-odbc-09.03.0100-2.
postgresql-devel-9.2.13-1.el7_
postgresql-contrib-9.2.13-1.
#rpm -qa irod*
irods-dev-4.1.6-0.x86_64
irods-icat-4.1.6-0.x86_64
irods-runtime-4.1.6-0.x86_64
irods-database-plugin- postgres-1.6-0.x86_64
irods-dev-4.1.6-0.x86_64
irods-icat-4.1.6-0.x86_64
irods-runtime-4.1.6-0.x86_64
irods-database-plugin-
in the file : /var/lib/pgsql/data/ postgresql.conf
you need to change : listen_addresses = 'localhost' to listen_addresses = '*'
you need to change : listen_addresses = 'localhost' to listen_addresses = '*'
Also remember to add it to firewall-cmd with the option : --permanent
To fix this error open PostgreSQL client authentication configuration file /var/lib/pgsql/data/pg_hba. conf :
# vi /var/lib/pgsql/data/pg_hba. conf
To fix this error open PostgreSQL client authentication configuration file /var/lib/pgsql/data/pg_hba.
# vi /var/lib/pgsql/data/pg_hba.
This file controls: Which hosts are allowed to connect
How clients are authenticated which PostgreSQL user names they can use Which databases they can access
How clients are authenticated which PostgreSQL user names they can use Which databases they can access
By default Postgresql uses IDENT-based authentication.
All you have to do is allow username and password based authentication for your network or webserver.
Other usefull stuff: (systemD)
systemctl status postgresql.service
systemctl stop postgresql.service
systemctl start postgresql.service
--
Test your iRODS password with : iinit
Wrong password will give :
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
systemctl status postgresql.service
systemctl stop postgresql.service
systemctl start postgresql.service
--
Test your iRODS password with : iinit
Wrong password will give :
Enter your current iRODS password:
[-] libnative.cpp:336:native_auth_
failed with error -826000 CAT_INVALID_AUTHENTICATION
Right password will give :
Enter your current iRODS password:
#
Enter your current iRODS password:
#
-----
install postgresql93: (NOT the latest one!!! )
rpm -iUvh http://yum.postgresql.org/9.3/ redhat/rhel-latest-x86_64/ pgdg-centos93-9.3-1.noarch.rpm ; yum update
yum -y install postgresql93 postgresql93-server postgresql93-contrib postgresql93-libs postgresql93-odbc fuse-libs.x86_64 perl-JSON* python-jsonschema.noarch
rpm -iUvh http://yum.postgresql.org/9.3/
yum -y install postgresql93 postgresql93-server postgresql93-contrib postgresql93-libs postgresql93-odbc fuse-libs.x86_64 perl-JSON* python-jsonschema.noarch
Get the rpm from.... ftp://ftp.renci.org/pub/irods/ releases/
Please Note : IDROP-web need : TomCat 7 or 8 (and Varnish???)
--
I'm still testing with Varnish vs. Apache Traffic Server as a Reverse Proxy
---
--My Setup:
Varnish : nano /etc/yum.repos.d/varnish.repo
Varnish : nano /etc/yum.repos.d/varnish.repo
---the file-------
[varnish-4.0]
name=Varnish 4.0 for Enterprise Linux
baseurl=https://repo.varnish- cache.org/redhat/varnish-4.0/ el7/$basearch
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm- gpg/RPM-GPG-KEY-VARNISH
---------
yum install varnish varnish-libs varnish-libs-devel
name=Varnish 4.0 for Enterprise Linux
baseurl=https://repo.varnish-
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-
---------
yum install varnish varnish-libs varnish-libs-devel
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --reload
firewall-cmd --reload
nano /etc/varnish/varnish.params
Setup : DAEMON_OPTS="-a :80 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,256m"
Please let me know how you did your CentOS 7 or RedHat ES 7