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

Your Points Tracker
  • 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
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?
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

can't start Crowd from system user - have to use root user

I can't start Crowd from a system user. I have to use the root user.

I've followed the instructions here:

but it doesn't actually start when I type ./ as a system user.

If I'm not logged in as root, when I type ./, it LOOKS like it starts:


Using CATALINA_BASE: /home/myacct/apps/crowd-install-2.12/apache-tomcat
Using CATALINA_HOME: /home/myacct/apps/crowd-install-2.12/apache-tomcat
Using CATALINA_TMPDIR: /home/myacct/apps/crowd-install-2.12/apache-tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-
Using CLASSPATH: /home/myacct/apps/crowd-install-2.12/apache-tomcat/bin/bootstrap.jar:/home/myacct/apps/crowd-install-2.12/apache-tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /home/myacct/apps/crowd-install-2.12/apache-tomcat/work/
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.

... but if I then type

ps faux | grep java

there's nothing listed, and Crowd doesn't respond when I try to load it in the browser.


If I run ./ as root, then run ps faux | grep java , I DO see it in the output, and I can access it from the browser.


What can I check or try to get Crowd to run from a user that's not root?


((By the way, I accidentally hit Tab while typing this and ended up on the previous page, having lost everything I'd typed. Can you add a "sure you want to leave this page?" prompt so people don't lose their questions?)

1 answer

0 votes

The usual culprit of this is file ownership.  Once you've accidentally started it as root, some files become owned by root, and that stops the dedicated user from being able to write to them.

Check the file ownership across the whole installation and home directories.

HI Nic,

Thanks so much for the quick reply.

However, I confirmed that nothing is owned by root:

ls -lR crowd-install-2.12/* | grep root
ls -lR crowd-home/* | grep root

- both return no results.

But when I tried again, Crowd acts like it starts when run as non-root, but doesn't actually appear in the ps , and I have to start it as root.

Can you suggest anything else to check?


They could be owned by another user than root.  Sorry, I should have been more clear about that.

After checking that, move on to the log files - what do catalina.out and the confluence log say happens when it fails to start?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Jira issue check and more advanced commit verifications for Bitbucket DC

Pre-receive hooks that verify the Git commit message, the modified files, and implement similar code change controls used to be requirements of large enterprises working in regulated industries only....

0 views 0 0
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