Install script failing

Christopher Bland chris at fdu.edu
Tue May 10 20:26:40 UTC 2022


Hi All,

I am trying to do a fresh install of IDP v4.2.1 on a RHEL 8 server with Java 11.  I followed the instructions but seemed to have missed something.  When I first run install.sh it complains that the doc directory is missing although it’s there when the install starts

# ls -al doc
total 28
drwxr-xr-x.  2 jetty jetty  171 May 10 16:17 .
drwxr-xr-x. 13 jetty jetty  176 Apr 18 09:43 ..
-rw-r--r--.  1 jetty jetty 1118 Apr 18 09:43 BC-LICENSE.txt
-rw-r--r--.  1 jetty jetty 2224 Apr 18 09:43 CREDITS.txt
-rw-r--r--.  1 jetty jetty 1399 Apr 18 09:43 DUO-LICENSE.txt
-rw-r--r--.  1 jetty jetty 1084 Apr 18 09:43 JQUERY-LICENSE.txt
-rw-r--r--.  1 jetty jetty  900 Apr 18 09:43 README.txt
-rw-r--r--.  1 jetty jetty  220 Apr 18 09:43 RELEASE-NOTES.txt
-rw-r--r--.  1 jetty jetty 1104 Apr 18 09:43 SPYMEMCACHED-LICENSE.txt

# cd bin

# ./install.sh
Buildfile: /opt/shibboleth-identity-provider-4.2.1/bin/build.xml

install:
Source (Distribution) Directory (press <enter> to accept default): [/opt/shibboleth-identity-provider-4.2.1] ?

Installation Directory: [/opt/shibboleth-idp] ?

INFO  - Including auto-located properties in /opt/shibboleth-idp/conf/c14n/subject-c14n.properties
INFO  - Including auto-located properties in /opt/shibboleth-idp/conf/admin/admin.properties
INFO  - Including auto-located properties in /opt/shibboleth-idp/conf/authn/authn.properties
INFO  - Including auto-located properties in /opt/shibboleth-idp/conf/ldap.properties
INFO  - Including auto-located properties in /opt/shibboleth-idp/conf/saml-nameid.properties
INFO  - Including auto-located properties in /opt/shibboleth-idp/conf/services.properties
WARN  - Unable to find property resource '/opt/shibboleth-idp/credentials/secrets.properties' (check idp.additionalProperties?)

BUILD FAILED
/opt/shibboleth-identity-provider-4.2.1/bin/build.xml:20: /opt/shibboleth-identity-provider-4.2.1/doc does not exist.

Total time: 4 seconds

So I recreate the directory

# mkdir ../doc

# ./install.sh
Error: Could not find or load main class org.apache.tools.ant.Main
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.Main

Has anyone seen this before?

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20220510/4fe18e3f/attachment.htm>


More information about the users mailing list