Skip to Content.
Sympa Menu

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

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] error gsh grouper docker 4.1.7


Chronological Thread 
  • From: Mathieu HETRU <>
  • To: "" <>
  • Subject: [grouper-users] error gsh grouper docker 4.1.7
  • Date: Tue, 13 Jun 2023 17:06:52 +0200

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:

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




Archive powered by MHonArc 2.6.24.

Top of Page