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

0 votes

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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

239 views 0 11
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot