Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] error gsh grouper docker 4.1.7

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] error gsh grouper docker 4.1.7


Chronological Thread 
  • From: Mathieu HETRU <>
  • To: "Rappleyea, Benjamin" <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] error gsh grouper docker 4.1.7
  • Date: Tue, 13 Jun 2023 19:14:50 +0200

Thanks,

it works fine !

with this 3 keys in my subject.properties in my source UDL :

subjectApi.source.UDL.param.findSubjectByIdOnCheckConfig.value = false
subjectApi.source.UDL.param.findSubjectByIdentifiedOnCheckConfig.value = false
subjectApi.source.UDL.param.findSubjectByStringOnCheckConfig.value = false

Best Regards,




Mathieu HETRU
Responsable du bureau Appui Technique au SI (ATSI)
Service Intégration et Exploitation du Système d'Information (SIESI)

Direction Opérationnelle Système d’Information-Multimédia-Audiovisuel (DOSIMA)
Direction Générale Déléguée au Numérique (DGDNum)

Université de Lille
Campus Cité Scientifique
Bâtiment M3 - Bureau 107
59655 Villeneuve d'Ascq CEDEX

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

| www.univ-lille.fr
Le 13/06/2023 à 17:17, Rappleyea, Benjamin a écrit :

subjectApi.source.grouperSubjectSource.param.findSubjectByStringOnCheckConfig.value in the database had to be set to “false” before our system would start up

 

Thank you for your time,

 

Benjamin Rappleyea

Illinois State University

Manager, Office of Identity and Access Management

Email:

Phone: 309-438-3311

 

From: On Behalf Of Mathieu HETRU
Sent: Tuesday, June 13, 2023 10:07 AM
To:
Subject: [grouper-users] error gsh grouper docker 4.1.7

 


You don't often get email from . Learn why this is important

 


This message originated from outside of the Illinois State University email system. Learn why this is important

Hello,

I got this error :

root@grouper2-dev:/opt/grouper# docker exec -ti grouper-daemon-1 gsh
/usr/local/bin/gsh: line 3: prep_daemon: command not found
/usr/local/bin/gsh: line 4: prep_finish: command not found
/usr/local/bin/gsh: line 5: setupFiles: command not found
/usr/local/bin/gsh: line 6: runCommand_unsetAll: command not found
grouperContainer; INFO: (gsh file) bin/gsh.sh "" | tee /tmp/loggrouper
Detected Grouper directory structure 'webapp' (valid is api, apiMvn, webapp)
Using GROUPER_HOME:           /opt/grouper/grouperWebapp/WEB-INF
Using GROUPER_CONF:           /opt/grouper/grouperWebapp/WEB-INF/classes
Using JAVA:                   /usr/lib/jvm/java-17-amazon-corretto/bin/java
Using CLASSPATH:              /opt/grouper/grouperWebapp/WEB-INF/classes:/opt/grouper/grouperWebapp/WEB-INF/lib/*:/opt/tomcat/lib/servlet-api.jar
using MEMORY:                 64m-750m
Grouper starting up: version: 4.1.7, build date: 2023/05/24 06:03:12 +0000, env: <no label configured>
grouper.properties read from: /opt/grouper/grouperWebapp/WEB-INF/classes/grouper.properties
Grouper current directory is: /opt/grouper/grouperWebapp/WEB-INF
Grouper is logging to file:   /opt/grouper/logs/grouper.log, at min level WARN for package: edu.internet2.middleware.grouper, based on logging properties from /opt/grouper/grouperWebapp/WEB-INF/classes/log4j2.xml
grouper.hibernate.properties: /opt/grouper/grouperWebapp/WEB-INF/classes/grouper.hibernate.properties
grouper.hibernate.properties: grouper2@jdbc:postgresql://pgsql94-1-dev.univ-lille.fr:5432/grouper2

Subject API error: error with subject source id: UDL, name: Universite Lille, problem with getSubject by id, in subject.properties: search searchSubject: , edu.internet2.middleware.subject.SourceUnavailableException: Ldap Exception: Cannot invoke "String.toLowerCase()" because the return value of "org.ldaptive.ConnectionConfig.getLdapUrl()" is null,
Problem with ldap conection: 0,
Error querying ldap server id: 0, searchDn: ou=accounts, filter: '(& (uid=grouperTestSubjectByIdOnStartupASDFGHJ) (objectclass=person))', returning attributes: uid, cn, displayname, sn, supanncivilite, edupersonprimaryaffiliation, mail, supannentiteaffectationprincipale, udlaccountcodetype, edupersonprincipalname
    at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResultsHelper(LdapSourceAdapter.java:606)
    at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResults(LdapSourceAdapter.java:495)
    at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapUnique(LdapSourceAdapter.java:627)
    at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getSubject(LdapSourceAdapter.java:236)
    at edu.internet2.middleware.subject.SubjectCheckConfig.checkConfig(SubjectCheckConfig.java:116)
    at edu.internet2.middleware.grouper.misc.GrouperCheckConfig$1.callback(GrouperCheckConfig.java:597)
    at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:1000)
    at edu.internet2.middleware.grouper.GrouperSession.internal_callbackRootGrouperSession(GrouperSession.java:1069)
    at edu.internet2.middleware.grouper.GrouperSession.internal_callbackRootGrouperSession(GrouperSession.java:1036)
    at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkConfig(GrouperCheckConfig.java:593)
    at edu.internet2.middleware.grouper.misc.GrouperStartup$1.callback(GrouperStartup.java:348)
    at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:1000)
    at edu.internet2.middleware.grouper.GrouperSession.internal_callbackRootGrouperSession(GrouperSession.java:1069)
    at edu.internet2.middleware.grouper.GrouperSession.internal_callbackRootGrouperSession(GrouperSession.java:1036)
    at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:292)
    at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:174)
    at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: java.lang.NullPointerException: Cannot invoke "String.toLowerCase()" because the return value of "org.ldaptive.ConnectionConfig.getLdapUrl()" is null,

 

when i launch this command:

docker exec -ti grouper-daemon-1 gsh


Anyone have an idea to resolve this pb ?

 

Thanks !

 

Best regards,

--



Mathieu HETRU
Responsable du bureau Appui Technique au SI (ATSI)
Service Intégration et Exploitation du Système d'Information (SIESI)

Direction Opérationnelle Système d’Information-Multimédia-Audiovisuel (DOSIMA)
Direction Générale Déléguée au Numérique (DGDNum)

Université de Lille
Campus Cité Scientifique
Bâtiment M3 - Bureau 107
59655 Villeneuve d'Ascq CEDEX

Tél. :+33 (0)3 62 26 83 81 (numéro interne : 68381)

| www.univ-lille.fr

PNG image

PNG image




Archive powered by MHonArc 2.6.24.

Top of Page