Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] Problem with grouper install

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] Problem with grouper install


Chronological Thread 
  • From: "Peter St. Onge" <>
  • To: ,
  • Subject: Re: [grouper-dev] Problem with grouper install
  • Date: Wed, 11 Jan 2017 11:56:05 -0500
  • Ironport-phdr: 9a23:4YfVNhTuAImBoNTRWMSwcu40wNpsv+yvbD5Q0YIujvd0So/mwa6yZxWN2/xhgRfzUJnB7Loc0qyN4vymAzxLsMvJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBq7oR/PusQVjodvLqY8wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaMTMy7WPZhdFqjK9DvRyvuRJ/zY7Xbo+bOvVxcaHScs8VS2daQsZcVTZMDp+gY4YBD+cMO/tToYnnp1sJqBuzHQegCvnxxT9UmHD2x7Ax3fk9EQ3cwQcuBtQOsHvKo9n7KawfVvi1w7fUzTrddf9Wwiv96I/OchAuv/6BRq9wcdbWyUk1EAPFiEmQqYv/MzyJzOsAqm6W5PdjW+K3k2Mrth99rzu1yssxloXFmpgZxk3K+Cln2oo5ON61RFBjbdK5DpddtDuWO5ZqTs8+WW1kpTo2x7MctZO0fiUHzoksyQTFZPydaYeI5wruVOaPLjd8g3JoYKmwhwuo8Ue+0OL8S8q53EhQoipDidnArG0N1wDU6sidTft9+Fuh2TGV2w/P8O5IOUE0lazFJJ492rM8i4QfvEfZEiPrhEn6kLWaelgq9+S28ejrf7brqoGEO49xkA7+M6AumsKlAeQ/NwgDR3Cb9vqg1LL950H5W6lKjvowkqnWrp/XPtkbprK+Aw9P1YYj7Qq/DzC83NsEh3YLNEhFdw6fj4j1J1HOJ+j1Dfilg1SrjTdr3+7JPqf4DprQMHfDjqzsfbJ8605H1Aoz1s5T64hVCrEHPPL8RFXxtNrGAR8lLQC42fjoB8hg1tBWZWXaC6mVKq7J91OF4uU0OeSdaZQ9pT3gJv4u7rjjgWJ/lFRZNaaz2oYPZWr9Evl4C0SffXf2hNodSyEHshdtYvbtjQjIaTNPamz6ZL56rhY9B4/sRdPbS5ygxqed2yG0E7VLemdcDVaQFjHjftPXCL83dCuOL5o5wXQ/Xr+7Rtp52A==

Hello Andres,

I usually forget to add the line in pg_hba.conf to allow IP connections
via localhost since the application does not use domain sockets for
access and the default PostgreSQL configs in my distro don't make it
available at install time -- the second line might be helpful for you
(place it after the local socket line as below)

# TYPE DATABASE USER ADDRESS METHOD

# "local" is for Unix domain socket connections only
local all all peer
# IPv4 local connections:
host grouperdb grouperdb 127.0.0.1/32 md5


Best, -- pete



On 2017-01-11 11:46 AM,

wrote:
> Hey everyone, I am from Ecuador and at the university we are implementing
> grouper, so when I run the grouperInstaler.jar, I want it to use a
> postgresql
> database that is already created and empty, and I get this error from the
> installer:
>
> Enter the database URL [jdbc:postgresql://localhost:5432/grouperdb]:
> Database user [grouperdb]:
> Database password (note, you aren't setting the pass here, you are using an
> existing pass, this will be echoed back) [XXXXXXXXX]:
> Editing
> /programas/grouper/grouper.installer-2.3.0/grouper.apiBinary-2.3.0/conf/groupe
> r.hibernate.properties:
> - property hibernate.connection.url already was set to:
> jdbc:postgresql://localhost:5432/grouperdb, not changing file
> - property hibernate.connection.username already was set to: grouperdb, not
> changing file
> - property hibernate.connection.password already was set to: XXXXXXXXX, not
> changing file
> Checking database with query: select 1
> Exception in thread "main" java.lang.IllegalAccessError: tried to access
> class
> org.postgresql.Driver$1 from class org.postgresql.Driver
> at org.postgresql.Driver.getDefaultProperties(Driver.java:86)
> at org.postgresql.Driver.connect(Driver.java:237)
> at
> edu.internet2.middleware.grouperInstaller.driverShim.DatabaseShimBase.connect(
> DatabaseShimBase.java:65)
> at java.sql.DriverManager.getConnection(DriverManager.java:664)
> at java.sql.DriverManager.getConnection(DriverManager.java:247)
> at
> edu.internet2.middleware.grouperInstaller.util.GiDbUtils.connection(GiDbUtils.
> java:399)
> at
> edu.internet2.middleware.grouperInstaller.util.GiDbUtils.listSelect(GiDbUtils.
> java:457)
> at
> edu.internet2.middleware.grouperInstaller.util.GiDbUtils.listSelect(GiDbUtils.
> java:416)
> at
> edu.internet2.middleware.grouperInstaller.util.GiDbUtils.select(GiDbUtils.java
> :427)
> at
> edu.internet2.middleware.grouperInstaller.util.GiDbUtils.checkConnection(GiDbU
> tils.java:567)
> at
> edu.internet2.middleware.grouperInstaller.GrouperInstaller.checkDatabaseConnec
> tion(GrouperInstaller.java:9957)
> at
> edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainInstallLogic(Gr
> ouperInstaller.java:8177)
> at
> edu.internet2.middleware.grouperInstaller.GrouperInstaller.access$400(GrouperI
> nstaller.java:82)
> at
> edu.internet2.middleware.grouperInstaller.GrouperInstaller$GrouperInstallerMai
> nFunction$2.logic(GrouperInstaller.java:1307)
> at
> edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperIn
> staller.java:1530)
> at
> edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstall
> er.java:549)
>
>
>
> I have java jdk1.8.0_111 installed.
>
>
> Thanks
>
> Andres de los Reyes
>


--
Peter St. Onge

Information Security Architect (416)978-5030
Business Continuity and Communications
Information + Technology Services University of Toronto



Archive powered by MHonArc 2.6.19.

Top of Page