Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] RE: [JIRA] (GRP-1018) 2.2 Installer fails on Ubuntu 14.04 trying to execute sh -version

Subject: Grouper Developers Forum

List archive

[grouper-dev] RE: [JIRA] (GRP-1018) 2.2 Installer fails on Ubuntu 14.04 trying to execute sh -version


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "" <>
  • Cc: Brian Koehmstedt <>
  • Subject: [grouper-dev] RE: [JIRA] (GRP-1018) 2.2 Installer fails on Ubuntu 14.04 trying to execute sh -version
  • Date: Tue, 23 Sep 2014 13:47:37 +0000
  • Accept-language: en-US

This is fixed in 2.2.1

Also, I took out the dependency on SVN for sample data from the installer:

https://bugs.internet2.edu/jira/browse/GRP-1044

Thanks,
Chris

-----Original Message-----
From: Brian Koehmstedt (JIRA)
[mailto:]

Sent: Monday, August 04, 2014 1:13 PM
To: Chris Hyzer
Subject: [JIRA] (GRP-1018) 2.2 Installer fails on Ubuntu 14.04 trying to
execute sh -version

Brian Koehmstedt created GRP-1018:
-------------------------------------

Summary: 2.2 Installer fails on Ubuntu 14.04 trying to execute
sh -version
Key: GRP-1018
URL: https://bugs.internet2.edu/jira/browse/GRP-1018
Project: Grouper
Issue Type: Bug
Components: grouperInstaller
Affects Versions: 2.2.0
Environment: Ubuntu 14.04 x64

java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

% ls -la /bin/sh
lrwxrwxrwx 1 root root 4 Feb 19 04:13 /bin/sh -> dash


Reporter: Brian Koehmstedt
Assignee: Chris Hyzer


Doing a standard clean install with installer on Ubuntu 14.04.
Gets to:
What ports do you want tomcat to run on (HTTP, JK, shutdown): [8080, 8009,
8005]:
Tomcat is supposed to be listening on port: 8080, port not listening,
assuming tomcat is not running...
Should we stop tomcat anyway? (t|f)? [f]

Then this happens:

Aug 04, 2014 9:59:39 AM
edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils
execCommand
SEVERE: Process exit status=2: out: , err: sh: 0: Illegal option -r
, on command: sh -version
Aug 04, 2014 9:59:39 AM
edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils
execCommand
SEVERE: Process exit status=2: out: , err: /bin/sh: 0: Illegal option -r
, on command: /bin/sh -version

/bin/sh is a symlink to /bin/dash.

/bin/dash does not support sh -version:

% /bin/sh -version
/bin/sh: 0: Illegal option -r

I can see in the rest of the output that Grouper is trying a whole bunch of
things, such as:
/sbin/sh -version
/usr/local/bin/sh -version
/usr/bin/sh -version
/usr/sbin/sh -version
/usr/local/sbin/sh -version

All of that fails on Ubuntu.

When it gets to:
Couldn't find the command 'sh'. Enter the path of 'sh' (e.g. /bin/sh):

I enter in /bin/bash. That seems to work.

So my recommendation is to add /bin/bash to the list of shells it tries.





--
This message was sent by Atlassian JIRA
(v6.2#6252)


  • [grouper-dev] RE: [JIRA] (GRP-1018) 2.2 Installer fails on Ubuntu 14.04 trying to execute sh -version, Chris Hyzer, 09/23/2014

Archive powered by MHonArc 2.6.16.

Top of Page