Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Crowd is not starting

crowd version is 2.9.1. crowd was accidentally started as root, so stopped crowd logging in as root, then tried to start crowd as crowdadm and it is not starting now.

1 answer

1 accepted

0 votes
Answer accepted
AnnWorley Atlassian Team Jan 09, 2018

Hi Dana,

Please check the logs from:

  • <crowd-home>/logs
  • <crowd-install>/apache-tomcat/logs

Startup errors are usually pretty self explanatory, hopefully you can find a helpful entry. If you see a message indicating a port is already in use, make sure Crowd has shut down completely before restarting.

Since you started Crowd as root, please double check that the crowdadm user still has full permissions on the Crowd Home and Crowd Install folders.

Hi Ann,

Thanks for the prompt reply. The logs are not getting updated. I have checked the permissions and owners, it is good.  I changed the owner to crowdadm for files that were owned by root.

AnnWorley Atlassian Team Jan 09, 2018

Are you starting Crowd using the start_crowd script from the Install folder? If not, please try that method and see if the logs do update. The logs start with the Tomcat log and then when the web server is up, the application (Crowd) starts and that's when the atlassian-crowd.log starts updating in the home folder.

When Crowd fails to start, is there an error in the terminal window?

Yes start_crowd.sh script is being for the starting crowd.  Tomcat log or the atlassian-crowd log is getting updated. In the terminal window the message says Tomcat started.

output from the terminal window:

bash-4.1$ ./start_crowd.sh
Using CATALINA_BASE:   /apps/atlassian/crowd/2.9.1/apache-tomcat
Using CATALINA_HOME:   /apps/atlassian/crowd/2.9.1/apache-tomcat
Using CATALINA_TMPDIR: /apps/atlassian/crowd/2.9.1/apache-tomcat/temp
Using JRE_HOME:        /apps/atlassian/jira/7.5.1/
Using CLASSPATH:       /apps/atlassian/crowd/2.9.1/apache-tomcat/bin/bootstrap.jar:/apps/atlassian/crowd/2.9.1/apache-tomcat/bin/tomcat-juli.jar
Using CATALINA_PID:    /apps/atlassian/crowd/2.9.1/apache-tomcat/work/catalina.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.

None of the log files are getting updated.

Like Hosam Almutwia likes this
AnnWorley Atlassian Team Jan 09, 2018

I think the issue may be:

Using JRE_HOME:        /apps/atlassian/jira/7.5.1/

According to the supported platforms for Crowd 2.9 the JAVA_HOME variable has to point to a full JDK, we shouldn't be using JRE_HOME:

It is not enough to have the JRE only. Please ensure that you have the full JDK. You can download the Java SE Development Kit (JDK) from the Oracle website.
Once the JDK is installed, you will need to set the JAVA_HOME environment variable, pointing to the root directory of the JDK. Some JDK installers set this automatically (check by typing 'echo %JAVA_HOME%' in a DOS prompt, or 'echo $JAVA_HOME' in a shell). If it is not set, please see Setting JAVA_HOME.

Like Hosam Almutwia likes this

Thanks Ann. The issue is resolved after setting JAVA_HOME.

AnnWorley Atlassian Team Jan 09, 2018

That's a great relief, Dana, thanks for letting me know!

Cheers,

Ann

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

181 views 6 7
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