Resolved: Trying to install crowd, start_crowd.sh: 12: [: unexpected operator Edited

Hi,
I am trying to install Crowd, on Ubuntu 16.04 (64bit) and my MYSQL 5.7 (Uptodate).
I changed crowd-init.properties to existing crowd home folder (Not install path).
when I run ./start_crowd.sh i get:
(and Tomcat is not running)

Apparently to be bash issue!

If I run :~/atlassian-crowd-3.0.1# ./build.sh
Buildfile: build.xml

init:

assistant:
Changing Tomcat's connector port to 8095

BUILD FAILED
java.lang.IllegalAccessError: class com.oopsconsultancy.xmltask.jdk15.XPathAnalyser15 (in unnamed module @0x1188e820) cannot access class com.sun.org.apache.xpath.internal.XPathAPI (in module java.xml) because module java.xml does not export com.sun.org.apache.xpath.internal to unnamed module @0x1188e820

Please advise.

 

 

3 answers

Solution:

1. Install Oracle JDK (not Openjdk)

2. run ./build.sh

3. start it: /bin/bash start_crowd.sh

0 votes
Ann Worley Atlassian Team Oct 18, 2017

 

I recommend that you delete the contents of the Crowd home directory and then start over with the steps in Installing Crowd and CrowdID

OpenJDK 1.8 is a supported platform for Crowd: Supported Platforms

The Crowd startup script (start_crowd.sh) is located in the root of the Crowd install dir.

There is no error in the start_crowd.sh file.

  • Kill the running tomcat process.
  • The `sh` does not have extensive syntax. Use `bash` command to run your script and everything will be okay.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,340 views 21 17
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you