Details
Description
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.