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

Trying to run Crowd as a service, results in Error 404?

I am trying to get Crowd to run as a non-privileged user on Linux (user: atlcrowd) but it doesn't appear to be working. I've been able to enable SSL on my Crowd environment by adding a Connector 8443 to the server.xml section under Apache Tomcat. The atlcrowd user has full owner and group permissions (owner and group) of /opt/atlassian/crowd (where the binaries are installed) and /var/atlassian/crowd (where the Crowd home directory is located). But if I attempt to run /opt/atlassian/crowd/start_crowd.sh as the atlcrowd user, I can get the initial screen at https://crowd.<mydomain.com> but if I try to get to the console screen (/crowd/console) I get an Error 404 message.

However, if I stop and start the Crowd service as root, everything works fine. Is there another directory that the atlcrowd user needs to have permissions on in order to fully function? (Error attached)
OS: CentOS 7.4
Crowd Version: 3.1.2

2 answers

1 accepted

0 votes
Answer accepted
edwin Community Leader Feb 10, 2018

Hi,

Make sure all the files under those directories are owned by atlcrowd

chown -R atlcrowd:atlcrowd <home/app dirs>

There is also a Crowd service script you can use

https://confluence.atlassian.com/crowd/setting-crowd-to-run-automatically-and-use-an-unprivileged-system-user-on-unix-211649189.html?_ga=2.218837721.1391339591.1517455096-1812859764.1517455096

Marcin Kempa Atlassian Team Feb 14, 2018

Indeed it turned out to be a permission issue.

For the record, Crowd needs to have permissions to application (Crowd install), home and share home directories.

0 votes
Marcin Kempa Atlassian Team Feb 10, 2018

Hi @OneTech IT,

 

I assume that you've seen Crowd's documentation about running Crowd as unprivileged system user.

I believe that directories you've mentioned are all that Crowd needs to have access to, but in order to resolve your problem we will need to check the log files both from Crowd and Tomcat. We can create a support issue for you if you do not want to share those logs publicly here.

 

 

Best regards,

Marcin Kempa

I submitted a ticket last night but have received no notifications that it has been received by a support technician,.

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...

306 views 9 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