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,296,425
Community Members
 
Community Events
165
Community Groups

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

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
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

320 views 0 10
Join discussion

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