http://localhost:8095/crowd/console/ 404 error
Asked by Bryan Spaulding:

2017-09-21 10:45:17,303 localhost-startStop-1 INFO \[crowd.service.client.ClientResourceLocator\] The file cannot be read or does not exist: ${crowd.openid.home}/crowd.properties

2017-09-21 10:45:17,308 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Loading property: 'application.name' : 'crowd-openid-server'

2017-09-21 10:45:17,308 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Loading property: 'application.login.url' : 'http://localhost:8095/openidserver'

2017-09-21 10:45:17,308 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Loading property: 'session.tokenkey' : 'session.tokenkey'

2017-09-21 10:45:17,308 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Loading property: 'session.lastvalidation' : 'session.lastvalidation'

2017-09-21 10:45:17,308 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Loading property: 'session.validationinterval' : '0'

2017-09-21 10:45:17,308 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Failed to find value for property: cookie.domain

2017-09-21 10:45:17,308 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Failed to find value for property: authentication.method

2017-09-21 10:45:17,309 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Failed to find value for property: asap.issuer

2017-09-21 10:45:17,309 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Failed to find value for property: asap.key.id

2017-09-21 10:45:17,309 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Failed to find value for property: asap.subject.required

2017-09-21 10:45:17,309 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Loading property: 'application.login.url.template' : 'http://localhost:8095/openidserver?returnToUrl=${RETURN_TO_URL}'

2017-09-21 10:45:17,309 localhost-startStop-1 INFO \[openid.server.filter.OpenIDServerClientPropertiesImpl\] Loading property: 'application.base.url' : 'http://localhost:8095/openidserver'

2017-09-21 10:45:17,430 localhost-startStop-1 INFO \[crowd.service.client.ClientResourceLocator\] The file cannot be read or does not exist: ${crowd.openid.home}/crowdid.approval-whitelist

2017-09-21 10:45:17,432 localhost-startStop-1 INFO \[server.manager.site.ApprovalWhitelist\] Using file as a site approval whitelist: /opt/atlassian-crowd-2.10.1/crowd-openidserver-webapp/WEB-INF/classes/crowdid.approval-whitelist

2017-09-21 10:45:17,483 localhost-startStop-1 WARN \[org.openid4java.server.RealmVerifier\] RP discovery / realm validation disabled;

2017-09-21 10:45:18,562 openid-spray-akka.actor.default-dispatcher-3 INFO \[spray.server.servlet.Boot\] v2 configuration:


Answers:
author: AnnWorley
body: Hi Bryan,

The first error message you posted indicates the crowd.properties file can not be read by Crowd:
> 2017-09-21 10:45:17,303 localhost-startStop-1 INFO \[crowd.service.client.ClientResourceLocator\] The file cannot be read or does not exist: ${crowd.openid.home}/crowd.properties

Please check the file system permissions on the [Crowd Home directory](https://confluence.atlassian.com/crowd0211/specifying-your-crowd-home-directory-894648771.html) to make sure the operating system user running Crowd has read and write access to the directory.

It looks like your colleague also opened a question for this issue: [Crowd does not boot up.](https://community.atlassian.com/t5/Crowd-questions/Crowd-does-not-boot-up/qaq-p/643965) I wanted to assure you both that removing users from Active Directory should not cause Crowd to fail on startup.

If you verify the file system permissions and still cannot start Crowd, please let me know what version you are running. (Crowd 3 includes major changes, so I need to look at the right version of test instance for anything I check locally.)

Thanks,

Ann

comments: author: Bryan Spaulding
body: Verified Crowd has read write permission on the crowd home directory.

Version is 2.10.1


author: AnnWorley
body: Thanks Bryan, I understand you are on the phone with our support team now. I will circle back to this thread when the issue is resolved, in case it helps someone else.


author: AnnWorley
body: Based on your support case, it looks like you are all set now. I won't go into the licensing issue you faced, as it is not relevant to the 404 error you reported in this thread. Here is what your support engineer put in the ticket:

* After restarting Crowd through a server command file, you received a 404 error when trying to log into the Crowd admin console.
* After reviewing your logs, we could see that Crowd hadn't actually been restarted.
* After you restarted Crowd using it's stop and start command files, you could access the Crowd admin console.

For the benefit of anyone seeing this later, the stop_crowd and start_crowd .sh and .bat files are in the root of the Crowd installation directory.