Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,230
Community Members
 
Community Events
165
Community Groups

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

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.
0 votes
AnnWorley 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.

Solution:

1. Install Oracle JDK (not Openjdk)

2. run ./build.sh

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

260 views 2 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you