Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Re: GSH error after applying API patch 83

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Re: GSH error after applying API patch 83


Chronological Thread 
  • From: Paul Engle <>
  • To:
  • Subject: [grouper-users] Re: GSH error after applying API patch 83
  • Date: Fri, 25 May 2018 11:17:25 -0500
  • Ironport-phdr: 9a23:QJ8IFRR0nZfRVEQokgqM/Ynsb9psv+yvbD5Q0YIujvd0So/mwa6yZhSN2/xhgRfzUJnB7Loc0qyK6/umATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfb1/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/27ZisNyjKxVrhGvqQFhzYHIe4yaLuZyc7nHcN8GWWZMXMBcXDFBDIOmaIsPCvIMM/xCoIngo1sFsBSwBQ+jBOPr1DBDm3j73bUk3OQnHgHG2BIvEskUsHTVsNr6Kr0eXv6ow6nV1DjOae5d1zn66IjNaB8hoPeMUKp/ccrLzkkvChvFgUuKqYD/JTyVzvwNv3CB4OV7TuKvl3QnpBttrTiz2sgjkI3JhoYOylDF6SV23pw5KsGiR05/Zd6pFoZbuSKCN4ZuXM8vQn1ktSQ/x70IupO0ZzQGxZEoyhLDd/CIbo2F7Q7/WOuVJDp1gWxpdKyiiBu07EOu0PfzVtOu31ZPtidFksfDtnQK1xHL78iIUPp9/kO41TaW1ADf9vhIIE8qmabFNpEt2LEwlp0UsUTMGi/5hl/6g7ORdkUh4uSo6uLnbav6ppKEKYN5ix3yP6Yrl8yxAuk3KRQCUm2U9OigyLHs4Ej0T6lWgvAyl6TUtY7WKdoGqaKhBg9ayIcj6xKxDze819QYmGEKLEpbdxKBgIjpP0/BLeviDfe+n1ujji1nyO7bMb38GpnNNGTMkK/9fbZh7E5R0AUzzcpY55JJErEOPujzVlbstNzDEBA5KRe0zv3jCNV8zYMeRXmPDrGDPKPTt1+I+vwgI/OKZIALpDbxNeIp6ODzgn8kyhchevymx5wKcH2iW+l9Ll+CSXvqntobF2oW5EwzQPG5pkeFVGtrbmu2F4866TU2QNa+AIHMQo2Fmr2K0WG2EoAANTMOMUyFDXq9L9bMYPwLci/HesI=


Okay, I found the underlying problem. We routinely mount /tmp with the noexec option, so that's what's causing the failure. Grouper probably shouldn't be trying to exec stuff from /tmp, though. That goes against the CIS security benchmark.

  -paul

-- 
Paul Engle
Office of Information Technology
713-348-4702


On Fri, May 25, 2018 at 10:55 AM Paul Engle <> wrote:

My standalone dev box is RHEL7.4, using Oracle java 1.8.0_151. When I patched the grouper api yesterday, I started getting errors when trying to run an interactive gsh. Thinking it was just a crufty dev environment, I tried a fresh install and am still getting the same error. So I redid the fresh install up to patch 82 (where the dev install had been prior to yesterday), and gsh on the fresh install works fine. After applying patch 83 it starts to throw the error again. Below is the stack trace of what I'm getting. I'm not sure if it's a RedHat thing or an oracle java thing, but whatever it is doesn't seem to happen in the tier container version (built using CentOS7 & openjdk zulu).

  -paul

Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, /tmp/libjansi-64-8599569245033140568.so: /tmp/libjansi-64-8599569245033140568.so: failed to map segment from shared object: Operation not permitted]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)
at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
at org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.codehaus.groovy.runtime.callsite.CallSiteArray$1.run(CallSiteArray.java:68)
at org.codehaus.groovy.runtime.callsite.CallSiteArray$1.run(CallSiteArray.java:65)
at java.security.AccessController.doPrivileged(Native Method)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallStaticSite(CallSiteArray.java:65)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:162)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.codehaus.groovy.tools.shell.Main.installAnsi(Main.groovy:257)
at org.codehaus.groovy.tools.shell.Main.setTerminalType(Main.groovy:243)
at org.codehaus.groovy.tools.shell.Main.main(Main.groovy:124)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.grouperShellHelper(GrouperShell.java:288)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:167)
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)



-- 
Paul Engle
Office of Information Technology
713-348-4702



Archive powered by MHonArc 2.6.19.

Top of Page