<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi All,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Looks like when I run the install script in addition to deleting the doc directory it is also deleting the bin/lib directory which contains the ant jar files hence the second error.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Does anyone have any idea what in the install script would cause directories to be deleted?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-Chris<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">users <users-bounces@shibboleth.net> on behalf of Christopher Bland via users <users@shibboleth.net><br>
<b>Date: </b>Tuesday, May 10, 2022 at 4:26 PM<br>
<b>To: </b>users@shibboleth.net <users@shibboleth.net><br>
<b>Cc: </b>Christopher Bland <chris@fdu.edu><br>
<b>Subject: </b>[External]Install script failing<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi All,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># ls -al doc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">total 28<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">drwxr-xr-x. 2 jetty jetty 171 May 10 16:17 .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">drwxr-xr-x. 13 jetty jetty 176 Apr 18 09:43 ..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-rw-r--r--. 1 jetty jetty 1118 Apr 18 09:43 BC-LICENSE.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-rw-r--r--. 1 jetty jetty 2224 Apr 18 09:43 CREDITS.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-rw-r--r--. 1 jetty jetty 1399 Apr 18 09:43 DUO-LICENSE.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-rw-r--r--. 1 jetty jetty 1084 Apr 18 09:43 JQUERY-LICENSE.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-rw-r--r--. 1 jetty jetty 900 Apr 18 09:43 README.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-rw-r--r--. 1 jetty jetty 220 Apr 18 09:43 RELEASE-NOTES.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-rw-r--r--. 1 jetty jetty 1104 Apr 18 09:43 SPYMEMCACHED-LICENSE.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># cd bin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># ./install.sh <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Buildfile: /opt/shibboleth-identity-provider-4.2.1/bin/build.xml<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">install:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Source (Distribution) Directory (press <enter> to accept default): [/opt/shibboleth-identity-provider-4.2.1] ? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Installation Directory: [/opt/shibboleth-idp] ? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">INFO - Including auto-located properties in /opt/shibboleth-idp/conf/c14n/subject-c14n.properties<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">INFO - Including auto-located properties in /opt/shibboleth-idp/conf/admin/admin.properties<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">INFO - Including auto-located properties in /opt/shibboleth-idp/conf/authn/authn.properties<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">INFO - Including auto-located properties in /opt/shibboleth-idp/conf/ldap.properties<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">INFO - Including auto-located properties in /opt/shibboleth-idp/conf/saml-nameid.properties<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">INFO - Including auto-located properties in /opt/shibboleth-idp/conf/services.properties<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">WARN - Unable to find property resource '/opt/shibboleth-idp/credentials/secrets.properties' (check idp.additionalProperties?)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">BUILD FAILED<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">/opt/shibboleth-identity-provider-4.2.1/bin/build.xml:20: /opt/shibboleth-identity-provider-4.2.1/doc does not exist.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Total time: 4 seconds<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">So I recreate the directory<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># mkdir ../doc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># ./install.sh <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Error: Could not find or load main class org.apache.tools.ant.Main<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.Main<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Has anyone seen this before?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-Chris<o:p></o:p></span></p>
</div>
</body>
</html>