if we open crowd url in the browser it is showing tomcat 404 error the resource is not available
Asked by ramani_chandran:

When i try to open the crowd url it showing http status 404..the requested resource is not available.But the process is up and running and the ip is reachable while pinging over telnet.


Answers:
author: AnnWorley
body: It sounds like the Tomcat web server is starting but the Crowd application is not. Please check for errors in the logs: \<crowd-home\>/logs/atlassian-crowd.log and \<crowd-install\>/apache-tomcat/logs/\*.

I look forward to hearing what you find.

comments: author: ramani_chandran
body: hi Ann..Thanks for the concern.I have gone through the logs but could not find the exact problem.If you don't mind i have saved my logs in the drive,could you please have a look at it and sort out the issue.Please find the link below

<https://drive.google.com/open?id=1pmYOtYF6ujlICIuIVccyknPWZS-1GSD2>  
<https://drive.google.com/open?id=1LtQfBII7cTnBpLCA1G_kWOxYdzzh_xkq>


author: AnnWorley
body: Thanks for the logs, they help a lot.

The application log, **atlassian-crowd.log**, has not been written to since 5/31 when Crowd was shut down:

```
2018-05-31 15:47:01,813 localhost-startStop-2 INFO [ContainerBase.[Catalina].[localhost].[/crowd]] org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called
2018-05-31 15:47:01,815 localhost-startStop-2 INFO [ContainerBase.[Catalina].[localhost].[/crowd]] Closing Spring root WebApplicationContext
2018-05-31 15:47:01,867 localhost-startStop-2 INFO [com.atlassian.crowd.startup] Stopping Crowd
```

I see several attempts to start Crowd in the Tomcat log, **catalina.out**, but there seems to be a port conflict:

```
Jun 08, 2018 6:05:02 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 47204 ms
Jun 08, 2018 6:05:02 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[localhost:8020]: 
java.net.BindException: Address already in use
```

This is consistent with your finding that there is something listening on the Crowd port. It could be that Crowd never shut down properly and is still holding onto the port, preventing a proper restart.

* My recommendation is that you kill the process on the Crowd port manually at the command line, then start Crowd again.

Here is an article on how to identify the process ID on the port and kill the process: [Tomcat Error -- java.net.BindException: Address already in use](https://dotnetvibes.com/2018/04/09/tomcat-error-java-net-bindexception-address-already-in-use/)

Please note that version 2.8.4 of Crowd is at [end of life](https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html) status:

```
2018-05-03 22:25:08,818 localhost-startStop-1 INFO [com.atlassian.crowd.startup] Starting Crowd Server, Version: 2.8.4 (Build:#649 - 2016-02-10)
```

I hope you have a chance to upgrade soon.

Thanks,

Ann


author: ramani_chandran
body: Thank you so much for your reply...it is a great help.

I have gone through the above link which you have provided for identifying the process ID and killed that.Post Restart,when i load the application

it is showing "The Site can't be reached.The connection was reset''.But other applications are loading fine.


author: ramani_chandran
body: Please find the link to go through the installation log

<https://drive.google.com/open?id=18yCgbi4RSH6Pg5nX5lYsOl_zZHwXCrlL>

the application log still shows the old date.

2018-05-31 15:47:01,815 localhost-startStop-2 INFO \[ContainerBase.\[Catalina\].\[localhost\].\[/crowd\]\] Closing Spring root WebApplicationContext  
2018-05-31 15:47:01,867 localhost-startStop-2 INFO \[com.atlassian.crowd.startup\] Stopping Crowd


Tags: server