grouper-dev - Re: [grouper-dev] Problem with grouper install
Subject: Grouper Developers Forum
List archive
- From: ANDRES FELIPE DE LOS REYES PIEDRA <>
- To: "Peter St. Onge" <>
- Cc:
- Subject: Re: [grouper-dev] Problem with grouper install
- Date: Wed, 11 Jan 2017 12:10:17 -0500
- Ironport-phdr: 9a23:LpjcgRX+oHXfJjZOcw0L+Qa40rDV8LGtZVwlr6E/grcLSJyIuqrYbRyCt8tkgFKBZ4jH8fUM07OQ6PG8HzZQqsfR+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG5oAnLqMUbgoRuJ6IyxxDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKiU0+3/LhMNukK1boQqhpx1hzI7SfIGVL+d1cqfEcd8HWWZNQsNdWipcCY2+coQPFfIMMuRWr4f9qVUArgawCxewC+700DBEmmX70Lcm3+g9EwzL2hErEdIUsHTTqdX4LLsfX/i7wqfUwjvNcu5d1zfy5obOcR4vu/6CVq9+f8Te1EIhERrLgEiNooL5MD2a1OsDvXWG5OR6VuyhhGAppR1trzOywcojkI/JiZ8Pyl/a7iV12ps6KsO8SE58et6kCoVftiGEOIttWc4iXn1nuDskxb0ApZG0ZjIGx4o6yB7CcfCIbZSH7wvlWe2MLzl4g3dld6i+hxa06UWs1/PwW8uu3FpWtCZJjsPAum0L2hfO6caHUuNw8lmg1DqT1Q3e7+9ELEMvmqbHLpMszaI8moYNvUnGAiD6hEX7gaqTe0k65OSo5eLqaaj8qJCGLY97kAT+P7wumsOhBeQ4NRADX22B9uS90L3v5E34QbtWgvEvnajVro7WJcoBqq62BA9V1Ykj6xKhADu8zNsYmnwHIEpEeBKBkYfpJ0nDLO75APujgVmhlTlryvPdMbH9B5jAIWTPnKv/cbt490FQ1Ao+wNVa6p5KFL0BLur/Wkrru9zZCh85PRa0w+HiCNhlzIweX3+AArWHP6PJq1OH+/wgI+2LZI8OojbyNfgk6OD1jXIihF8SYbSp0oURaH+kBPtqOVuWbmfxgtsbD2gFohIyTPb2h12aTT5Te3GyUroz5jEhD4KmEJ/DSZ63gLCYwSi0AINWa3tCClCNCnfoa56EV+kWZCKTJM9hjiILVaKnS4A/yRGiqhX2xKR6IerJqWUkssep7NVp6vebrg10vRtyAMnXmzWVQn152HgUQDk50YhivUtnzVGf1u5ziqoLO8ZU4qZgdCsAGKWU4cFeKujfEi7sNvOucx6cb+SLOnkJb/8d+fZGN097F8+vlVbP0i6tGKUYhrGQLIE/76/a1HG3KspgjXvNgvpyx2I6S9dCYDX1zpV08BLeUsuQyx2U
Hey Peter, thanks for the quick reply
I also usually forget to edit pg_hba.conf but I already did it, but I did try your suggestion, restarted the postgresql service and STILL did not work, pleas can you help me out?
Best regards
Andres
2017-01-11 11:56 GMT-05:00 Peter St. Onge <>:
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
Advertencia legal:
Este mensaje y, en su caso, los archivos anexos son confidenciales, especialmente en lo que respecta a los datos personales, y se dirigen exclusivamente al destinatario referenciado. Si usted no lo es y lo ha recibido por error o tiene conocimiento del mismo por cualquier motivo, le rogamos que nos lo comunique por este medio y proceda a destruirlo o borrarlo, y que en todo caso se abstenga de utilizar, reproducir, alterar, archivar o comunicar a terceros el presente mensaje y ficheros anexos, todo ello bajo pena de incurrir en responsabilidades legales. Las opiniones contenidas en este mensaje y en los archivos adjuntos, pertenecen exclusivamente a su remitente y no representan la opinión de la Universidad de Cuenca salvo que se diga expresamente y el remitente esté autorizado para ello. El emisor no garantiza la integridad, rapidez o seguridad del presente correo, ni se responsabiliza de posibles perjuicios derivados de la captura, incorporaciones de virus o cualesquiera otras manipulaciones efectuadas por terceros.
- [grouper-dev] Problem with grouper install, andres.delosreyes, 01/11/2017
- Re: [grouper-dev] Problem with grouper install, Peter St. Onge, 01/11/2017
- Re: [grouper-dev] Problem with grouper install, ANDRES FELIPE DE LOS REYES PIEDRA, 01/11/2017
- Message not available
- Message not available
- Message not available
- Re: [grouper-dev] Problem with grouper install, ANDRES FELIPE DE LOS REYES PIEDRA, 01/11/2017
- Re: [grouper-dev] Problem with grouper install, Bee-Lindgren, Bert, 01/11/2017
- Re: [grouper-dev] Problem with grouper install, ANDRES FELIPE DE LOS REYES PIEDRA, 01/11/2017
- Re: [grouper-dev] Problem with grouper install, ANDRES FELIPE DE LOS REYES PIEDRA, 01/11/2017
- Message not available
- Message not available
- Message not available
- Re: [grouper-dev] Problem with grouper install, ANDRES FELIPE DE LOS REYES PIEDRA, 01/11/2017
- Re: [grouper-dev] Problem with grouper install, Peter St. Onge, 01/11/2017
Archive powered by MHonArc 2.6.19.